S390: Fix fp comparison not raising FE_INVALID.
[glibc.git] / ChangeLog
blob3c328b2af67f2598c9fad1157a693a710052ca53
1 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5 2016-09-22  John David Anglin  <dave.anglin@bell.net>
7         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8         abort-instr.h.
9         (EFAULT): Remove conditional define.
10         (ENOSYS): Likewise.
11         (atomic_compare_and_exchange_val_acq): Use instruction nullification
12         instead of conditional branch instructions.
14 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
16         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17         (totalordermag): New declaration.
18         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
19         New macro.
20         * math/Versions (totalordermag): New libm symbol at version
21         GLIBC_2.25.
22         (totalordermagf): Likewise.
23         (totalordermagl): Likewise.
24         * math/Makefile (libm-calls): Add s_totalordermagF.
25         * math/libm-test.inc (totalordermag_test_data): New array.
26         (totalordermag_test): New function.
27         (main): Call totalordermag_test.
28         * math/test-tgmath.c (NCALLS): Increase to 125.
29         (F(compile_test)): Call totalordermag.
30         (F(totalordermag)): New function.
31         * manual/arith.texi (FP Comparison Functions): Document
32         totalordermag, totalordermagf and totalordermagl.
33         * manual/libm-err-tab.pl: Update comment on interfaces without
34         ulps tabulated.
35         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
36         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
37         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
38         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
39         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
40         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
41         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
42         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
43         totalordermag.
44         (CFLAGS-nldbl-totalordermag.c): New variable.
45         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
46         (do_test): Also test totalordermagl.
47         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
48         Likewise.
49         * sysdeps/nacl/libm.abilist: Update.
50         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
63         Likewise.
64         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
65         Likewise.
66         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
67         Likewise.
68         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
69         Likewise.
70         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
74         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
75         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
76         Likewise.
77         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
78         Likewise.
79         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
80         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
83 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
85         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
86         boolean.
88 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
90         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
91         raising FE_INVALID with feraisexcept in case where part of
92         argument is infinite, subtract that part of argument from itself.
93         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
94         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
95         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
97 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
99         * math/libm-test.inc (totalorder_test_data): Add more tests.
101 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
103         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
104         Undefine weak_alias and add a comment why mips64 require
105         versioning.
107 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
109         [BZ #20647]
110         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
111         maximum CPUID level is less than 2.
113 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
115         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
116         (totalorder): New declaration.
117         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
118         New macro.
119         * math/Versions (totalorder): New libm symbol at version
120         GLIBC_2.25.
121         (totalorderf): Likewise.
122         (totalorderl): Likewise.
123         * math/Makefile (libm-calls): Add s_totalorderF.
124         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
125         string.
126         * math/libm-test.inc (PAYLOAD_DIG): New macro.
127         (qnan_value_pl): Likewise.
128         (snan_value_pl): Likewise.
129         (qnan_value): Define using qnan_value_pl.
130         (snan_value): Define using snan_value_pl.
131         (struct test_ff_i_data): Add comment about which tests use this
132         structure.
133         (RUN_TEST_ff_b): New macro.
134         (RUN_TEST_LOOP_ff_b): Likewise.
135         (totalorder_test_data): New array.
136         (totalorder_test): New function.
137         (main): Call totalorder_test.
138         * math/test-tgmath.c (NCALLS): Increase to 122.
139         (F(compile_test)): Call totalorder.
140         (F(totalorder)): New function.
141         * manual/arith.texi (FP Comparison Functions): Document
142         totalorder, totalorderf and totalorderl.
143         * manual/libm-err-tab.pl: Update comment on interfaces without
144         ulps tabulated.
145         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
146         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
147         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
148         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
149         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
150         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
151         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
152         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
153         totalorder.
154         (CFLAGS-nldbl-totalorder.c): New variable.
155         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
156         file.
157         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
158         Add test-totalorderl-ldbl-128ibm.
159         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
160         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
161         test-totalorderl-ldbl-96.
162         * sysdeps/nacl/libm.abilist: Update.
163         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
164         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
165         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
166         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
168         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
169         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
170         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
171         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
172         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
173         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
174         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
176         Likewise.
177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
178         Likewise.
179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
180         Likewise.
181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
182         Likewise.
183         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
184         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
185         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
186         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
187         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
189         Likewise.
190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
191         Likewise.
192         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
193         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
194         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
196 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
198         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
199         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
200         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
201         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
202         remove ENOSYS implementation.
203         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
204         Consolidate all Linux implementations.
206 2016-10-11  Florian Weimer  <fweimer@redhat.com>
208         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
209         * resolv/herror.c (herror): Cast away const-ness.
210         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
211         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
213 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
215         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
216         instead of M_NAN + M_NAN.
217         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
219 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
221         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
222         unused variable 'p'.
224 2016-10-09  Alan Modra  <amodra@gmail.com>
225             Andreas Schwab  <schwab@linux-m68k.org>
227         [BZ #20554]
228         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
229         [PIC && !SHARED]: Set up PIC register for PLT call.
231 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
233         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
234         conditional on value of [__FLT_EVAL_METHOD__].
235         * math/test-iseqsig-excess-precision.c: New file.
236         * math/Makefile (tests): Add test-iseqsig-excess-precision.
238 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
240         * math/s_iseqsig_template.c: Include math-private.h.
242         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
243         * posix/tst-posix_fadvise.c: New file.
244         * posix/tst-posix_fadvise64.c: Likewise.
245         * posix/tst-posix_fadvise-common.c: Likewise.
246         * sysdeps/unix/sysv/linux/arm/kernel-features.h
247         (__ASSUME_FADVISE64_64_6ARG): Define.
248         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
249         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
250         * sysdeps/unix/sysv/linux/tile/kernel-features.h
251         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
252         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
253         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
254         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
255         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
256         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
257         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
258         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
259         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
262         Likewise.
263         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
264         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
265         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
266         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
267         Alias to __posix_fadvise64_l32.
268         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
269         Add compat definition to posix_fadvise64.
270         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
271         Add versioned definition to posix_fadvise64.
272         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
273         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
274         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
275         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
276         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
278         * io/Makefile (tests): Add tst-posix_fallocate and
279         tst-posix_fallocate64.
280         * io/tst-posix_fallocate-common.c: New file.
281         * io/tst-posix_fallocate.c: Likewise.
282         * io/tst-posix_fallocate64.c: Likewise.
283         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
284         file.
285         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
286         Likewise.
287         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
288         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
289         Likewise.
290         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
291         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
292         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
293         SYSCALL_LL to pass both offset and len arguments.
294         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
295         Likewise.
296         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
297         __libc_pwrite64 alias used by posix_fallocate64.
299         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
300         tst-fallocate64.
301         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
302         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
303         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
304         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
305         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
306         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
307         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
308         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
309         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
310         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
311         macro on offset argument.
312         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
313         SYSCALL_LL64 on offset argument.
315         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
316         tst-fallocate64.
317         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
318         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
319         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
320         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
321         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
322         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
323         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
324         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
325         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
326         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
327         macro on offset argument.
328         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
329         SYSCALL_LL64 on offset argument.
330         * test-skeleton.c (FAIL_RET): Add macro.
331         (FAIL_EXIT): Likewise.
332         (FAIL_EXIT1): Likewise.
333         (_FAIL): Likewise.
335 2016-10-07  Florian Weimer  <fweimer@redhat.com>
337         [BZ #20629]
338         resolv: Remove RES_USEBSTRING and its implementation.
339         * resolv/resolv.h (RES_USEBSTRING): Remove.
340         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
341         (digitvalue, encode_bitstring, decode_bitstring): Remove.
342         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
343         (labellen): Remove extended label types support.
344         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
345         * resolv/res_init.c (res_setoptions): Likewise.
346         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
348 2016-10-07  Florian Weimer  <fweimer@redhat.com>
350         resolv: Remove RES_NOIP6DOTINT and its implementation.
351         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
352         (RES_NOIP6DOTINT): Remove.
353         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
354         handling.
355         * resolv/res_debug.c (p_option): Likewise.
356         * resolv/res_init.c (res_setoptions): Likewise.
357         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
359 2016-10-07  Florian Weimer  <fweimer@redhat.com>
361         resolv: Deprecate unimplemented flags.
362         * misc/sys/cdefs.h (__glibc_macro_warning1)
363         (__glibc_macro_warning): Define.
364         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
365         (RES_KEEPTSIG): Mark as deprecated.
366         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
367         RES_NOCHECKNAME, RES_KEEPTSIG.
368         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
370 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
372         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
373         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
374         Use strong_alias to create symbols for glibc verison 2.19.
376 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
378         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
380 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
382         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
384 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
386         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
388 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
390         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
391         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
392         in header for using it as type for ifunc function because __GI_* symbols
393         for ppc32 do not target the ifunc symbols.
394         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
396 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
398         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
399         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
400         libc_ifunc_hidden_def.
401         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
402         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
403         Redirect ifunced function in header for using it as type of ifunc'ed
404         function. Redefine libc_hidden_def to use fallback non ifunc'ed
405         function for __GI_* symbol.
406         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
407         * include/libc-symbols.h
408         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
410 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
412         [BZ #20478]
413         * sysdeps/s390/multiarch/ifunc-resolve.h
414         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
415         to create ifunc symbols.
416         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
417         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
418         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
419         for using it as type for ifunc function.
420         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
421         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
422         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
423         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
424         * sysdeps/s390/multiarch/strcat.c: Likewise.
425         * sysdeps/s390/multiarch/strchr.c: Likewise.
426         * sysdeps/s390/multiarch/strcmp.c: Likewise.
427         * sysdeps/s390/multiarch/strcpy.c: Likewise.
428         * sysdeps/s390/multiarch/strcspn.c: Likewise.
429         * sysdeps/s390/multiarch/strlen.c: Likewise.
430         * sysdeps/s390/multiarch/strncmp.c: Likewise.
431         * sysdeps/s390/multiarch/strncpy.c: Likewise.
432         * sysdeps/s390/multiarch/strnlen.c: Likewise.
433         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
434         * sysdeps/s390/multiarch/strrchr.c: Likewise.
435         * sysdeps/s390/multiarch/strspn.c: Likewise.
436         * sysdeps/s390/multiarch/wcschr.c: Likewise.
437         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
438         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
439         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
440         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
441         * sysdeps/s390/multiarch/wmemset.c: Likewise.
442         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
443         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
444         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
445         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
446         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
447         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
449 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
451         * include/libc-symbols.h (__ifunc_resolver):
452         New macro is used by __ifunc* macros.
453         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
454         depending on HAVE_GCC_IFUNC.
455         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
456         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
458         Redirect ifunced function in header for using as type for ifunc function.
459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
465         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
466         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
467         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
468         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
469         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
470         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
471         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
472         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
478         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
479         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
480         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
481         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
482         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
483         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
484         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
485         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
486         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
487         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
488         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
489         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
490         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
491         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
493         Add libc_hidden_def() and use libc_ifunc_hidden() macro
494         instead of libc_ifunc() macro.
495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
496         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
498 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
500         * config.h.in (HAVE_GCC_IFUNC): New undef.
501         * configure.ac: Add check if gcc supports attribute ifunc feature.
502         * configure: Regenerated.
503         * manual/install.texi: Add recommendation for gcc with
504         indirect-function support.
505         * INSTALL: Regenerated.
507 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
509         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
510         macro.
511         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
512         (__iseqsig): New declaration.
513         * math/s_iseqsig_template.c: New file.
514         * math/Versions (__iseqsigf): New libm symbol at version
515         GLIBC_2.25.
516         (__iseqsig): Likewise.
517         (__iseqsigl): Likewise.
518         * math/libm-test.inc (iseqsig_test_data): New array.
519         (iseqsig_test): New function.
520         (main): Call iseqsig_test.
521         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
522         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
523         * manual/libm-err-tab.pl: Update comment on interfaces without
524         ulps tabulated.
525         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
526         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
527         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
528         * sysdeps/nacl/libm.abilist: Update.
529         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
530         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
531         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
532         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
533         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
535         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
542         Likewise.
543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
544         Likewise.
545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
546         Likewise.
547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
548         Likewise.
549         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
550         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
551         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
552         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
553         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
555         Likewise.
556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
557         Likewise.
558         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
559         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
560         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
562 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
564         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
565         do_sincos_2, sloww, sloww1): Update comments.
567         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
568         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
570         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
571         K boolean and rename it.
572         (__sin): Adjust.
573         (__cos): Adjust.
575 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
576             Siddhesh Poyarekar  <siddhesh@sourceware.org>
578         * manual/nss.texi: Fix typos in the manual.
580 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
582         * manual/contrib.texi: Fix typos in the manual.
584         * manual/maint.texi: Fix typos in the manual.
586         * manual/install.texi: Fix typos in the manual.
587         * INSTALL: Regenerated.
589         * manual/lang.texi: Fix typos in the manual.
591         * manual/probes.texi: Fix typos in the manual.
593         * manual/threads.texi: Fix typos in the manual.
595         * manual/debug.texi: Fix typos in the manual.
597         * manual/crypt.texi: Fix typos in the manual.
599         * manual/conf.texi: Fix typos in the manual.
601         * manual/sysinfo.texi: Fix typos in the manual.
603         * manual/users.texi: Fix typos in the manual.
605         * manual/job.texi: Fix typos in the manual.
607         * manual/process.texi: Fix typos in the manual.
609         * manual/argp.texi: Fix typos in the manual.
610         * manual/getopt.texi: Likewise.
611         * manual/startup.texi: Likewise.
613         * manual/signal.texi: Fix typos in the manual.
615         * manual/setjmp.texi: Fix typos in the manual.
617         * manual/resource.texi: Fix typos in the manual.
619         * manual/time.texi: Fix typos in the manual.
621         * manual/arith.texi: Fix typos in the manual.
623         * manual/math.texi: Fix typos in the manual.
625         * manual/syslog.texi: Fix typos in the manual.
627         * manual/terminal.texi: Fix typos in the manual.
629         * manual/socket.texi: Fix typos in the manual.
631         * manual/filesys.texi: Fix typos in the manual.
633         * manual/llio.texi: Fix typos in the manual.
635         * manual/stdio.text: Fix typos in the manual.
637 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
639         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
640         instead of K1.
642         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
643         SHIFT_QUADRANT and make it bool.
644         (do_sincos_2): Likewise.
645         (sloww): Likewise.
646         (sloww1): Likewise.
647         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
648         (__cos): Likewise.
650 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
652         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
654 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
656         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
657         Define to __WORDSIZE, not conditional on [LONG_MAX ==
658         0x7fffffffL].
659         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
661 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
663         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
664         inline by __inline__.
665         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
666         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
667         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
668         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
669         sigset_t from signal.h.
670         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
671         which is already required.
673 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
675         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
677 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
679         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
680         (struct tcp_repair_window): New type.
682 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
684         * libio/tst-memstream3.c: Include string.h.
686 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
688         [BZ #18241]
689         [BZ #20181]
690         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
691         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
692         write position is at the end the buffer.
693         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
694         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
695         (_IO_str_seekoff): Set correct offset from negative displacement and
696         set EINVAL for invalid ones.
697         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
698         buffer length.
699         (_IO_wstr_switch_to_get_mode): New function.
700         (_IO_wstr_seekoff): Set correct offset from negative displacement and
701         set EINVAL for invalid ones.
702         * libio/tst-memstream3.c: New file.
703         * libio/tst-wmemstream3.c: Likewise.
704         * manual/examples/memstrm.c: Remove warning when priting size_t.
706 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
708         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
709         macro to use __builtin_fma.
710         * sysdeps/x86_64/fpu/dla.h: Remove file.
712         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
713         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
714         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
716 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
718         [BZ #20292]
719         * elf/Makefile (routines): Add dl-addr-obj.
720         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
721         tst-_dl_addr_inside_object.
722         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
723         [ifeq (yesyes,$(have-fpie)$(build-shared))]
724         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
725         [ifeq (yesyes,$(have-fpie)$(build-shared))]
726         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
727         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
728         * elf/dl-open.c: Likewise.
729         * elf/dl-addr-obj.c: New file.
730         * elf/tst-_dl_addr_inside_object.c: New file.
732 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
734         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
735         <bits/iscanonical.h>.
736         * bits/iscanonical.h: New file.
737         * math/s_iscanonicall.c: Likewise.
738         * math/Versions (__iscanonicall): New libm symbol at version
739         GLIBC_2.25.
740         * math/libm-test.inc (iscanonical_test_data): New array.
741         (iscanonical_test): New function.
742         (main): Call iscanonical_test.
743         * math/Makefile (headers): Add bits/iscanonical.h.
744         (type-ldouble-routines): Add s_iscanonicall.
745         * manual/arith.texi (Floating Point Classes): Document
746         iscanonical.
747         * manual/libm-err-tab.pl: Update comment on interfaces without
748         ulps tabulated.
749         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
750         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
751         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
752         Likewise.
753         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
754         test-iscanonical-ldbl-128ibm.
755         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
756         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
757         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
758         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
759         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
760         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
761         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
763         Likewise.
764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
765         Likewise.
766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
767         Likewise.
768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
769         Likewise.
770         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
773 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
775         * string/bits/string3.h: Remove C++ style comments.
777 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
779         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
780         instead of ternary condition.
781         (do_sincos_2): Likewise.
782         (__sin): Likewise.
783         (__cos): Likewise.
784         (slow): Likewise.
785         (sloww): Likewise.
786         (sloww1): Likewise.
787         (bsloww): Likewise.
788         (bsloww1): Likewise.
790         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
791         instead of ternary condition.
792         (do_sin_slow): Likewise.
793         (do_sincos_1): Likewise.
794         (do_sincos_2): Likewise.
795         (__cos): Likewise.
796         (sloww): Likewise.
797         (sloww1): Likewise.
798         (sloww2): Likewise.
799         (bsloww): Likewise.
800         (bsloww1): Likewise.
801         (bsloww2): Likewise.
803         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
804         check from here...
805         (slow2): ... and here...
806         (__sin): ... to here.
808 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
810         * math/math.h
811         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
812         Cast argument to its own type.
813         * math/test-iszero-excess-precision.c: New file.
814         * math/Makefile (tests): Add test-iszero-excess-precision.
815         (CFLAGS-test-iszero-excess-precision.c): New variable.
817 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
819         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
820         field, add err field.
821         (__spawni_child): Report error through err member instead of pipe.
822         (__spawnix): Likewise.
824 2016-09-28  Zack Weinberg  <zackw@panix.com>
826         * scripts/check-installed-headers.sh: Generalize treatment of
827         sys/elf.h to all target architectures.
829         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
830         deleted typedef ucontext_t.
832 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
834         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
835         (__INTERNAL_SYSCALL1): Likewise.
836         (__INTERNAL_SYSCALL2): Likewise.
837         (__INTERNAL_SYSCALL3): Likewise.
838         (__INTERNAL_SYSCALL4): Likewise.
839         (__INTERNAL_SYSCALL5): Likewise.
840         (__INTERNAL_SYSCALL6): Likewise.
841         (__INTERNAL_SYSCALL7): Likewise.
842         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
843         (__INTERNAL_SYSCALL_NARGS): Likewise.
844         (__INTERNAL_SYSCALL_DISP): Likewise.
845         (INTERNAL_SYSCALL_CALL): Likewise.
846         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
847         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
848         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
849         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
850         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
851         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
852         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
853         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
854         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
855         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
856         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
857         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
858         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
860 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
862         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
863         macro.
864         * math/libm-test.inc (iszero_test_data): New array.
865         (iszero_test): New function.
866         (main): Call iszero_test.
867         * manual/arith.texi (Floating Point Classes): Document iszero.
868         * manual/libm-err-tab.pl: Update comment on interfaces without
869         ulps tabulated.
871 2016-09-23  Zack Weinberg  <zackw@panix.com>
873         * scripts/check-installed-headers.sh: New script.
874         * Rules: In each directory that defines header files to be installed,
875         run check-installed-headers.sh on them as a special test.
876         * Makefile: Likewise for the headers installed at top level.
878         * include/aliases.h, include/alloca.h, include/argz.h
879         * include/arpa/nameser.h, include/arpa/nameser_compat.h
880         * include/elf.h, include/envz.h, include/err.h
881         * include/execinfo.h, include/fpu_control.h, include/getopt.h
882         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
883         * include/link.h, include/malloc.h, include/mcheck.h
884         * include/mntent.h, include/netinet/ether.h
885         * include/nss.h, include/obstack.h, include/printf.h
886         * include/pty.h, include/resolv.h, include/rpc/auth.h
887         * include/rpc/auth_des.h, include/rpc/auth_unix.h
888         * include/rpc/clnt.h, include/rpc/des_crypt.h
889         * include/rpc/key_prot.h, include/rpc/netdb.h
890         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
891         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
892         * include/rpc/rpc_msg.h, include/rpc/svc.h
893         * include/rpc/svc_auth.h, include/rpc/xdr.h
894         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
895         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
896         * include/rpcsvc/ypupd.h, include/shadow.h
897         * include/stdio_ext.h, include/sys/epoll.h
898         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
899         * include/sys/prctl.h, include/sys/profil.h
900         * include/sys/statfs.h, include/sys/sysctl.h
901         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
902         * sysdeps/arm/nacl/include/bits/setjmp.h
903         * sysdeps/mips/include/sys/asm.h
904         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
905         * sysdeps/unix/sysv/linux/include/sys/timex.h
906         * sysdeps/x86/fpu/include/bits/fenv.h:
907         Add #ifndef _ISOMAC guard around internal declarations.
908         Add multiple-inclusion guard if not already present.
910 2016-09-23  Zack Weinberg  <zackw@panix.com>
912         * sysdeps/generic/sys/ucontext.h
913         * sysdeps/arm/sys/ucontext.h
914         * sysdeps/i386/sys/ucontext.h
915         * sysdeps/m68k/sys/ucontext.h
916         * sysdeps/mips/sys/ucontext.h
917         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
918         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
919         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
920         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
921         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
922         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
923         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
924         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
925         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
926         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
927         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
928         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
929         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
930         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
931         Include both bits/sigcontext.h and bits/sigstack.h.
932         Fix grammar error in comment, if present.
934         * bits/sigstack.h
935         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
936         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
937         * sysdeps/unix/sysv/linux/bits/sigstack.h
938         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
939         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
940         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
941         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
942         * bits/sigcontext.h
943         * sysdeps/mach/hurd/i386/bits/sigcontext.h
944         * sysdeps/unix/sysv/linux/bits/sigcontext.h
945         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
946         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
947         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
948         as well as signal.h, if this was not already allowed.  Request
949         definition of size_t if necessary.  Minimize semantically-null
950         differences across files.
952 2016-09-23  Zack Weinberg  <zackw@panix.com>
954         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
955         Remove all logic conditional on __need macros.  Move all the
956         conditionally defined types to their own headers...
957         * time/bits/types/clock_t.h: Define clock_t here.
958         * time/bits/types/clockid_t.h: Define clockid_t here.
959         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
960         * time/bits/types/struct_timespec.h: Define struct timespec here.
961         * time/bits/types/struct_timeval.h: Define struct timeval here.
962         * time/bits/types/struct_tm.h: Define struct tm here.
963         * time/bits/types/time_t.h: Define time_t here.
964         * time/bits/types/timer_t.h: Define timer_t here.
965         * time/Makefile: Install the new headers.
967         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
968         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
969         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
970         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
971         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
972         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
973         * sysdeps/unix/sysv/linux/bits/resource.h
974         * sysdeps/unix/sysv/linux/bits/timex.h
975         * sysdeps/unix/sysv/linux/mips/bits/resource.h
976         * sysdeps/unix/sysv/linux/net/ppp_defs.h
977         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
978         * sysdeps/unix/sysv/linux/sys/acct.h
979         * sysdeps/unix/sysv/linux/sys/timerfd.h
980         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
981         * time/sys/time.h, time/sys/timeb.h
982         Use the new bits/types headers.
984         * include/time.h: Remove __need logic.
985         * include/bits/time.h
986         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
987         * include/bits/types/time_t.h, include/bits/types/timer_t.h
988         * include/bits/types/struct_itimerspec.h
989         * include/bits/types/struct_timespec.h
990         * include/bits/types/struct_timeval.h
991         * include/bits/types/struct_tm.h:
992         New wrapper headers.
994 2016-09-23  Zack Weinberg  <zackw@panix.com>
996         * sysdeps/mach/hurd/net/if_ppp.h
997         * sysdeps/unix/sysv/linux/net/if_ppp.h:
998         Only define struct ifpppstatsreq and struct ifpppcstatsreq
999         if __USE_MISC is defined, to ensure struct ifreq is declared.
1001         * inet/netinet/ether.h: Condition all function prototypes
1002         on __USE_MISC, to ensure struct ether_addr is declared.
1004         * socket/bits/types/struct_osockaddr.h: New header.
1005         * include/bits/types/struct_osockaddr.h: New wrapper.
1006         * socket/Makefile: Install the new header.
1007         * socket/sys/socket.h, inet/protocols/talkd.h:
1008         Refer to bits/types/struct_osockaddr.h for the definition of
1009         struct osockaddr.
1011 2016-09-23  Zack Weinberg  <zackw@panix.com>
1013         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1014         * inet/protocols/routed.h, inet/protocols/talkd.h
1015         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1016         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1017         * sysdeps/generic/netinet/if_ether.h
1018         * sysdeps/generic/netinet/in_systm.h
1019         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1020         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1021         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1022         * sysdeps/mach/hurd/net/if_arp.h
1023         * sysdeps/mach/hurd/net/if_ppp.h
1024         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1025         * sysdeps/unix/sysv/linux/bits/in.h
1026         * sysdeps/unix/sysv/linux/net/ethernet.h
1027         * sysdeps/unix/sysv/linux/net/if_arp.h
1028         * sysdeps/unix/sysv/linux/net/if_ppp.h
1029         * sysdeps/unix/sysv/linux/net/if_shaper.h
1030         * sysdeps/unix/sysv/linux/net/route.h
1031         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1032         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1033         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1034         * sysdeps/unix/sysv/linux/netipx/ipx.h
1035         * sysdeps/unix/sysv/linux/sys/acct.h
1036         * include/arpa/nameser.h, include/resolv.h:
1037         Change all uses of u_char to unsigned char,
1038         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1039         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1040         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1041         and u_int64_t and u_quad_t to uint64_t.
1043         * mach/sys/reboot.h: Remove two casts of integer literals
1044         to the types they already have.
1046         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1047         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1048         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1049         from referring to 'unsigned char' to 'uint8_t' for consistency with
1050         the macro definition below.
1052         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1053         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1054         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1055         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1056         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1057         * sysdeps/unix/sysv/linux/sys/acct.h
1058         * include/arpa/nameser.h, include/resolv.h:
1059         Fix indentation disrupted by mechanical edits.
1061         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1062         * sysdeps/generic/netinet/in_systm.h
1063         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1064         * sysdeps/gnu/netinet/udp.h
1065         * sysdeps/unix/sysv/linux/net/ethernet.h
1066         * sysdeps/unix/sysv/linux/net/if_arp.h
1067         * sysdeps/unix/sysv/linux/net/if_ppp.h
1068         * sysdeps/unix/sysv/linux/net/if_shaper.h
1069         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1070         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1071         * sysdeps/unix/sysv/linux/netipx/ipx.h
1072         * sysdeps/unix/sysv/linux/sys/acct.h
1073         Include stdint.h for uintNN_t definitions.
1074         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1076 2016-09-23  Zack Weinberg  <zackw@panix.com>
1078         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1079         * sysdeps/unix/sysv/linux/netrose/rose.h:
1080         Include sys/socket.h and netax25/ax25.h.
1082         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1083         * resolv/arpa/nameser_compat.h:
1084         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1086         * sysdeps/unix/sysv/linux/sys/quota.h:
1087         Use __caddr_t instead of caddr_t.
1088         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1089         Use __clockid_t instead of clockid_t.
1091         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1093         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1094         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1095         expanding it.
1097         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1098         Define __glibc_c99_flexarr_available to 1 when the compiler
1099         supports C99-compatible flexible array members, 0 otherwise.
1100         * sysdeps/unix/sysv/linux/bits/socket.h
1101         * sysdeps/mach/hurd/bits/socket.h
1102         * bits/socket.h: Use __glibc_c99_flexarr_available in
1103         definitions of struct cmsghdr and CMSG_DATA.
1105 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1107         * manual/nss.texi (NSS Modules Interface): Adjust function return
1108         type to enum nss_status.  Document errnop argument.  Clarify
1109         h_errnop semantics.  Fix cross-reference formatting.
1110         (NSS Module Function Internals): Mention that *errnop needs to be
1111         set on failure, but not to zero.
1113 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1115         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1116         (get_random_name): New functions.
1117         (check_wrapper_flags_mode): Use linkat to give the new file a name
1118         determined by get_random_name.
1119         (do_test): Add calls to test open64 and openat64.
1121 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1123         * test-skeleton.c: Remove #include <stdarg.h>.
1125 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1127         [BZ #19826]
1128         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1129         initialization of static TLS entries.
1130         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1131         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1133 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1135         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1136         _hurd_malloc_fork_prepare.
1137         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1138         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1139         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1140         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1141         (_hurd_fork_child_hook): Drop malloc_fork_child.
1142         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1143         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1144         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1145         after locking locks (notably hurd_dtable_lock). Call
1146         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1147         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1148         __malloc_fork_unlock_child.
1149         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1151 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1153         * soft-fp/extendhftf2.c: New.
1154         * soft-fp/fixhfti.c: Likewise.
1155         * soft-fp/fixunshfti.c: Likewise.
1156         * soft-fp/floattihf.c: Likewise.
1157         * soft-fp/floatuntihf.c: Likewise.
1158         * soft-fp/half.h: Likewise.
1159         * soft-fp/trunctfhf2.c: Likewise.
1161 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1163         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1164         macro.
1165         * math/libm-test.inc (issubnormal_test_data): New array.
1166         (issubnormal_test): New function.
1167         * manual/arith.texi (Floating Point Classes): Document
1168         issubnormal.
1169         * manual/libm-err-tab.pl: Update comment on interfaces without
1170         ulps tabulated.
1172         * sysdeps/generic/stdint.h: Define
1173         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1174         <bits/libc-header-start.h> instead of including <features.h>.
1175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1207         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1208         * manual/arith.texi (Integers): Document these macros for types
1209         specified by width properties.
1210         * manual/lang.texi (Width of Type): Document these macros for
1211         other standard typedefs.
1212         * stdlib/tst-width-stdint.c: New file.
1213         * stdlib/Makefile (tests): Add tst-width-stdint.
1215 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1217         [BZ #20016]
1218         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1219         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1220         Move ...
1221         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1222         ... here, as compatibility symbols in a new file.
1223         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1224         * resolv/res_init.c (__res_vinit): Adjust member names.
1225         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1226         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1227         (res_send_rhook): Remove.
1228         (struct __res_state): Rename qhook, rhook members.
1230 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1232         malloc: Use __libc_lock wrappers.
1233         * malloc/arena.c (list_lock, free_list_lock): Define using
1234         __libc_lock_define_initialized.
1235         (arena_lock): Adjust formatting.
1236         * malloc/malloc.c (struct malloc_state): Define mutex using
1237         __libc_lock_define.
1238         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1239         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1240         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1241         (mutex_unlock, mutex_trylock): Remove.
1242         (__pthread_initialize): Remove unused macro.
1243         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1244         (mutex_unlock, mutex_trylock): Remove.
1246 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1248         [BZ #20592]
1249         Remove RR type classification macros.
1250         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1251         (ns_t_udp_p, ns_t_xfr_p): Remove.
1253 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1255         Remove misleading version information.
1256         * resolv/arpa/nameser.h (__NAMESER): Remove.
1257         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1259 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1261         Remove the always-defined BIND_4_COMPAT macro.
1262         * resolv/arpa/nameser.h: Unconditionally include
1263         <arpa/nameser_compat.h>.
1264         (BIND_4_COMPAT): Remove.
1265         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1267 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1269         [BZ #20591]
1270         Remove obsolete DNSSEC support.
1271         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1272         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1273         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1274         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1275         (ns_cert_types): Add comment.
1276         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1277         separately.
1278         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1279         (dst_s_dns_key_id): Remove.
1280         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1281         variables.
1283 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1285         [BZ #20524]
1286         * manual/string.texi (String/Array Comparison): Clarify the
1287         strverscmp behavior.
1289 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1291         * test-skeleton.c (xasprintf): Add function.
1292         * io/tst-open-tmpfile.c: New test.
1293         * io/Makefile (tests): Add it.
1295 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1297         Avoid running $(CXX) during build to obtain header file paths.
1298         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1299         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1300         * Makerules (cstdlib, cmath): Remove variables.  Use
1301         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1302         * configure: Regenerate.
1304 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1306         * Makeconfig (all-object-suffixes): Include .op only if
1307         $(build-profile).
1309 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1311         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1312         conditionals.  Do not define PATH_MAX.
1314 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1316         * posix/Makefile (tests): Add tst-spawn3.
1317         * posix/tst-spawn3.c: New file.
1318         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1319         if it is already opened for open action.
1321         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1322         all signals when executing the clone vfork child.
1323         (SIGALL_SET): Remove macro.
1325         * nptl/Makefile (tests): Add tst-exec5.
1326         * nptl/tst-exec5.c: New file.
1327         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1328         asynchronous cancellation.
1330 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1332         * hurd/exc2signal.c: #include <hurd/signal.h>
1333         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1334         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1335         accordingly.
1336         * mach/mach_error.c (mach_error): Fix old-style function definition.
1337         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1339 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1341         * math/Makefile (libm-calls): Remove s_nanF.
1342         (gen-libm-calls): Add s_nanF.
1344         * math/s_nan.c: Refactor into ...
1345         * math/s_nan_template.c: New file.
1347         * math/s_nanf.c: Removed.
1348         * math/s_nanl.c: Removed.
1349         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1350         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1352         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1353         (LDOUBLE_nanl_libm_version): New macro.
1355         * sysdeps/generic/math-type-macros-double.h:
1356         (M_STRTO_NAN): New macro.
1357         * sysdeps/generic/math-type-macros-float.h: Likewise.
1358         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1360         * sysdeps/generic/math-type-macros.h: Document
1361         M_STRTO_NAN.
1363 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1365         * math/s_nanf.c: Remove __nanf undef.
1366         * math/s_nan.c: Remove __nan undef.
1367         * math/s_nanl.c: Remove __nanl undef.
1369         * sysdeps/generic/math_private.h (__nan): Remove macro
1370         override.
1371         (__nanf): Likewise.
1372         (__nanl): Likewise.
1374 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1376         * math/Makefile (gen-all-calls): New variable.
1377         (generated): Replace gen-libm-calls with gen-all-calls.
1378         (gen-libm-templates.stmp): Likewise.  Also, ensure
1379         the output directory exists or is created and add
1380         dependency on the Makefile.
1381         (calls): Move s_ldexpF into gen-calls.
1382         (gen-calls): New variable.
1384         * math/s_ldexpf.c: Removed.
1385         * math/s_ldexpl.c: Removed.
1386         * math/s_ldexp.c: Refactored into ...
1387         * math/s_ldexp_template.c: New file.
1389         * sysdeps/generic/math-type-macros-double.h: Remove
1390         redundant fall-through definition of declare_mgen_alias.
1391         (declare_mgen_alias_2): New macro.
1393         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1394         New macro for function aliased to two exported symbols.
1396         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1397         new template file.
1398         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1400 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1402         * Makeconfig (all-object-suffixes): Remove .og.
1403         * Makerules (elide-routines.og): Remove.
1404         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1405         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1406         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1408 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1410         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1411         .os objects.
1413 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1415         [BZ #20615]
1416         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1417         fpu directory by non-fpu.
1418         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1419         on non-fpu directory from a fpu directory.
1421 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1423         * include/limits.h: Define
1424         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1425         <bits/libc-header-start.h> instead of including <features.h>.
1426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1432         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1437         * manual/lang.texi (Width of Type): Document these macros.
1438         * stdlib/tst-width.c: New file.
1439         * stdlib/Makefile (tests): Add tst-width.
1441 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1443         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1444         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1446 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1448         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1449         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1450         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1452 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1454         [BZ #18243]
1455         * rt/Makefile (test): Add tst-shm-cancel.
1456         * rt/tst-shm-cancel.c: New file.
1457         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1459         [BZ #18243]
1460         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1461         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1462         definition.
1463         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1464         uncontended case.
1465         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1466         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1467         (tf): Fix check for uncontended case.
1468         (do_test): Likewise.
1469         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1470         (tf): Fix check for uncontended case.
1471         (do_test): Likewise.
1472         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1473         (tf): Fix check for uncontended case.
1474         (do_test): Likewise.
1475         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1476         (tf): Fix check for uncontended case.
1477         (do_test): Likewise.
1479         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1480         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1482         [BZ #15765]
1483         * nptl/Makefile (tests): Add tst-sem16.
1484         * nptl/tst-sem16.c: New file.
1485         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1487         * nptl/sem_open.c (sem_open): Init pad value to 0.
1488         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1489         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1491 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1493         [BZ #20611]
1494         * inet/Makefile (routines): Add inet6_scopeid_pton.
1495         (tests): Add tst-inet6_scopeid_pton.
1496         * inet/inet6_scopeid_pton.c: New file.
1497         * inet/net-internal.h: Likewise.
1498         * inet/tst-inet6_scopeid_pton.c: New test.
1499         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1500         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1503 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1505         Remove support for compiling wrappers with PTW.
1506         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1507         * nptl/Makefile (pthread-compat-wrappers): Define.
1508         (libpthread-routines): Use pthread-compat-wrappers.
1509         * sysdeps/unix/sysv/linux/alpha/Makefile
1510         (libpthread-routines, libpthread-shared-only-routines): Remove
1511         ptw- prefix.
1512         * sysdeps/s390/nptl/Makefile
1513         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1514         * sysdeps/ia64/nptl/Makefile
1515         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1516         * sysdeps/nacl/Makefile (libpthread-routines): Use
1517         pthread-compat-wrappers to filter the routines list instead of the
1518         ptw- prefix.
1520 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1522         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1523         with L() and remove explicit suffix, convert real literals
1524         which can be equivalentally substituted with integers, and
1525         transform -L(x) to L(-x).
1527         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1528         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1529         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1530         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1531         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1532         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1533         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1534         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1535         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1536         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1537         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1538         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1539         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1540         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1541         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1542         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1543         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1544         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1545         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1546         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1547         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1548         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1549         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1550         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1551         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1552         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1553         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1554         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1555         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1556         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1557         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1558         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1559         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1560         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1561         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1562         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1563         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1564         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1565         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1566         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1567         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1568         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1569         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1570         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1571         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1572         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1573         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1574         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1575         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1576         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1578 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1580         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1582 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1584         * malloc/Makefile (tests): Remove individual static test names
1585         and just add all of tests-static.
1587         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1589 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1591         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1592         file.
1594         * sysdeps/sparc/fpu/fegetmode.c: New file.
1595         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1597         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1598         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1600         * sysdeps/s390/fpu/fegetmode.c: New file.
1601         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1603         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1604         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1605         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1606         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1607         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1608         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1610         * sysdeps/mips/fpu/fegetmode.c: New file.
1611         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1613         * sysdeps/m68k/fpu/fegetmode.c: New file.
1614         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1616         * sysdeps/ia64/fpu/fegetmode.c: New file.
1617         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1619         * sysdeps/hppa/fpu/fegetmode.c: New file.
1620         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1622         * sysdeps/arm/fegetmode.c: New file.
1623         * sysdeps/arm/fesetmode.c: Likewise.
1625         * sysdeps/alpha/fpu/fegetmode.c: New file.
1626         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1628         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1629         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1631         * math/fegetmode.c: New file.
1632         * math/fesetmode.c: Likewise.
1633         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1634         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1635         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1636         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1637         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1639         declaration.
1640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1641         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1642         typedef.
1643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1644         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1645         (femode_t): New typedef.
1646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1647         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1648         (femode_t): New typedef.
1649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1650         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1651         (femode_t): New typedef.
1652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1653         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1654         (femode_t): New typedef.
1655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1656         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1657         (femode_t): New typedef.
1658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1659         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1660         (femode_t): New typedef.
1661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1662         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1663         (femode_t): New typedef.
1664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1665         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1666         (femode_t): New typedef.
1667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1668         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1669         (femode_t): New typedef.
1670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1671         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1672         (femode_t): New typedef.
1673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1674         declaration.
1675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1676         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1677         (femode_t): New typedef.
1678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1679         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1680         (femode_t): New typedef.
1681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1682         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1683         (femode_t): New typedef.
1684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1685         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1686         (femode_t): New typedef.
1687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1688         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1689         (femode_t): New typedef.
1690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1691         * manual/arith.texi (FE_DFL_MODE): Document macro.
1692         (fegetmode): Document function.
1693         (fesetmode): Likewise.
1694         * math/Versions (fegetmode): New libm symbol at version
1695         GLIBC_2.25.
1696         (fesetmode): Likewise.
1697         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1698         (tests): Add test-femode and test-femode-traps.
1699         * math/test-femode-traps.c: New file.
1700         * math/test-femode.c: Likewise.
1701         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1702         alias for __fe_dfl_env.
1703         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1704         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1705         (__fe_dfl_mode): Likewise.
1706         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1707         version GLIBC_2.25.
1708         * sysdeps/nacl/libm.abilist: Update.
1709         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1710         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1711         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1712         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1713         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1714         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1715         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1716         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1717         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1718         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1719         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1720         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1724         Likewise.
1725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1726         Likewise.
1727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1728         Likewise.
1729         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1730         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1731         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1732         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1733         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1735         Likewise.
1736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1737         Likewise.
1738         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1739         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1740         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1742 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1744         [BZ #20495]
1745         [BZ #20508]
1746         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1747         processors, set Use_dl_runtime_resolve_slow and set
1748         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1749         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1750         New.
1751         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1752         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1753         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1754         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1755         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1756         if Use_dl_runtime_resolve_opt is set.  Use
1757         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1758         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1759         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1760         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1761         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1762         New.
1763         (_dl_runtime_resolve_opt): Likewise.
1764         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1765         defined.
1767 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1769         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1770         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1772 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1774         Convert malloc to __libc_lock.  Automated part, using this Perl
1775         s/// command:
1776           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1777             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1778         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1779         conversion.
1781 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1783         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1784         (linknamespace-symlists-tests): Likewise.
1785         (linknamespace-header-tests): Likewise.
1787 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1789         [BZ #19810]
1790         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1791         * elf/tst-noload.c: New test case.
1792         * elf/Makefile (tests): Add tst-noload.
1794 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1796         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1798         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1799         not any more.
1801         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1803 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1805         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1806         (do_cos_slow): Likewise.
1807         (do_sin): Likewise.
1808         (do_sin_slow): Likewise.
1809         (slow): Likewise.
1810         (slow1): Likewise.
1811         (slow2): Likewise.
1812         (sloww): Likewise.
1813         (sloww1): Likewise.
1814         (sloww2): Likewise.
1815         (bsloww): Likewise.
1816         (bsloww1): Likewise.
1817         (bsloww2): Likewise.
1818         (cslow2): Likewise.
1820         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1822         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1823         arguments.  Consolidate input partitioning from callers here.
1824         (do_cos_slow): Likewise.
1825         (do_sin): Likewise.
1826         (do_sin_slow): Likewise.
1827         (do_sincos_1): Remove the no longer necessary input partitioning.
1828         (do_sincos_2): Likewise.
1829         (__sin): Likewise.
1830         (__cos): Likewise.
1831         (slow1): Likewise.
1832         (slow2): Likewise.
1833         (sloww1): Likewise.
1834         (sloww2): Likewise.
1835         (bsloww1): Likewise.
1836         (bsloww2): Likewise.
1837         (cslow2): Likewise.
1839 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1841         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1842         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1843         outside of allocated array.
1845 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1847         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1848         instead of MB_CUR_MAX to avoid variable-length array.
1850 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1852         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1853         (type-double-routines): Add k_rem_pio2.
1854         (type-float-routines): Add k_rem_pio2f.
1856         * sysdeps/generic/math_private.h:
1857         (__kernel_rem_pio2l): Removed.
1859         * math/k_rem_pio2l.c: Removed.
1860         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1861         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1862         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1863         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1865 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1867         * math/Makefile (gen-libm-calls): Add s_fmin
1868         (libm-calls): Remove above.
1870         * math/s_fmin.c: Refactor into ...
1871         * math/s_fmin_template.c: New file.
1873         * math/s_fminf.c: Removed.
1874         * math/s_fminl.c: Removed.
1875         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1876         (LDOUBLE_fmin_libm_version): New macro.
1878         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1879         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1881 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1883         * math/Makefile: (gen-libm-calls): Add s_fmax.
1884         (libm-calls): Remove above.
1886         * math/s_fmax.c: Refactor into ...
1887         * math/s_fmax_template.c: New file.
1888         * math/s_fmaxf.c: Removed.
1889         * math/s_fmaxl.c: Removed.
1891         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1892         (LDOUBLE_fmaxl_libm_version): New macro.
1894         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1895         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1897         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1898         s_fmin.c to pick the aarch64 version of the file.
1899         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1900         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1902 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1904         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1905         (libm-calls): Remove above.
1907         * math/s_nextdown.c: Refactor into ...
1908         * math/s_nextdown_template.c: New file.
1909         * math/s_nextdownf.c: Removed.
1910         * math/s_nextdownl.c: Removed.
1912         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1914 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1916         * math/Makefile (gen-libm-calls): Add s_fdim.
1917         (libm-calls): Move to above.
1919         * math/s_fdim.c: Renamed and refactored into to ...
1920         * math/s_fdim_template.c: New file.
1921         * math/s_fdiml.c: Removed.
1922         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1923         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1925         * sysdeps/generic/math-type-macros-double.h:
1926         (declare_mgen_alias): Don't declare if already declared.
1927         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1928         Likewise.
1930         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1931         (declare_mgen_alias): Don't declare if already declared.
1932         (M_LIBM_NEED_COMPAT): Likewise.
1933         (declare_mgen_libm_compat): Likewise.
1934         (LDOUBLE_fdiml_libm_version): New macro.
1936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1937         Include math/s_fdim.c now that ldbl-opt version is not needed.
1938         (declare_mgen_alias): New macro to disable aliasing.
1940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1941         (declare_mgen_alias): Likewise.
1942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1943         (declare_mgen_alias): Likewise.
1944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1945         (declare_mgen_alias): Likewise.
1946         (M_LIBM_NEED_COMPAT): Likewise.
1948 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1950         [BZ #20525]
1951         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1952         Include <linux/quota.h>.
1953         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1954         and btodb.
1955         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1956         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1957         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1958         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1959         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1960         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1961         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1962         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1963         types.
1964         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1965         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1967 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1969         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1970         (gammal_positive): Fix spacing.
1971         (__ieee754_gammal_r): Likewise.
1973 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1975         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1976         (_Float128): Define as long double, always.
1977         (L): Apply long double type suffix, always.
1979         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1980         _Float128, excepting comments.
1982         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1983         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1984         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1985         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1986         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1987         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1988         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1989         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1990         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1991         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1992         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1993         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1994         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1995         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1996         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1997         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1998         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1999         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2000         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2001         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2002         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2003         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2004         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2005         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2006         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2007         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2008         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2009         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2010         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2011         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2012         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2013         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2014         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2015         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2016         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2017         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2018         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2019         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2020         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2021         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2022         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2023         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2024         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2025         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2026         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2027         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2028         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2029         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2030         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2031         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2032         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2033         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2034         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2035         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2036         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2037         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2038         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2039         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2040         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2041         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2042         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2043         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2044         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2045         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2046         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2047         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2048         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2049         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2051         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2052         _Float128, and include math_private.h.
2053         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2055         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2056         long double semantics.
2057         (_Float128): Likewise.
2058         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2059         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2060         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2061         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2063 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2065         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2066         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2067         * sysdeps/s390/configure: Regenerated.
2068         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2069         instruction for raising over-/underflow if z196 zarch is supported
2070         by default.
2071         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2073 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2075         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2076         it point to a dumb buffer for RPC to fill it.
2078 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2080         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2081         instead of if/else.
2082         (do_sin_slow): Likewise.
2083         (do_sincos_1): Use fabs instead of if/else.
2084         (do_sincos_2): Likewise.
2085         (__sin): Likewise.
2086         (__cos): Likewise.
2087         (slow2): Likewise.
2088         (sloww): Likewise.
2089         (sloww1): Likewise.  Drop argument M.
2090         (sloww2): Use fabs instead of if/else.
2091         (bsloww): Likewise.
2092         (bsloww1): Likewise.
2093         (bsloww2): Likewise.
2095         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2096         fall through comment.
2097         (do_sincos_1): Likewise.
2099         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2100         Consolidate switch cases 0 and 2.
2102 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2104         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2105         (libm-calls): Remove the above.
2107         * math/s_cexp_template.c: Update using type-generic macros.
2108         * math/s_clog10_template.c: Likewise.
2109         * math/s_cpow_template.c: Likewise.
2110         * math/s_clog_template.c: Likewise.
2111         * math/s_cproj_template.c: Likewise.
2112         * math/s_csqrt_template.c: Likewise.
2114         * math/s_cexp.c: Removed.
2115         * math/s_cexpf.c: Removed.
2116         * math/s_cexpl.c: Removed.
2117         * math/s_clog10.c: Removed.
2118         * math/s_clog10f.c: Removed.
2119         * math/s_clog10l.c: Removed.
2120         * math/s_cpow.c: Removed.
2121         * math/s_cpowf.c: Removed.
2122         * math/s_cpowl.c: Removed.
2123         * math/s_clog.c: Removed.
2124         * math/s_clogf.c: Removed.
2125         * math/s_clogl.c: Removed.
2126         * math/s_cproj.c: Removed.
2127         * math/s_cprojf.c: Removed.
2128         * math/s_cprojl.c: Removed.
2129         * math/s_csqrt.c: Removed.
2130         * math/s_csqrtf.c: Removed.
2131         * math/s_csqrtl.c: Removed.
2133         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2134         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2135         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2136         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2137         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2138         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2140         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2141         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2142         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2143         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2144         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2145         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2146         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2147         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2148         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2149         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2150         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2152         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2153         version.
2155         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2156         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2157         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2158         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2160 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2162         * s_cexp_template.c: Copy of s_cexp.c.
2163         * s_clog_template.c: Copy of s_clog.c.
2164         * s_clog10_template.c: Copy of s_clog10.c.
2165         * s_cpow_template.c: Copy of s_cpow.c.
2166         * s_cproj_template.c: Copy of s_cproj.c.
2167         * s_csqrt_template.c: Copy of s_csqrt.c.
2169 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2171         [BZ #20517]
2172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2173         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2174         exported.
2176 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2178         * math/fetestexceptflag.c: New file.
2179         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2180         Stefan Liebler.
2181         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2182         (fetestexceptflag): New function declaration.
2183         * manual/arith.texi (fetestexceptflag): Document function.
2184         * math/Versions (fetestexceptflag): New libm symbol at version
2185         GLIBC_2.25.
2186         * math/Makefile (libm-support): Add fetestexceptflag.
2187         (tests): Add test-fetestexceptflag.
2188         * math/test-fetestexceptflag.c: New file.
2189         * sysdeps/nacl/libm.abilist: Update.
2190         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2191         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2192         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2193         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2194         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2196         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2203         Likewise.
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2205         Likewise.
2206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2207         Likewise.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2209         Likewise.
2210         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2211         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2212         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2213         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2214         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2216         Likewise.
2217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2220         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2221         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2223 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2225         [BZ #20432]
2226         Avoid strong references to malloc-internal symbols when linking
2227         statically, to support statically interposed mallocs.
2228         * include/libc-symbols.h (call_function_static_weak): New macro.
2229         * malloc/Makefile (tests): Add tst-interpose-nothread,
2230         tst-interpose-thread, tst-interpose-static-nothread,
2231         tst-interpose-static-thread.
2232         (tests-static): Add tst-interpose-static-nothread,
2233         tst-interpose-static-thread.
2234         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2235         tst-interpose-aux-thread.o.
2236         (test-extras): Add tst-interpose-aux-nothread,
2237         tst-interpose-aux-thread.
2238         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2239         tst-interpose-aux-nothread.o.
2240         (tst-interpose-thread, tst-interpose-static-thread): Link with
2241         tst-interpose-aux-thread.o and libthread.
2242         * malloc/tst-interpose-aux-nothread.c: New file.
2243         * malloc/tst-interpose-aux-thread.c: Likewise.
2244         * malloc/tst-interpose-aux.c: Likewise.
2245         * malloc/tst-interpose-aux.h: Likewise.
2246         * malloc/tst-interpose-nothread.c: Likewise.
2247         * malloc/tst-interpose-skeleton.c: Likewise.
2248         * malloc/tst-interpose-static-nothread.c: Likewise.
2249         * malloc/tst-interpose-static-thread.c: Likewise.
2250         * malloc/tst-interpose-thread.c: Likewise.
2251         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2252         * sysdeps/mach/hurd/fork.c (__fork): Only call
2253         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2254         __malloc_fork_unlock_child if defined.
2255         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2257 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2259         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2260         timespec C99 designated initialization.
2262 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2264         [BZ #19946]
2265         Avoid expected SIGALRM signals.
2266         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2267         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2268         (xpthread_create, xpthread_detach, xpthread_join)
2269         (delayed_exit_thread, delayed_exit): New functions.
2270         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2271         (tf): Use xpthread_cond_wait.
2272         (do_test): Likewise.  Replace alarm with delayed_exit.
2273         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2274         (do_test): Call delayed_exit.  Report failure.
2275         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2276         (do_test): Call delayed_exit.
2277         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2278         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2279         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2280         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2281         error.
2282         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2283         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2284         error.
2285         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2286         (do_test): Call delayed_exit.
2287         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2288         (do_test): Call delayed_exit.
2289         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2290         (do_test): Call delayed_exit instead of alarm.  Use
2291         xpthread_mutex_lock.
2292         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2293         (do_test): Call delayed_exit instead of alarm.  Use
2294         xpthread_mutex_lock.
2295         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2296         (do_test): Call delayed_exit instead of alarm.
2297         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2298         (do_test): Call delayed_exit instead of alarm.  Use
2299         xpthread_spin_lock.
2300         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2301         (do_test): Call delayed_exit instead of alarm.  Use
2302         xpthread_join.
2304 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2306         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2307         adjust CFA when allocating register save area on re-aligned
2308         stack.
2310 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2312         * string/tst-cmp.c: New test.
2313         * string/Makefile (tests): Add it.
2315 2016-08-25  Mark Wielaard  <mark@klomp.org>
2317         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2318         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2319         (check_tree_recurse): Use newly defined accessors.
2320         (check_tree): Likewise.
2321         (maybe_split_for_insert): Likewise.
2322         (__tfind): Likewise.
2323         (__tdelete): Likewise.
2324         (trecurse): Likewise.
2325         (tdestroy_recurse): Likewise.
2326         (__tsearch): Likewise. And add asserts for malloc alignment.
2327         (__twalk): Cast root to node in case CHECK_TREE is defined.
2329 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2331         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2333 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2335         * math/Makefile (libm-gen-calls): Add
2336         catan, catanh, ctan, ctanh.
2337         (libm-calls): Remove the above.
2339         * math/s_catan_template.c: Update using type-generic macros.
2340         * math/s_catanh_template.c: Likewise.
2341         * math/s_ctan_template.c: Likewise.
2342         * math/s_ctanh_template.c: Likewise.
2344         * math/s_catanf.c: Removed.
2345         * math/s_catan.c: Removed.
2346         * math/s_catanl.c: Removed.
2347         * math/s_catanhf.c: Removed.
2348         * math/s_catanh.c: Removed.
2349         * math/s_catanhl.c: Removed.
2350         * math/s_ctanf.c: Removed.
2351         * math/s_ctan.c: Removed.
2352         * math/s_ctanl.c: Removed.
2353         * math/s_ctanhf.c: Removed.
2354         * math/s_ctanh.c: Removed.
2355         * math/s_ctanhl.c: Removed.
2357         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2358         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2359         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2360         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2361         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2362         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2364         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2365         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2366         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2367         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2369 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2371         * s_catan_template.c: Copy of s_catan.c.
2372         * s_catanh_template.c: Copy of s_catanh.c.
2373         * s_ctan_template.c: Copy of s_ctan.c.
2374         * s_ctanh_template.c: Copy of s_ctanh.c.
2376 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2378         * math/Makefile (gen-libm-calls): Move
2379         casin, casinh, csin, csinh here.
2380         (libm-calls): Remove the above.
2382         * math/s_casin_template.c: Update using type-generic macros.
2383         * math/s_casinh_template.c: Likewise.
2384         * math/s_csin_template.c: Likewise.
2385         * math/s_csinh_template.c: Likewise.
2386         * math/k_casinh_template.c: Likewise.
2388         * math/s_casinf.c: Removed.
2389         * math/s_casin.c: Removed.
2390         * math/s_casinl.c: Removed.
2391         * math/s_casinh.c: Removed.
2392         * math/s_casinhf.c: Removed.
2393         * math/s_casinhl.c: Removed.
2394         * math/s_csin.c: Removed.
2395         * math/s_csinf.c: Removed.
2396         * math/s_csinl.c: Removed.
2397         * math/s_csinh.c: Removed.
2398         * math/s_csinhf.c: Removed.
2399         * math/s_csinhl.c: Removed.
2400         * math/k_casinh.c: Removed.
2401         * math/k_casinhf.c: Removed.
2402         * math/k_casinhl.c: Removed.
2404         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2405         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2406         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2407         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2409         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2410         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2411         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2412         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2413         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2414         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2415         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2416         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2418         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2419         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2420         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2421         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2423         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2424         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2425         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2426         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2428 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2430         * s_casin_template.c: Copy of s_casin.c.
2431         * s_casinh_template.c: Copy of s_casinh.c.
2432         * s_csin_template.c: Copy of s_csin.c.
2433         * s_csinh_template.c: Copy of s_csinh.c.
2434         * k_casinh_template.c: Copy of k_casinh.c.
2436 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2438         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2440 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2442         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2443         (mul_split) Remove, rename as mul_splitl, remove
2444         redundant float.h include, and include via mul_splitl.h
2446         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2447         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2448         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2449         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2450         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2452         * math/mul_splitl.h: New file.
2454         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2455         Move into mul_split.h, and remove redundant float.h include.
2457         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2458         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2459         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2460         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2462         * math/mul_split.h: New file.
2464 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2466         * math/Makefile (libm-gen-calls): Move
2467         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2468         (libm-calls): Remove above.
2470         * math/s_cacos_template.c: Update using type-generic macros.
2471         * math/s_cacosh_template.c: Likewise.
2472         * math/s_ccos_template.c: Likewise.
2473         * math/s_ccosh_template.c: Likwise.
2475         * math/s_cacosf.c: Removed.
2476         * math/s_cacos.c: Removed.
2477         * math/s_cacosl.c: Removed.
2478         * math/s_cacoshf.c: Removed.
2479         * math/s_cacosh.c: Removed.
2480         * math/s_cacoshl.c: Removed.
2481         * math/s_ccosf.c: Removed.
2482         * math/s_ccos.c: Removed.
2483         * math/s_ccosl.c: Removed.
2484         * math/s_ccoshf.c: Removed.
2485         * math/s_ccosh.c: Removed.
2486         * math/s_ccoshl.c: Removed.
2488         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2489         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2490         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2491         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2492         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2493         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2495         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2496         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2497         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2498         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2500         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2501         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2502         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2503         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2505 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2507         * s_cacos_template.c: Copy of s_cacos.c.
2508         * s_cacosh_template.c: Copy of s_cacosh.c.
2509         * s_ccos_template.c: Copy of s_ccos.c.
2510         * s_ccosh_template.c: Copy of s_ccosh.c.
2512 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2514         * stdlib/tst-strtod-round-skeleton.c:
2515         Refactored from tst-strtod-round.c.
2517         (L_): New macro to apply literal modifier.
2518         (FNPFX): New macro to select str or wcs prefix.
2519         (CHAR): New macro to choose wchar_t or char.
2520         (STRM): New macro to choose printf for tested character type.
2522         (STRTO): New macro to choose appropriate string -> real function.
2523         (FNPFXS): Stringitized version of FNPFX.
2524         (STR): Support for above macro.
2525         (STRX): Likewise.
2527         (TEST): Update with above macros.
2528         (test): Likewise.
2529         (GEN_ONE_TEST): Likewise.
2530         (test_in_one_mode): Likewise.
2532         * stdlib/tst-strtod-round.c: New file.
2533         * wcsmbs/tst-wcstod-round.c: New file.
2535         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2536         (tst-wcstod-round): Add libm depencency for fesetround.
2538 2016-08-19  Zack Weinberg  <zackw@panix.com>
2540         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2542 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2544         [BZ #20477]
2545         * resolv/res_hconf.c (do_init): Use atomic access.
2546         * resolv/res_hconf.h: Add comments.
2547         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2548         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2551 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2553         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2554         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2555         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2556         Likewise.
2558 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2560         [BZ #16907]
2561         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2562         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2563         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2564         (__attribute__): Remove definition.
2566 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2568         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2569         Remove unused sqrtl declaration.
2571 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2573         * math/Makefile: (gen-libm-templates.stmp): New rule.
2574         (libm-calls): Move carg conj cimag and cabs into ...
2575         (gen-libm-calls): New variable.
2576         (generated): Inform Make objects from gen-libm-calls
2577         may be generated.
2579         * sysdeps/generic/math-type-macros.h: New file.
2580         * sysdeps/generic/math-type-macros-float.h: Likewise.
2581         * sysdeps/generic/math-type-macros-double.h: Likewise.
2582         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2583         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2584         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2586         * math/cabs.c: Refactor into
2587         * math/cabs_template.c: new file.
2588         * math/cabsf.c: Removed.
2589         * math/cabsl.c: Removed.
2590         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2591         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2593         * math/carg.c: Refactor into
2594         * math/carg_template.c: new file.
2595         * math/cargf.c: Removed.
2596         * math/cargl.c: Removed.
2597         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2598         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2600         * math/conj.c: Refactor into
2601         * math/conj_template.c: new file.
2602         * math/conjf.c: Removed.
2603         * math/conjl.c: Removed.
2604         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2605         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2607         * math/cimag.c: Refactor into
2608         * math/cimag_template.c: new file.
2609         * math/cimagf.c: Removed.
2610         * math/cimagl.c: Removed.
2611         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2612         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2614         * math/cimag.c: Refactor into
2615         * math/cimag_template.c: new file.
2616         * math/cimagf.c: Removed.
2617         * math/cimagl.c: Removed.
2618         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2619         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2621 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2623         Reduce time to expected nptl/tst-once5 failure.
2624         * nptl/tst-once5.cc (TIMEOUT): Define.
2626 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2628         [BZ #20452]
2629         Avoid additional copies of objects in libc.a in static libraries.
2630         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2631         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2632         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2633         rt-sysdep.
2634         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2635         Add nptl-sysdep.
2636         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2637         Add ptw-sysdep.
2638         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2639         rt-sysdep.
2640         * sysdeps/unix/sysv/linux/alpha/Makefile
2641         (libpthread-shared-only-routines): Add ptw-sysdep,
2642         ptw-sigprocmask, ptw-rt_sigaction.
2643         * sysdeps/unix/sysv/linux/ia64/Makefile
2644         (librt-shared-only-routines): Add rt-sysdep.
2645         * sysdeps/unix/sysv/linux/i386/Makefile
2646         (libpthread-shared-only-routines): Add libc-do-syscall.
2647         * sysdeps/unix/sysv/linux/microblaze/Makefile
2648         (libpthread-shared-only-routines): Add sysdep.
2649         * sysdeps/unix/sysv/linux/powerpc/Makefile
2650         (librt-shared-only-routines): Add rt-sysdep.
2651         (libpthread-shared-only-routines): Add sysdep.
2652         * sysdeps/unix/sysv/linux/s390/Makefile
2653         (librt-shared-only-routines): Add rt-sysdep.
2654         * sysdeps/unix/sysv/linux/sparc/Makefile
2655         (librt-shared-only-routines): Add rt-sysdep.
2656         (libpthread-shared-only-routines): Add sysdep.
2657         * sysdeps/unix/sysv/linux/tile/Makefile
2658         (libpthread-shared-only-routines): Likewise.
2660 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2662         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2663         Mask implicit bit out of unpacked value.
2664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2668         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2670         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2672         * sysdeps/s390/fpu/fesetexcept.c: New file.
2674         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2675         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2676         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2678         * sysdeps/mips/fpu/fesetexcept.c: New file.
2680         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2682         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2684         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2686         * sysdeps/arm/fesetexcept.c: New file.
2688         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2690         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2692         * math/fesetexcept.c: New file.
2693         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2694         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2695         * math/fenv.h: Define
2696         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2697         <bits/libc-header-start.h> instead of including <features.h>.
2698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2699         declaration.
2700         * manual/arith.texi (fesetexcept): Document function.
2701         * math/Versions (fesetexcept): New libm symbol at version
2702         GLIBC_2.25.
2703         * math/Makefile (libm-support): Add fesetexcept.
2704         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2705         * math/test-fesetexcept.c: New file.
2706         * math/test-fesetexcept-traps.c: Likewise.
2707         * sysdeps/nacl/libm.abilist: Update.
2708         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2709         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2710         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2711         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2712         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2713         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2714         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2715         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2723         Likewise.
2724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2725         Likewise.
2726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2727         Likewise.
2728         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2731         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2732         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2734         Likewise.
2735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2736         Likewise.
2737         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2738         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2739         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2741 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2743         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2744         New.
2745         (do_test): Apply default_stack_size_in_mb if not set.
2746         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2748 2016-08-15  Andreas Schwab  <schwab@suse.de>
2750         [BZ #20435]
2751         CVE-2016-6323
2752         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2753         as .cantunwind.
2755 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2757         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2758         comment from fraiseexcpt.c.
2760         * math/test-fexcept.c (feraiseexcept_exact): New function.
2761         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2762         (test_except): Likewise.
2764 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2766         [BZ #20455]
2767         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2768         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2769         to be restored.
2771         * math/test-fexcept-traps.c: New file.
2772         * math/test-fexcept.c: Likewise.
2773         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2774         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2775         macro.
2776         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2777         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2779 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2781         * include/atomic.h (atomic_fetch_and_relaxed,
2782         atomic_fetch_and_release, atomic_fetch_or_release,
2783         atomic_fetch_xor_release): New.
2785 2016-08-06  Christian Seiler  <christian@iwakd.de>
2787         [BZ #20444]
2788         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2789         MACH_PORT_NULL.
2791 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2793         * math/s_fdim.c: Avoid alias renamed.
2794         * math/s_fdimf.c: Likewise.
2795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2796         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2797         Add s_fdimf-vis3, s_fdim-vis3.
2798         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2799         (CFLAGS-s_fdim-vis3.c): Likewise.
2800         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2801         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2803 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2806         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2807         Remove s_fdimf-vis3, s_fdim-vis3.
2808         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2809         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2816         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2817         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2819 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2821         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2822         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2823         -Wa,-Av9a -mvis.
2825 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2827         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2828         LIT() to individual constants in simple expressions
2829         after splitting on spaces.
2830         (_apply_lit): Rename replaced version, and use it to
2831         apply to what appears to be a token.
2833         * math/libm-test.inc: Fix many, many issues with
2834         spacing.
2836 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2838         * math/math.h: Move comment about <bits/mathdef.h> definitions
2839         above inclusion of <bits/mathdef.h>.  Do not mention
2840         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2842 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2844         * include/atomic.h (atomic_exchange_relaxed): New.
2846 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2848         * math/e_scalb.c: Do not include <fenv.h>.
2849         (invalid_fn): Do calculation resulting in NaN instead of raising
2850         FE_INVALID and returning a NaN explicitly.
2851         * math/e_scalbf.c: Do not include <fenv.h>.
2852         (invalid_fn): Do calculation resulting in NaN instead of raising
2853         FE_INVALID and returning a NaN explicitly.
2854         * math/e_scalbl.c: Do not include <fenv.h>.
2855         (invalid_fn): Do calculation resulting in NaN instead of raising
2856         FE_INVALID and returning a NaN explicitly.
2858 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2860         * po/de.po: Updated from Translation Project.
2861         * po/fi.po: Likewise.
2862         * po/sv.po: Likewise.
2864 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2866         [BZ #20452]
2867         Use sysdep.o from libc.a in static libraries.
2868         * sysdeps/unix/sysv/linux/i386/Makefile
2869         (libpthread-shared-only-routines): Add sysdep.
2870         (librt-shared-only-routines): Likewise.
2872 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2874         * math/tgmath.h (nextdown): Define if
2875         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2876         (nextup): Likewise.
2878         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2879         macro.
2880         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2881         Document.
2882         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2883         Document macro.
2884         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2885         (exp10f): Likewise.
2886         (exp10l): Likewise.
2887         * math/bits/mathcalls.h (exp10): Declare if
2888         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2890         * manual/arith.texi (nextup): Fix typo in last change.
2892 2016-08-03  Zack Weinberg  <zackw@panix.com>
2894         [BZ #19239]
2895         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2896         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2897         define major, minor, and makedev to issue deprecation warnings on use.
2898         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2899         previously-activated deprecation warnings for these macros and prevent
2900         subsequent inclusions of this header from having any effect.
2901         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2902         including <sys/sysmacros.h>, and undefine it again afterward.
2904 2016-08-03  Zack Weinberg  <zackw@panix.com>
2906         * sysdeps/generic/sys/sysmacros.h: Delete file.
2907         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2908         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2909         * bits/sysmacros.h: ... here; this encoding is now the generic
2910         encoding.  Now defines only the following macros:
2911         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2912         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2913         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2915         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2916         bits/sysmacros.h and the above new macros to generate the
2917         public implementations of major, minor, and makedev.
2918         * misc/tst-makedev.c: New test.
2919         * include/sys/sysmacros.h: New wrapper.
2921         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2922         (routines): Add makedev.
2923         (tests): Add tst-makedev.
2924         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2925         gnu_dev_makedev.
2926         * posix/Makefile (headers): Remove sys/sysmacros.h.
2927         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2929         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2930         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2931         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2932         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2933         * sysdeps/unix/sysv/linux/arm/libc.abilist
2934         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2935         * sysdeps/unix/sysv/linux/i386/libc.abilist
2936         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2937         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2938         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2939         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2940         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2941         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2942         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2943         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2944         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2949         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2950         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2951         * sysdeps/unix/sysv/linux/sh/libc.abilist
2952         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2953         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2956         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2957         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2958         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2959         Add GLIBC_2.25.
2961         * include/features.h (__glibc_clang_prereq): New macro.
2962         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2963         (__attribute_deprecated_msg__): New macros.
2965 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2967         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2968         macro.
2969         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2970         * manual/arith.texi (issignaling): Document as ISO from TS
2971         18661-1:2014.
2972         (nextup): Likewise.
2973         (nextupf): Likewise.
2974         (nextupl): Likewise.
2975         (nextdown): Likewise.
2976         (nextdownf): Likewise.
2977         (nextdownl): Likewise.
2978         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2979         macro.
2980         * math/math.h: Define
2981         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2982         <bits/libc-header-start.h> instead of including <features.h>.
2983         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2984         [__USE_GNU].
2985         * math/bits/mathcalls.h (nextdown): Declare if
2986         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2987         (nextup): Likewise.
2988         (__issignaling): Likewise.
2990 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2992         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2993         check, and remove __glibc_likely hint
2994         from FP_INFINITE check.
2995         * s_csinhf.c (__csinhf): Likewise.
2997         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2998         hint from FP_INFINITE check.
2999         * s_csinhl.c (__csinhl): Likewise.
3001 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3003         * math/Makefile (libm-calls): Insert F placeholder into
3004         object names.  Move w_lgamma_compat* routines into
3005         (libm-compat-calls): New variable.
3006         (libm-compat-calls-ldouble-yes): New variable.
3007         (calls): Insert F placeholder.
3008         (generated): Redefine using new type-foreach macro call.
3009         (routines): Likewise.
3011         (types): New variable to hold a list of symbolic names
3012         for each type supported by the target machine.
3013         (libm-routines): Redefine using new types variable.
3014         (type-foreach): macro to replace fooF with the
3015         appropriately suffixed foo for each types.
3017         (type-ldouble-suffix): New variable.
3018         (type-ldouble-routines): Likewise.
3019         (type-ldouble-yes): Likewise.
3020         (type-double-suffix): Likewise.
3021         (type-double-routines): Likewise.
3022         (type-float-suffix): Likewise.
3023         (type-float-routines): Likewise.
3025         (dbl-only-routines): Remove.
3026         (long-c-yes): Likewise.
3027         (long-m-routines): Likewise.
3028         (long-m-support): Likewise.
3029         (long-m-yes): Likewise.
3030         (test-longdouble-yes): Likewise.
3032         (test-float.o): Simplify by increasing the scope of the
3033         recipe which adds libm-test.stmp to the vector types.
3034         (test-ifloat.o): Likewise.
3035         (test-float-finite.o): Likewise.
3036         (test-double.o): Likewise
3037         (test-idouble.o): Likewise.
3038         (test-double-finite.o): Likewise.
3039         (test-ldouble.o): Likewise
3040         (test-ildoubl.o): Likewise.
3041         (test-ldouble-finite.o): Likewise.
3043         (libm-tests): Redefine type tests using foreach and the
3044         list of types in types.
3046         (CPPFLAGS-test-ildoubl.c): Rename to
3047         (CPPFLAGS-test-ildouble.c): New variable
3049         * math/test-ildoubl.c: Rename to
3050         * math/test-ildouble.c: New file.
3052 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3054         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3055         Use fabsl instead of fabs.
3056         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3057         Likewise.
3058         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3059         Add long double suffix to constant to ensure proper
3060         promotion to long double.
3062 2016-08-03  Tom Tromey  <tom@tromey.com>
3064         [BZ #20311]
3065         * nptl_db/Makefile (headers): Add proc_service.h.
3066         * nptl_db/proc_service.h: Add include guard.  Use
3067         __BEGIN/__END_DECLS.
3068         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3069         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3070         arguments.
3073 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3075         [BZ #17730]
3076         Avoid using memalign for TCB allocations.
3077         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3078         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3079         Avoid alignment gap in the TLS_DTV_AT_TP case.
3080         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3081         determine the pointer to free.
3082         * nptl/tst-tls3-malloc.c: New test.
3083         * nptl/Makefile (tests): Add it.
3084         (tst-tls3-malloc): Link with libdl, libpthread.
3085         (LDFLAGS-tst-tls3-malloc): Set.
3086         (tst-tls3-malloc.out): Depend on DSO used in test.
3088 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3090         [BZ #17730]
3091         Avoid using memalign for TLS allocations.
3092         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3093         is_static member with to_free member.
3094         (union dtv): Use struct dtv_pointer.
3095         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3096         dtv_pointer instead of is_static.
3097         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3098         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3099         instead of val.
3100         (allocate_dtv_entry): New function.
3101         (allocate_and_init): Return struct dtv_pointer.  Call
3102         allocate_dtv_entry instead of __libc_memalign.
3103         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3104         instead of val.
3105         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3106         instead of is_static.  Adjust call to allocate_and_init.
3107         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3108         struct dtv_pointer instead of val.
3110 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3112         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3113         (MALLOC_ALIGN_MASK): Move ...
3114         * malloc/malloc-internal.h: ... to here.
3115         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3117 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3119         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3120         (UDP_ENCAP_GTP1U): Likewise.
3122         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3123         (PF_MAX): Update value.
3124         (AF_QIPCRTR): New macro.
3126 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3128         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3129         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3130         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3131         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3132         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3133         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3134         s_truncf-vis3, s_trunc-vis3.
3135         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3136         (CFLAGS-s_ceil-vis3.c): Likewise.
3137         (CFLAGS-s_floorf-vis3.c): Likewise.
3138         (CFLAGS-s_floor-vis3.c): Likewise.
3139         (CFLAGS-s_truncf-vis3.c): Likewise.
3140         (CFLAGS-s_trunc-vis3.c): Likewise.
3141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3144         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3149         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3150         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3151         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3152         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3154 2016-08-02  David S. Miller  <davem@davemloft.net>
3156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3157         (__nearbyint_vis3): Don't check for sNaN before float register is
3158         loaded with the incoming argument.
3159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3160         (__nearbyintf_vis3): Likewise.
3161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3162         Likewise.
3163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3164         Likewise.
3166         * string/test-strncmp.c (do_test_limit): Make sure the test data
3167         stream is aligned as required for the type "CHAR".
3168         (do_test): Likewise.
3170 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3172         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3173         by beq instructions jumping to the end of the function.
3174         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3175         clobber list. Use "i" constraint instead of "X".
3176         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3177         of "X".
3179 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3181         * bits/libc-header-start.h: New file.
3182         * Makefile (headers): Add bits/libc-header-start.h.
3183         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3184         (__GLIBC_USE): New macro.
3185         * libio/stdio.h: Define
3186         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3187         <bits/libc-header-start.h> instead of including <features.h>.
3188         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3189         (open_memstream): Likewise.
3190         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3191         (__asprintf): Likewise.
3192         (asprintf): Likewise.
3193         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3194         (getdelim): Likewise.
3195         (getline): Likewise.
3196         * string/string.h: Define
3197         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3198         <bits/libc-header-start.h> instead of including <features.h>.
3199         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3200         (strndup): Likewise.
3201         * wcsmbs/wchar.h: Define
3202         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3203         <bits/libc-header-start.h> instead of including <features.h>.
3204         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3205         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3207 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3209         Support linking against compatibility symbols, for use in tests.
3210         * include/libc-symbols.h (symbol_version_reference): New macro.
3211         (symbol_version): Use it.
3212         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3213         (compat_symbol): Use compat_symbol_reference.
3214         (compat_symbol_1, compat_symbol_2): Remove.
3215         (compat_symbol_reference, compat_symbol_reference_1)
3216         (compat_symbol_reference_2): New macro.  Use
3217         symbol_version_reference.
3219 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3221         [BZ #19469]
3222         * malloc/Makefile (CPPFLAGS): Compile tests with
3223         -DTEST_NO_MALLOPT.
3224         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3226 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3228         [BZ #20033]
3229         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3230         finite version.
3231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3233         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3234         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3235         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3236         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3237         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3238         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3239         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3240         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3241         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3242         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3243         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3244         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3246         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3247         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3248         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3249         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3250         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3251         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3252         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3253         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3254         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3255         in zero power.
3257 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3259         [BZ #20370]
3260         * malloc/arena.c (get_free_list): Update comment.  Assert that
3261         arenas on the free list have no attached threads.
3262         (remove_from_free_list): New function.
3263         (reused_arena): Call it.
3265 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3267         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3268         when it is a NaN.
3269         [_IEEE_FP_INEXACT] Remove.
3270         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3271         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3272         when it is a NaN.
3273         [_IEEE_FP_INEXACT] Remove.
3274         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3275         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3276         when it is a NaN.
3277         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3278         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3279         when its absolute value is greater than 0x1.0p52.
3280         [_IEEE_FP_INEXACT] Remove.
3281         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3282         when its absolute value is greater than 0x1.0p23.
3283         [_IEEE_FP_INEXACT] Remove.
3285 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3287         * version.h (RELEASE): Set to "development"
3288         (VERSION): Set to 2.24.90.
3289         * NEWS: Add 2.25 section.
3291         * version.h (RELEASE): Set to "stable"
3292         (VERSION): Set to 2.24.
3293         * include/features.h (__GLIBC_MINOR__): Set to 24.
3295         * NEWS: Add 2.24 fixed bugs.
3296         * po/libc.pot: Regenerate.
3298 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3301         [$(subdir) = math] (libm-sysdep_routines): Remove.
3302         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3303         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3304         s_truncf-vis3, s_trunc-vis3.
3305         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3307         file.
3308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3332         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3334         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3340         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3341         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3342         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3343         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3344         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3345         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3346         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3347         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3348         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3349         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3350         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3352 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3354         [BZ #20384]
3355         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3356         test-double-libmvec-sincos-avx-main.o,
3357         test-double-libmvec-sincos-avx2-main.o,
3358         test-double-libmvec-sincos-main.o,
3359         test-float-libmvec-sincosf-avx-main.o,
3360         test-float-libmvec-sincosf-avx2-main.o and
3361         test-float-libmvec-sincosf-main.o.
3362         test-float-libmvec-sincosf-avx512-main.o.
3363         ($(objpfx)test-double-libmvec-sincos): Also link with
3364         $(objpfx)test-double-libmvec-sincos-main.o.
3365         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3366         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3367         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3368         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3369         ($(objpfx)test-float-libmvec-sincosf): Also link with
3370         $(objpfx)test-float-libmvec-sincosf-main.o.
3371         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3372         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3373         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3374         test-double-libmvec-sincos-avx512-main.o and
3375         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3376         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3377         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3378         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3379         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3380         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3381         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3382         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3383         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3384         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3385         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3386         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3387         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3388         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3389         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3390         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3391         -DREQUIRE_AVX2.
3392         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3393         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3394         -DREQUIRE_AVX512F.
3395         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3396         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3397         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3398         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3399         file.
3400         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3401         Likewise.
3402         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3403         Likewise.
3404         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3405         Likewise.
3406         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3407         Likewise.
3408         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3409         Likewise.
3410         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3411         Likewise.
3412         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3413         Likewise.
3415 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3417         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3419 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3421         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3422         and typo in a comment about AT_HWCAP entry.
3424 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3426         * sysdeps/aarch64/libm-test-ulps: Updated.
3428 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3430         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3431         of r13 as it is not restored in mvcle case.
3433 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3435         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3436         Rename "ret" to "__ret".
3437         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3438         inline_syscall5, inline_syscall6): Likewise.
3440 2016-07-19   Will Newton  <will.newton@gmail.com>
3442         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3443         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3444         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3445         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3446         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3448 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3450         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3451         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3452         -mfpmath=387 with $(rtld-CFLAGS).
3453         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3454         $(rtld-CFLAGS).
3456 2016-07-18   Ross Burton  <ross.burton@intel.com>
3457              Khem Raj  <raj.khem@gmail.com>
3459         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3460         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3461         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3462         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3463         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3464         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3465         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3466         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3467         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3468         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3469         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3470         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3471         R_METAG_TLS_DTPOFF): New.
3473 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3474             Matt Clay  <mclay@lycos.com>
3476         [BZ #20357]
3477         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3478         to call __mpsin/__mpcos and to negate values.
3479         * math/auto-libm-test-in: Add test.
3480         * math/auto-libm-test-out: Regenerate.
3482 2016-07-18  Zack Weinberg  <zackw@panix.com>
3484         * grp/Makefile: Don't install the internal header grp-merge.h.
3486 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3488         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3490 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3492         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3494 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3496         [BZ #15368]
3497         * sysdeps/unix/sysv/linux/nptl-signals.h
3498         (__nptl_clear_internal_signals): New function.
3499         (__libc_signal_block_all): Likewise.
3500         (__libc_signal_block_app): Likewise.
3501         (__libc_signal_restore_set): Likewise.
3502         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3503         implementation.
3504         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3505         the cached pid/tid value in pthread structure.
3507 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3509         [BZ #20347]
3510         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3512 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3514         [BZ #20348]
3515         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3516         preadv64, pwrite64 and pwritev64.
3518 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3520         [BZ #20350]
3521         * posix/tst-preadwrite.c: Renamed to ...
3522         * posix/tst-preadwrite-common.c: This.
3523         (PREAD): Removed.
3524         (PWRITE): Likewise.
3525         (STRINGIFY): Likewise.
3526         (STRINGIFY2): Likewise.
3527         (do_prepare): Make it static and remove function arguments.
3528         (do_test): Likewise.
3529         (PREPARE): Updated.
3530         (TEST_FUNCTION): New.
3531         (name): Make it static.
3532         (fd): Likewise.
3533         (do_prepare): Use create_temp_file.
3534         (do_test): Renamed to ...
3535         (do_test_with_offset): This.  Make it static and accept offset.
3536         Properly check return value of PWRITE and PREAD.  Return bytes
3537         read.  Don't close fd nor unlink name.
3538         * posix/tst-preadwrite.c: Rewrite.
3539         * posix/tst-preadwrite64.c: Likewise.
3541 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3543         [BZ #20309]
3544         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3545         -mtls-dialect=gnu2 works.
3546         * configure: Regenerated.
3547         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3548         (tests): Add tst-gnu2-tls1.
3549         (modules-names): Add tst-gnu2-tls1mod.
3550         ($(objpfx)tst-gnu2-tls1): New.
3551         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3552         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3553         * elf/tst-gnu2-tls1.c: New file.
3554         * elf/tst-gnu2-tls1mod.c: Likewise.
3555         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3556         bytes for push in the PLT entry to align the stack.
3558 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3560         [BZ #20349]
3561         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3563 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3565         [BZ #18707]
3566         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3567         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3569 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3571         * sysdeps/unix/sysv/linux/sysdep.h
3572         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3573         guards.
3574         * misc/tst-preadvwritev-common.c: New file.
3575         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3576         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3577         a check for files larger than 2GB.
3579         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3580         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3581         * sysdeps/unix/sysv/linux/pread.c
3582         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3583         __OFF_T_MATCHES_OFF64_T.
3584         * sysdeps/unix/sysv/linux/pread64.c
3585         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3586         * sysdeps/unix/sysv/linux/preadv.c
3587         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3588         * sysdeps/unix/sysv/linux/preadv64.c
3589         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3590         * sysdeps/unix/sysv/linux/pwrite.c
3591         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3592         * sysdeps/unix/sysv/linux/pwrite64.c
3593         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3594         * sysdeps/unix/sysv/linux/pwritev.c
3595         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3596         * sysdeps/unix/sysv/linux/pwritev64.c
3597         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3599 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3601         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3602         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3604 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3606         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3608 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3610         [BZ #20240]
3611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3612         (CFLAGS-s_modf-ppc32.c): New variable.
3613         (CFLAGS-s_modff-ppc32.c): Likewise.
3614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3615         (CFLAGS-s_modf-ppc64.c): Likewise.
3616         (CFLAGS-s_modff-ppc64.c): Likewise.
3618 2016-07-07  Andreas Schwab  <schwab@suse.de>
3620         [BZ #20263]
3621         * nptl/tst-robust10.c: New test.
3622         * nptl/Makefile (tests): Add tst-robust10.
3624 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3626         [BZ #20263]
3627         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3629 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3631         * sysdeps/s390/linkmap.h (struct link_map_machine):
3632         Remove member gotplt and add member jmprel.
3633         * sysdeps/s390/s390-32/dl-machine.h
3634         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3635         instead of gotplt with &got[3].
3636         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3637         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3639 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3641         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3643 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3645         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3646         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3647         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3648         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3649         * libio/vtables.c (_IO_vtable_check)
3650         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3651         * libio/libioP.h (IO_set_accept_foreign_vtables)
3652         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3654 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3656         [BZ #20314]
3657         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3658         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3659         $(common-objpfx)cmath.
3660         ($(common-objpfx)cstdlib): New target.
3661         ($(common-objpfx)cmath): Likewise.
3663 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3665         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3667 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3669         [BZ #20327]
3670         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3671         are not part of the string.
3673 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3675         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3676         * nptl/tst-cancel4-common.h (fifoname): New variable.
3677         (fifofd): Likewise.
3678         (cl_fifo): New function.
3679         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3680         SIGINT.
3681         (tf_open): Add early cancel test.
3683 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3685         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3687 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3689         * sysdeps/generic/ldsodefs.h
3690         (dl_symbol_visibility_binds_local_p): New inline function.
3691         * elf/dl-addr.c (determine_info): Treat hidden and internal
3692         symbols as local.
3693         * elf/dl-lookup.c (do_lookup_x): Likewise.
3694         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3696 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3698         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3699         invalid exception for a sNaN input.
3700         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3701         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3702         (__nearbyint_vis3): Likewise
3703         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3704         (__nearbyintf_vis3): Likewise
3705         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3706         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3707         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3708         Likewise.
3709         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3710         Likewise.
3712 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3714         [BZ #20139]
3715         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3716         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3717         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3718         2.24 or above.
3719         (HAVE_AVX512_ASM_SUPPORT): Removed.
3720         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3721         * sysdeps/x86_64/configure: Regenerated.
3722         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3723         check unconditional.
3724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3725         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3726         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3727         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3728         Likewise.
3729         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3730         Likewise.
3731         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3732         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3733         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3734         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3735         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3736         Likewise.
3737         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3738         Likewise.
3739         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3740         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3741         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3742         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3743         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3744         Likewise.
3745         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3746         Likewise.
3747         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3748         Likewise.
3749         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3750         Likewise.
3751         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3752         Likewise.
3753         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3754         Likewise.
3755         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3756         Likewise.
3757         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3758         Likewise.
3759         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3760         Likewise.
3761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3762         Likewise.
3763         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3764         Likewise.
3766 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3768         [BZ #20024]
3769         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3770         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3771         of this implementation of vector function.
3772         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3773         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3774         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3775         Likewise.
3776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3777         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3778         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3779         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3780         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3781         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3782         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3783         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3784         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3785         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3786         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3787         for testing vector sincos with fixed ABI.
3788         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3789         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3790         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3791         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3792         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3793         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3794         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3795         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3796         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3797         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3798         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3799         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3800         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3801         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3802         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3803         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3805 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3807         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3809 2016-06-30  Anton Blanchard  <anton@samba.org>
3811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3812         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3813         s_sinf-ppc64.
3814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3817         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3819 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3823         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3824         e_expf-ppc64.
3825         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3826         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3827         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3828         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3830 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3832         [BZ #20277]
3833         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3834         when SHARED is defined.
3836 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3838         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3839         (index_arch_Prefer_ERMS): Likewise.
3840         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3841         __memcpy_erms for Prefer_ERMS.
3842         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3843         (__memmove_erms): Enabled for libc.a.
3844         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3845         __memmove_erms or Prefer_ERMS.
3846         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3847         __mempcpy_erms for Prefer_ERMS.
3848         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3849         __memset_erms for Prefer_ERMS.
3851 2016-06-30  Andreas Schwab  <schwab@suse.de>
3853         [BZ #20262]
3854         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3855         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3856         of memory.
3858 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3860         [BZ #18645]
3861         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3862         (test-extras): Add tst-cleanupx4aux.
3863         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3864         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3865         tst-cleanupx4aux.o.
3866         * nptl/tst-cleanupx4aux.c: New file.
3868 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3870         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3872 2016-06-29  Andreas Schwab  <schwab@suse.de>
3874         [BZ #20260]
3875         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3876         address before the beginning of the string as an integer to avoid
3877         array-bounds warning.
3879 2016-06-28  Richard Henderson  <rth@redhat.com>
3881         * elf/elf.h (EM_BPF): New.
3882         (EM_NUM): Update.
3883         (R_BPF_NONE, R_BPF_MAP_FD): New.
3885         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3886         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3887         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3888         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3889         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3890         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3891         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3892         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3893         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3894         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3895         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3896         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3897         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3898         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3899         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3900         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3901         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3902         (EM_NUM): Update.
3904 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3906         [BZ #18960]
3907         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3908         Set _nl_current_LC_CATEGORY_used to two instead of one.
3910 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3912         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3913         (do_test): ... this.
3914         (TEST_FUNCTION): New macro.
3915          Include test-skeleton.c.
3916         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3917         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3919 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3921         [BZ #15479]
3922         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3923         floating-point environment rather than just control word.
3924         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3925         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3926         floating-point environment, with "invalid" exceptions merged in,
3927         rather than just control word.
3928         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3929         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3930         "inexact" exceptions.
3932         [BZ #15479]
3933         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3934         floating-point environment rather than just control word.
3935         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3936         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3937         floating-point environment, with "invalid" exceptions merged in,
3938         rather than just control word.
3939         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3940         * math/libm-test.inc (floor_test_data): Do not allow spurious
3941         "inexact" exceptions.
3943         [BZ #15479]
3944         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3945         floating-point environment rather than just control word.
3946         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3947         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3948         floating-point environment, with "invalid" exceptions merged in,
3949         rather than just control word.
3950         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3951         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3952         "inexact" exceptions.
3954 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3956         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3957         __libc_vfork.
3958         (__vfork) [IS_IN (libc)]: Remove alias.
3959         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3960         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3961         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3963 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3965         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3966         of atomic_compare_and_exchange_bool_rel.
3967         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3968         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3969         catomic_compare_and_exchange_bool_rel): Remove.
3970         * sysdeps/aarch64/atomic-machine.h
3971         (atomic_compare_and_exchange_bool_rel): Likewise.
3972         * sysdeps/alpha/atomic-machine.h
3973         (atomic_compare_and_exchange_bool_rel): Likewise.
3974         * sysdeps/arm/atomic-machine.h
3975         (atomic_compare_and_exchange_bool_rel): Likewise.
3976         * sysdeps/mips/atomic-machine.h
3977         (atomic_compare_and_exchange_bool_rel): Likewise.
3978         * sysdeps/microblaze/atomic-machine.h
3979         ( __arch_compare_and_exchange_bool_8_rel,
3980         __arch_compare_and_exchange_bool_16_rel): Likewise.
3981         * sysdeps/powerpc/atomic-machine.h
3982         ( __arch_compare_and_exchange_bool_8_rel,
3983         __arch_compare_and_exchange_bool_16_rel): Likewise.
3984         * sysdeps/powerpc/powerpc32/atomic-machine.h
3985         ( __arch_compare_and_exchange_bool_32_rel,
3986         __arch_compare_and_exchange_bool_64_rel): Likewise.
3987         * sysdeps/powerpc/powerpc64/atomic-machine.h
3988         ( __arch_compare_and_exchange_bool_32_rel,
3989         __arch_compare_and_exchange_bool_64_rel): Likewise.
3990         * sysdeps/tile/atomic-machine.h
3991         (atomic_compare_and_exchange_bool_rel): Likewise.
3993 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3995         [BZ #20296]
3996         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3997         when either argument is a NaN.
3998         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3999         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4001         * math/libm-test.inc (snan_value_ld): New macro.
4002         (isgreater_test_data): Add sNaN tests.
4003         (isgreaterequal_test_data): Likewise.
4004         (isless_test_data): Likewise.
4005         (islessequal_test_data): Likewise.
4006         (islessgreater_test_data): Likewise.
4007         (isunordered_test_data): Likewise.
4008         (nextafter_test_data): Likewise.
4009         (nexttoward_test_data): Likewise.
4010         (remainder_test_data): Likewise.
4011         (remquo_test_data): Likewise.
4012         (significand_test_data): Likewise.
4013         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4015 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4017         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4018         environment macros are defined.
4019         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4021 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4023         [BZ #20191]
4024         Implement vtable verification in libio.
4025         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4026         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4027         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4028         _IO_new_file_init_internal instead of _IO_file_init.
4029         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4030         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4031         * libio/Makefile (routines): Add vtables.
4032         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4033         (_IO_init): Remove, not for internal use.
4034         (_IO_init_internal): Declare, internal replacement for _IO_init.
4035         (_IO_file_init): Remove, not for internal use.
4036         (_IO_new_file_init): Remove, not for internal use.
4037         (_IO_new_file_init_internal): Declare, internal replacement for
4038         _IO_new_file_init.
4039         (_IO_old_file_init): Remove, not for internal use.
4040         (_IO_old_file_init_internal): Declare, internal replacement for
4041         _IO_old_file_init.
4042         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4043         internal use.
4044         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4045         Declare.
4046         (libio_vtable): New macro.
4047         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4048         functions.
4049         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4050         _IO_new_file_init.
4051         (_IO_new_file_init): New externally visible wrapper which disables
4052         vtable verification.
4053         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4054         Define as vtables.
4055         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4056         (_IO_init): New externally visible wrapper which disables
4057         vtable verification.
4058         * libio/iofdopen.c (_IO_new_fdopen): Call
4059         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4060         comment.
4061         * libio/iofopen.c (__fopen_internal): Call
4062         _IO_new_file_init_internal instead of _IO_file_init.
4063         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4064         Define as vtables.
4065         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4066         _IO_new_file_init_internal instead of _IO_file_init.
4067         * libio/iopopen.c (_IO_new_popen): Likewise.
4068         (_IO_proc_jumps): Define as vtable.
4069         * libio/iovdprintf.c (_IO_vdprintf): Call
4070         _IO_new_file_init_internal instead of _IO_file_init.
4071         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4072         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4073         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4074         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4075         _IO_old_file_init.
4076         (_IO_old_file_init): New externally visible wrapper which disables
4077         vtable verification.
4078         (_IO_old_file_jumps): Define as vtable.
4079         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4080         _IO_old_file_init_internal instead of _IO_old_file_init.
4081         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4082         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4083         (_IO_old_proc_jumps): Define as vtable.
4084         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4085         Define as vtables.
4086         * libio/vtables.c: New file.
4087         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4088         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4089         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4090         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4091         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4092         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4093         instead of _IO_init.
4095 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4097         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4099 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4101         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4102         potentially unused.
4104 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4106         * test-skeleton.c (write_message): New function.
4107         * malloc/tst-mallocfork2.c (write_message): Remove.
4108         * debug/tst-longjmp_chk2.c (write_indented): New function.
4109         (write_message): Remove.
4110         (stackoverflow_handler): Call write_indented.
4112 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4114         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4115         "inexact" exceptions after fnstenv.
4116         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4117         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4118         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4120 2015-06-22  Zack Weinberg  <zackw@panix.com>
4122         * sysdeps/generic/bits/hwcap.h: Moved to ...
4123         * bits/hwcap.h: Here.
4125 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4127         * sysdeps/aarch64/memcpy.S (memcpy):
4128         Further tuning for performance.
4130 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4132         [BZ #20284]
4133         * malloc/arena.c (reused_arena): Do not return NULL if we start
4134         out with a non-corrupted arena.
4136 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4138         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4139         * misc/tst-preadvwritev.c: New file.
4140         * misc/tst-preadvwritev64.c: Likewise.
4141         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4142         usage.
4143         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4144         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4145         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4146         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4148 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4150         [BZ #19654]
4151         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4152         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4153         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4154         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4155         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4156         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4157         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4158         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4159         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4160         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4161         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4162         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4163         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4164         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4165         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4166         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4167         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4168         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4169         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4170         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4171         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4172         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4173         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4174         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4175         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4176         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4178 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4180         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4181         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4183 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4185         * sysdeps/aarch64/memcpy.S (memcpy):
4186         Rewrite of optimized memcpy and memmove.
4187         * sysdeps/aarch64/memmove.S (memmove): Remove
4188         memmove code (merged into memcpy.S).
4190 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4192         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4193         * sysdeps/generic/dl-dtv.h: New file.
4194         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4195         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4196         (dtv_t): Remove.
4197         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4198         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4199         (dtv_t): Remove.
4200         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4201         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4202         (dtv_t): Remove.
4203         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4204         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4205         (dtv_t): Remove.
4206         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4207         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4208         (dtv_t): Remove.
4209         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4210         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4211         (dtv_t): Remove.
4212         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4213         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4214         (dtv_t): Remove.
4215         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4216         (dtv_t): Remove.
4217         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4218         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4219         (dtv_t): Remove.
4220         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4221         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4222         (dtv_t): Remove.
4223         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4224         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4225         (dtv_t): Remove.
4226         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4227         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4228         (dtv_t): Remove.
4229         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4230         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4231         (dtv_t): Remove.
4232         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4233         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4234         (dtv_t): Remove.
4235         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4236         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4237         (dtv_t): Remove.
4238         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4239         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4240         (dtv_t): Remove.
4242 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4244         Revert symbol poisoning of  __malloc_initialize_hook.
4245         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4246         poisoning.
4247         * malloc/Makefile: Remove un-poisoning.
4248         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4249         instead of old__malloc_initialize_hook.
4250         * malloc/malloc-hooks.h: Likewise.
4251         * malloc/malloc.c: Likewise.
4252         * malloc/mcheck-init.c: Likewise.
4254 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4256         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4258 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4260         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4261         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4262         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4263         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4265 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4267         * NEWS: Mention addition of nextup and nextdown.
4268         * manual/arith.texi: Document nextup and nextdown.
4269         * manual/libm-err-tab.pl: Add nextup and nextdown.
4270         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4271         * math/Versions (libm): Add GLIBC_2.24.
4272         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4273         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4274         Add new test.
4275         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4276         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4277         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4278         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4279         (nextup_test_data): Likewise.
4280         (nextdown_test_data): Likewise.
4281         * math/s_nextdown.c: New file.
4282         * math/s_nextdownf.c: Likewise.
4283         * math/s_nextdownl.c: Likewise.
4284         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4285         F(nextup): New function.
4286         F(nextdown): Likewise.
4287         * math/tgmath.h: Add nextup and nextdown.
4288         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4289         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4290         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4291         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4292         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4293         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4294         Add nextup and nextdown.
4295         (CFLAGS-nldbl-nextup.c): New variable.
4296         (CFLAGS-nldbl-nextdown.c): Likewise.
4297         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4298         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4299         * sysdeps/nacl/libm.abilist: Update.
4300         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4301         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4302         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4303         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4304         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4305         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4306         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4307         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4308         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4309         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4310         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4311         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4314         Likewise.
4315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4317         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4318         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4319         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4320         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4321         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4324         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4325         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4326         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4327         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4329 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4331         * manual/pattern.texi: Fix typos & grammar errors.
4333 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4335         * manual/search.texi: Fix typos & grammar errors.
4337 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4339         * manual/message.texi: Fix typos & grammar errors.
4341 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4343         * manual/contrib.texi: Fix spelling typos.
4344         * manual/crypt.texi: Likewise.
4345         * manual/filesys.texi: Likewise.
4346         * manual/locale.texi: Likewise.
4347         * manual/message.texi: Likewise.
4348         * manual/nss.texi: Likewise.
4349         * manual/string.texi: Likewise.
4351 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4353         * manual/locale.texi: Fix typos & grammar errors.
4355 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4357         * manual/charset.texi: Fix typos & grammar errors.
4359 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4361         * manual/string.texi: Fix typos.
4363 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4365         * manual/ctype.texi: Fix typos.
4367 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4369         * manual/memory.texi: Fix various typos & grammar errors.
4371 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4373         [BZ #20255]
4374         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4375         * math/libm-test.inc (fdim_test_data): Add another test.
4377         [BZ #6796]
4378         [BZ #20255]
4379         [BZ #20256]
4380         * math/s_fdim.c: Include <math_private.h>.
4381         (__fdim): Use math_narrow_eval on result.
4382         * math/s_fdimf.c: Include <math_private.h>.
4383         (__fdimf): Use math_narrow_eval on result.
4384         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4385         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4386         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4387         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4388         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4389         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4390         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4391         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4392         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4393         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4394         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4395         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4396         overflow.  Add sNaN tests.
4398         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4399         fpclassify.
4400         * math/s_fdimf.c (__fdimf): Likewise.
4401         * math/s_fdiml.c (__fdiml): Likewise.
4403 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4405         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4406         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4408         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4409         ifunc'ed strcasecmp/strncasecmp.
4410         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4411         [EALIGN]: Removed.
4412         [END]: Likewise.
4413         [__strcasecmp]: Define instead of the above to control symbol name.
4414         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4415         for __strcasecmp_power8.
4416         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4417         for __strncasecmp_power8.
4418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4419         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4420         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4421         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4422         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4423         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4425 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4427         [BZ #20252]
4428         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4429         arguments when second argument is a NaN.
4430         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4431         qNaN tests.
4433         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4434         (conj_test_data): Likewise.
4435         (copysign_test_data): Likewise.
4436         (creal_test_data): Likewise.
4437         (fma_test_data): Likewise.
4438         (fmod_test_data): Likewise.
4440         [BZ #20250]
4441         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4442         itself.
4443         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4444         zero input to itself.
4445         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4446         Likewise.
4447         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4448         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4449         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4450         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4451         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4453 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4455         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4456         * nptl/tst-cancel4-common.c: New file.
4457         * nptl/tst-cancel4-common.h: Likewise.
4458         * nptl/tst-cancel4.c: Move common definitions to
4459         tst-cancel4-common.{c,h} file.
4460         * nptl/tst-cancel4_1.c: New test.
4461         * nptl/tst-cancel4_2.c: New test.
4463 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4465         [BZ #20248]
4466         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4467         (write_message): New function.
4468         (stackoverflow_handler): Call it instead of printf, to avoid
4469         excessive stack usage by printf.
4470         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4472 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4474         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4475         (prio_inherit_missing): Remove define.
4476         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4477         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4479         Likewise.
4480         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4481         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4483         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4484         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4485         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4487 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4489         [BZ #19670]
4490         [BZ #19672]
4492         * io/test-lfs.c (do_prepare): Use xmalloc.
4493         * io/tst-fcntl.c (do_prepare): Likewise.
4494         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4495         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4496         * login/tst-utmp.c (do_prepare): Likewise.
4497         * posix/tst-exec.c (do_prepare): Likewise.
4498         * posix/tst-pathconf.c (prepare): Likewise.
4499         * posix/tst-spawn.c (do_prepare): Likewise.
4500         * posix/tst-truncate.c (do_prepare): Likewise.
4501         * rt/tst-aio.c (do_prepare): Likewise.
4502         * rt/tst-aio64.c (do_prepare): Likewise.
4504 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4506         [BZ #20237]
4507         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4508         (get*ent): Set entidx to NULL during initialization.  If entidx is
4509         NULL, start iteration from the beginning.
4511 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4513         * malloc/malloc.c (musable): Return correct size for dumped fake
4514         mmapped chunk.
4516 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4518         [BZ #20222]
4519         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4520         (_IO_cookie_write): Likewise.
4521         (_IO_cookie_seek): Likewise.
4522         (_IO_cookie_close): Likewise.
4523         (_IO_old_cookie_seek): Likewise.
4524         (set_callbacks): New function.
4525         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4527 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4529         * locale/programs/localedef.c (oldstyle_tables): Remove.
4530         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4532 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4534         [BZ #20240]
4535         * math/Makefile (CFLAGS-s_modf.c): New variable.
4536         (CFLAGS-s_modff.c): Likewise.
4537         (CFLAGS-s_modfl.c): Likewise.
4538         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4540 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4542         [BZ #20215]
4543         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4544         [!__GNUC_PREREQ (3,2)]: Likewise.
4546 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4548         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4549         (msghdr.msg_controllen): Likewise.
4550         (cmsghdr.cmsg_len): Likewise.
4551         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4552         ptw-oldsendmsg.
4553         (CFLAGS-oldrecvmsg.c): Remove rule.
4554         (CFLAGS-oldsendmsg.c): Likewise.
4555         (CFLAGS-recvmsg.c): Add rule.
4556         (CFLAGS-sendmsg.c): Likewise.
4557         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4558         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4559         (CFLAGS-recvmsg.c): Remove rule.
4560         (CFLAGS-sendmsg.c): Likewise.
4561         (CFLAGS-oldrecvmsg.c): Likewise.
4562         (CFLAGS-oldsendmsg.c): Likewise.
4563         (CFLAGS-recvmmsg.c): Likewise.
4564         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4565         to kernel defined interfaces.
4566         (msghdr.msg_controllen): Likewise.
4567         (cmsghdr.cmsg_len): Likewise.
4568         (msghdr.__glibc_reserved1): Remove member.
4569         (msghdr.__glibc_reserved2): Likewise.
4570         (cmsghdr.__glibc_reserved1): Likewise.
4571         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4572         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4573         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4574         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4575         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4576         version.
4577         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4578         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4579         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4580         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4581         Remove recvmsg and sendmsg.
4582         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4583         Likewise.
4584         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4585         Likewise.
4586         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4587         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4588         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4589         Likewise.
4590         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4591         Likewise.
4592         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4593         [libc] (GLIBC_2.24): Likewise.
4594         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4595         Likewise.
4596         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4597         Likewise.
4598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4599         [libc] (GLIBC_2.24): Likewise.
4600         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4601         Likewise.
4602         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4603         Likewise.
4604         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4605         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4608         Likewise.
4609         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4610         Likewise.
4611         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4612         Likewise.
4613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4614         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4615         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4616         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4617         version for {recv,send,recm,sendm}msg.
4618         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4619         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4620         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4621         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4622         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4623         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4624         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4625         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4626         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4627         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4628         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4629         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4631         Likewise.
4632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4633         Likewise.
4634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4636         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4637         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4638         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4639         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4640         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4641         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4644         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4645         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4646         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4648 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4650         [BZ #19564]
4651         Remove __malloc_initialize_hook from the API.
4652         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4653         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4654         #pragma GCC poison.
4655         * malloc/malloc-hooks.h: New file.
4656         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4657         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4658         (old__malloc_initialize_hook): Rename from
4659         __malloc_initialize_hook to evade poisoning.  Turn into compat
4660         symbol.
4661         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4662         __malloc_initialize_hook.
4663         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4664         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4665         * manual/memory.texi (Hooks for Malloc): Remove
4666         __malloc_initialize_hook.  Adjust hook example.
4668 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4670         [BZ #20235]
4671         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4672         itself.
4673         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4674         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4676         [BZ #20234]
4677         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4678         infinity or NaN input to itself.
4680         [BZ #20233]
4681         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4682         to itself.
4684         [BZ #20232]
4685         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4686         itself.
4688 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4690         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4691         __libc_start_main via GOT.
4693 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4695         * sysdeps/x86_64/memcopy.h: New file.
4696         * sysdeps/x86_64/wordcopy.c: Likewise.
4698 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4700         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4701         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4702         <cstdlib>.
4703         (optimization_barrier): New.
4704         (do_test): Use it.  Call quick_exit in the global namespace.
4705         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4706         instead of <cstdlib>, <thread>.
4707         (optimization_barrier): New.
4708         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4709         Call quick_exit in the global namespace.
4710         (do_test): Call optimization_barrier.  Use pthread_create,
4711         pthread_join instead of std::thread.
4713 2016-06-09  Andreas Schwab  <schwab@suse.de>
4715         [BZ #19755]
4716         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4717         new entries in auto-propagate mode.
4718         * nscd/grpcache.c (cache_addgr): Likewise.
4720 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4722         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4723         New functions.
4724         (add_temp_file): Use them.
4726 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4728         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4730 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4732         [BZ #20229]
4733         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4734         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4735         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4737         [BZ #20228]
4738         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4739         itself.
4740         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4741         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4743         [BZ #20227]
4744         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4745         itself.
4746         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4747         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4748         * math/libm-test.inc (log_test_data): Add sNaN tests.
4750         [BZ #20226]
4751         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4752         itself.
4753         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4754         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4755         (exp10_test_data): Likewise.
4756         (expm1_test_data): Likewise.
4758         [BZ #20225]
4759         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4760         itself.
4761         * math/s_ldexpf.c (__ldexpf): Likewise.
4762         * math/s_ldexpl.c (__ldexpl): Likewise.
4763         * math/w_scalbln.c (__w_scalbln): Likewise.
4764         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4765         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4766         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4767         (scalbln_test_data): Likewise.
4769         [BZ #20224]
4770         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4771         argument to itself.
4772         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4774 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4776         [BZ #19776]
4777         * sysdeps/x86_64/memcpy.S: Make it dummy.
4778         * sysdeps/x86_64/mempcpy.S: Likewise.
4779         * sysdeps/x86_64/memmove.S: New file.
4780         * sysdeps/x86_64/memmove_chk.S: Likewise.
4781         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4782         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4783         * sysdeps/x86_64/memmove.c: Removed.
4784         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4785         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4786         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4787         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4788         Likewise.
4789         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4790         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4792         memcpy-sse2-unaligned, memmove-avx-unaligned,
4793         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4795         (__libc_ifunc_impl_list): Replace
4796         __memmove_chk_avx512_unaligned_2 with
4797         __memmove_chk_avx512_unaligned.  Remove
4798         __memmove_chk_avx_unaligned_2.  Replace
4799         __memmove_chk_sse2_unaligned_2 with
4800         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4801         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4802         with __memmove_avx512_unaligned.  Replace
4803         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4804         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4805         with __memcpy_chk_avx512_unaligned.  Remove
4806         __memcpy_chk_avx_unaligned_2.  Replace
4807         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4808         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4809         Replace __memcpy_avx512_unaligned_2 with
4810         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4811         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4812         with __mempcpy_chk_avx512_unaligned.  Remove
4813         __mempcpy_chk_avx_unaligned_2.  Replace
4814         __mempcpy_chk_sse2_unaligned_2 with
4815         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4816         Replace __mempcpy_avx512_unaligned_2 with
4817         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4818         Replace __mempcpy_sse2_unaligned_2 with
4819         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4820         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4821         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4822         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4823         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4824         (ENTRY): Removed.
4825         (END): Likewise.
4826         (ENTRY_CHK): Likewise.
4827         (libc_hidden_builtin_def): Likewise.
4828         Don't include ../memcpy.S.
4829         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4830         __memcpy_chk_avx512_unaligned_erms and
4831         __memcpy_chk_avx512_unaligned.  Use
4832         __memcpy_chk_avx_unaligned_erms and
4833         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4834         Default to __memcpy_chk_sse2_unaligned.
4835         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4836         Change function suffix from unaligned_2 to unaligned.
4837         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4838         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4839         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4840         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4841         (ENTRY): Removed.
4842         (END): Likewise.
4843         (ENTRY_CHK): Likewise.
4844         (libc_hidden_builtin_def): Likewise.
4845         Don't include ../mempcpy.S.
4846         (mempcpy): New.  Add a weak alias.
4847         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4848         __mempcpy_chk_avx512_unaligned_erms and
4849         __mempcpy_chk_avx512_unaligned.  Use
4850         __mempcpy_chk_avx_unaligned_erms and
4851         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4852         Default to __mempcpy_chk_sse2_unaligned.
4854 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4856         [BZ #19881]
4857         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4858         into ...
4859         * sysdeps/x86_64/memset.S: This.
4860         (__bzero): Removed.
4861         (__memset_tail): Likewise.
4862         (__memset_chk): Likewise.
4863         (memset): Likewise.
4864         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4865         defined.
4866         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4867         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4868         (__memset_zero_constant_len_parameter): Check SHARED instead of
4869         PIC.
4870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4871         memset-avx2 and memset-sse2-unaligned-erms.
4872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4873         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4874         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4875         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4876         (__bzero): Enabled.
4877         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4878         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4879         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4880         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4881         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4882         (memset): Removed.
4883         (__memset_chk): Likewise.
4884         (MEMSET_SYMBOL): New.
4885         (libc_hidden_builtin_def): Replace __memset_sse2 with
4886         __memset_sse2_unaligned.
4887         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4888         __memset_chk_sse2 and __memset_chk_avx2 with
4889         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4890         Use __memset_chk_sse2_unaligned_erms or
4891         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4892         __memset_chk_avx512_unaligned_erms and
4893         __memset_chk_avx512_unaligned.
4895 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4897         * math/gen-auto-libm-test.c (fp_format_desc): remove
4898         suffix member.
4899         (output_generic_value): Remove usage of suffix member,
4900         and the resulting unuse of the fp_format argument.
4901         (output_for_one_input_case): Remove unused fp_format
4902         parameter.
4904         * math/auto-libm-test-out: Regenerate.
4906         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4907         usage with TEST_COND_ibm128.
4908         (TEST_COND_flt_32): Remove.
4909         (TEST_COND_dbl_64): Remove.
4910         (TEST_COND_ldbl_96_intel): Remove.
4911         (TEST_COND_ldbl_96_m68k): Remove.
4912         (TEST_COND_ldbl_128): Remove.
4914 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4916         * auto-libm-test-in:
4917         Replace flt-32 usage with binary32.
4918         Replace dbl-64 usage with binary64.
4919         Replace ldbl-intel-96 usage with intel96.
4920         Replace ldbl-m68k-96 usage with m68k96.
4921         Replace ldbl-128ibm usage with ibm128.
4922         Replace ldbl-128 usage with binary128.
4924         * auto-libm-test-out: Regenerate.
4926 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4928         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4929         (parse_ulps): Dynamically generate type name matching
4930         string from all_floats.
4931         (get_ulps): Generate the ulps as an array instead.
4932         (output_ulps): Dynamically compose the type based
4933         on the number of supported formats, and print
4934         the indices as type specific helper macros.
4936         * math/libm-test.inc: Remove comment about CHOOSE.
4937         (ulp_data): Generate the type in libm-test-ulps.h.
4938         (ULP_IDX): New macro.
4939         (find_ulps): Update usage of max_ulp.
4941         * math/test-double-vlen2.h (CHOOSE): Remove.
4942         * math/test-double-vlen4.h (CHOOSE): Likewise.
4943         * math/test-double-vlen8.h (CHOOSE): Likewise.
4944         * math/test-float.c (CHOOSE): Likewise.
4945         * math/test-float-finite.c (CHOOSE): Likewise.
4946         * math/test-double.c (CHOOSE): Likewise.
4947         * math/test-double-finite.c (CHOOSE): Likewise.
4948         * math/test-idouble.c (CHOOSE): Likewise.
4949         * math/test-ifloat.c (CHOOSE): Likewise.
4950         * math/test-ildoubl.c (CHOOSE): Likewise.
4951         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4952         * math/test-ldouble.c (CHOOSE): Likewise.
4954         * math/test-float.h (TEST_FLOAT): Remove.
4955         * math/test-double.h (TEST_DOUBLE): Likewise.
4956         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4958 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4960         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4961         (parse_args): Strip C suffix from floating point literals
4962         typed with 'f' and wrap them with LIT().
4964         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4965         (test_ff_f_data_nexttoward): Rename to
4966         (test_fj_f_data): New struct.
4967         (nexttoward_test_data): Relabel tests as
4968         TEST_fj_f instead of TEST_ff_f.
4970 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4972         Emacs bug 23726.
4973         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4974         (__libc_realloc): Correct size computation for dumped fake mmapped
4975         chunks.
4977 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4979         [BZ #20219]
4980         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4981         to itself.
4982         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4984         [BZ #20218]
4985         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4986         to itself.
4987         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4989 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4991         [BZ #20195]
4992         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4993         check to ...
4994         (init_cpu_features): Here.
4996 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4998         [BZ #20214]
4999         * sysdeps/unix/sysv/linux/bits/in.h
5000         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5001          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5002         Define to 1.
5003         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5004          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5005         Define to 0.
5006         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5007         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5009 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5011         [BZ #20198]
5012         * stdlib/Makefile (tests): Add tst-quick_exit, and
5013         tst-thread-quick_exit.
5014         [ifeq ($(have-cxx-thread_local),yes)]
5015         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5016         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5017         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5018         (LDLIBS-tst-thread-quick_exit): Likewise.
5019         [ifneq ($(have-cxx-thread_local),yes)]
5020         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5021         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5022         If run_dtors is true call __call_tls_dtors.
5023         (exit): Call __run_exit_handlers with run_dtors set to true.
5024         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5025         definition.
5026         * stdlib/quick_exit.c (quick_exit): Remove function.
5027         (__new_quick_exit): New function.
5028         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5029         function.
5030         * stdlib/tst-quick_exit.cc: New file.
5031         * stdlib/tst-thread-quick_exit.cc: New file.
5032         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5033         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5034         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5035         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5036         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5037         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5038         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5039         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5040         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5041         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5042         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5043         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5044         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5045         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5046         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5047         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5052         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5053         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5054         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5055         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5056         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5059         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5060         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5061         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5063 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5065         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5066         a typo in comments.
5068 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5070         [BZ #20213]
5071         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5072         argument to itself.
5073         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5075 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5077         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5078         required flags.
5079         (CFLAGS-pwritev64.c): Likewise.
5080         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5081         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5082         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5083         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5084         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5085         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5086         syscall from auto-generation.
5087         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5088         [WORDSIZE == 64] (pwritev64): Remove macro.
5089         [!PWRITEV] (PWRITEV): Likewise.
5090         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5091         [!PWRITEV] (PWRITE): Likewise.
5092         [!PWRITEV] (OFF_T): Likewise.
5093         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5094         (LO_HI_LONG): Remove macro.
5095         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5096         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5097         (PWRITEV): Remove macro.
5098         (PWRITEV_REPLACEMENTE): Likewise.
5099         (PWRITE): Likewise.
5100         (OFF_T): Likewise.
5101         (pwritev64): New function.
5102         * nptl/tst-cancel4.c (tf_writev): Add test.
5104         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5105         required flags.
5106         (CFLAGS-preadv64.c): Likewise.
5107         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5108         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5109         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5110         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5111         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5112         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5113         syscall from auto-generation.
5114         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5115         [WORDSIZE == 64] (preadv64): Remove macro.
5116         [!PREADV] (PREADV): Likewise.
5117         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5118         [!PREADV] (PREAD): Likewise.
5119         [!PREADV] (OFF_T): Likewise.
5120         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5121         (LO_HI_LONG): Remove macro.
5122         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5123         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5124         (PREADV): Remove macro.
5125         (PREADV_REPLACEMENTE): Likewise.
5126         (PREAD): Likewise.
5127         (OFF_T): Likewise.
5128         (preadv64): New function.
5129         * nptl/tst-cancel4.c (tf_preadv): Add test.
5131 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5133         [BZ #20212]
5134         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5135         argument to itself.
5136         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5138 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5140         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5141         New symbol defined as libc_hidden_def.
5142         (strcasestr): Became a weak alias to __strcasestr.
5143         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5144         according to multi-arch support.  Move __stpncpy hidden
5145         definition from here to...
5146         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5147         symbol stpncpy.
5148         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5149         libc_hidden_builtin_def.
5150         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5151         memset symbol to use when multi-arch support is available.
5153 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5155         * dlfcn/tst-rec-dlopen.c: Include string.h.
5157 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5159         * manual/install.texi: Remove mention of --without-tls
5160         * INSTALL: Regenerate.
5162 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5164         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5165         Remove.
5166         (call_function, interposed_malloc_called): New variables.
5167         (malloc): New function.
5168         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5169         and clear call_function as needed.
5171 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5173         * include/wchar.h (__wmemset): Use __typeof.
5175 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5177         * include/wchar.h (__wmemset): Declare function without typeof.
5179 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5181         [BZ #20205]
5182         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5183         exponent when incrementing negative subnormal with low mantissa
5184         word zero.
5185         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5186         Add another test.
5188 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5190         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5191         __wmemset instead of wmemset.
5193 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5195         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5196         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5197         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5198         __USE_KERNEL_IPV6_DEFS to 0.
5199         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5200         Update comment.
5202 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5204         [BZ #19861]
5205         Do not use IFUNC resolver with potentially unrelocated symbol.
5206         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5207         (DEFINE_FORK): Remove macro and inline definition.
5208         (fork_alias): Renamed from fork_ifunc.
5209         (__fork_alias): Renamed from __fork_ifunc.
5211 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5213         [BZ 19653]
5214         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5215         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5217 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5219         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5220         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5221         i386-linux-gnu).
5222         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5223         Set to no.
5224         * sysdeps/mach/hurd/configure: Refresh.
5226 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5228         [BZ #20178]
5229         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5230         on failure instead of exit.
5232 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5234         [BZ #3629]
5235         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5236         of POSIX.1-2008.
5238 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5240         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5241           Use PLT entry for calling _hurd_self_sigstate.
5243 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5245         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5246         available logical processors with SMT level type sharing L2
5247         cache for Intel processors.
5249 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5251         [BZ #20160]
5252         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5253         argument to itself before returning the result.
5254         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5255         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5256         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5257         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5258         Likewise.
5259         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5260         Likewise.
5261         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5262         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5263         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5264         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5265         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5266         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5268         [BZ #20160]
5269         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5270         argument to itself before returning the result.
5271         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5272         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5273         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5274         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5275         Likewise.
5276         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5277         Likewise.
5278         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5279         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5280         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5281         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5282         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5283         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5285 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5287         * libm-test.inc: Replace usage of M_El with
5288         (lit_e): New macro.
5290 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5292         * libm-test.inc: Replace usage of M_PI_4l with
5293         (lit_pi_4_d): New macro.
5295 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5297         * libm-test.inc: Replace usage of M_PIl with
5298         (lit_pi): New macro.
5300 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5302         * libm-test.inc: Replace usage of M_PI2l with
5303         (lit_pi_2_d): New macro.
5305         * math/test-double.h (LITM): New macro.
5306         * math/test-float.h (LITM): Likewise.
5307         * math/test-ldouble.h (LITM): Likewise.
5309 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5311         * libm-test.inc (M_PI_34l): Rename to
5312         (lit_pi_3_m_4_d): New Macro.
5313         (M_PI_34_LOG10El): Rename to
5314         (lit_pi_3_m_4_ln10_m_d): New Macro.
5315         (M_PI2_LOG10El): Rename to
5316         (lit_pi_2_ln10_m_d):  New Macro.
5317         (M_PI4_LOG10El): Rename to
5318         (lit_pi_4_ln10_m_d):  New Macro.
5319         (M_PI_LOG10El): Rename to
5320         (lit_pi_ln10_d):  New Macro.
5322 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5324         [BZ #20157]
5325         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5326         determine whether to negate low half if [_ARCH_PPCGR], and integer
5327         comparison otherwise.
5328         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5329         determine whether to negate low half.
5331         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5332         (NO_TEST_INLINE_DOUBLE): Likewise.
5333         (TEST_COND_x86_64): Likewise.
5334         (TEST_COND_x86): Likewise.
5335         (M_PI_6l): Likewise.
5337 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5339         * math/libm-test.inc:
5340         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5341         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5342         (TEST_LDOUBLE): Update usage to evaluate as true if
5343         the guarded tests match the property being tested.
5344         (LDBL_MAX_EXP): Change to MAX_EXP.
5345         (LDBL_MIN_EXP): Change to MIN_EXP.
5346         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5347         nexttoward tests.
5349 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5351         * math/libm-test.inc:
5352         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5353         (TYPE_MIN): Likewise.
5354         (TYPE_TRUE_MIN): Likewise.
5355         (TYPE_MAX): Likewise.
5356         (MIN_EXP): Likewise.
5357         (MAX_EXP): Likewise.
5358         (MANT_DIG): Likewise.
5360         (FSTR_MAX): New macro.
5361         (__CONCATX): Likewise.
5362         (QTYPE_STR): Likewise.
5363         (TEST_COND_binary32): Likewise.
5364         (TEST_COND_binary64): Likewise.
5365         (TEST_COND_binary128): Likewise.
5366         (TEST_COND_ibm128): Likewise.
5367         (TEST_COND_intel96): Likewise.
5368         (TEST_COND_m68k96): Likewise.
5370         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5371         (TEST_COND_dbl_64): Likewise.
5372         (TEST_COND_ldbl_96_intel): Likewise.
5373         (TEST_COND_ldbl_96_m68k): Likewise.
5374         (TEST_COND_ldbl_128): Likewise.
5375         (TEST_COND_ldbl_128ibm): Likewise.
5377         (plus_zero): Redefine using LIT macro.
5378         (minus_zero): Likewise.
5379         (plus_infty): Redefine as (INF).
5380         (minux_infty): Redefine as (-INF).
5381         (max_value): Redefine as TYPE_MAX.
5382         (min_value): Redefine as TYPE_MIN.
5383         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5385         (print_float): Refactor to use snprintf to convert FLOAT values
5386         to string. This brings it closer to dropin replacement of strtof
5387         for the TS 18661 defined types.
5388         (update_stats): Likewise.
5389         (print_complex_function_ulps): Likewise.
5390         (print_max_error): Likewise.
5391         (print_complex_max_error): Likewise.
5392         (check_float_internal): Likewise.
5394         * math/test-float.h (PREFIX): New macro.
5395         (LIT): Likewise.
5396         (TYPE_STR): Likewise.
5397         (FTOSTR): Likewise.
5399         * math/test-double.h (PREFIX): New macro.
5400         (LIT): Likewise.
5401         (TYPE_STR): Likewise.
5402         (FTOSTR): Likewise.
5404         * math/test-ldouble.h (PREFIX): New macro.
5405         (LIT): Likewise.
5406         (TYPE_STR): Likewise.
5407         (FTOSTR): Likewise.
5409 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5411         [BZ #20156]
5412         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5413         to itself when zero or not finite.
5414         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5415         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5416         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5417         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5419 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5421         [BZ #20153]
5422         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5423         x * x + x for infinities and NaNs.
5425         [BZ #20151]
5426         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5427         argument to itself before returning result.
5428         (__ieee754_y0l): Likewise.
5429         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5430         (__ieee754_y1l).
5432         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5433         (atan_test_data): Likewise.
5434         (ceil_test_data): Likewise.
5435         (cos_test_data): Likewise.
5436         (cosh_test_data): Likewise.
5437         (erf_test_data): Likewise.
5438         (exp2_test_data): Likewise.
5439         (fabs_test_data): Likewise.
5440         (floor_test_data): Likewise.
5441         (ilogb_test_data): Likewise.
5442         (j0_test_data): Likewise.
5443         (j1_test_data): Likewise.
5444         (jn_test_data): Likewise.
5445         (lgamma_test_data): Likewise.
5446         (lrint_test_data): Likewise.
5447         (llrint_test_data): Likewise.
5448         (logb_test_data): Likewise.
5449         (lround_test_data): Likewise.
5450         (llround_test_data): Likewise.
5451         (nearbyint_test_data): Likewise.
5452         (rint_test_data): Likewise.
5453         (round_test_data): Likewise.
5454         (sin_test_data): Likewise.
5455         (sincos_test_data): Likewise.
5456         (sinh_test_data): Likewise.
5457         (sqrt_test_data): Likewise.
5458         (tan_test_data): Likewise.
5459         (tanh_test_data): Likewise.
5460         (tgamma_test_data): Likewise.
5461         (trunc_test_data): Likewise.
5462         (y0_test_data): Likewise.
5463         (y1_test_data): Likewise.
5464         (yn_test_data): Likewise.
5466         * math/libm-test.inc: Update comment about NaN testing.
5467         (TEST_SNAN): New macro.
5468         (snan_value): Likewise.
5469         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5470         (fpclassify_test_data): Add sNaN tests.
5471         (isfinite_test_data): Likewise.
5472         (isinf_test_data): Likewise.
5473         (isnan_test_data): Likewise.
5474         (isnormal_test_data): Likewise.
5475         (issignaling_test_data): Likewise.
5476         (signbit_test_data): Likewise.
5477         * math/gen-libm-test.pl (%beautify): Add snan_value.
5478         (show_exceptions): Add argument $test_snan.
5479         (parse_args): Handle snan_value as non-finite.  Update call to
5480         show_exceptions.
5481         * math/Makefile (libm-test-no-inline-cflags): Add
5482         -fsignaling-nans.
5484 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5486         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5487         (CFLAGS-oldsendmsg.c): Add rule.
5488         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5489         Correct recvmsg symbol name.
5490         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5491         Likewise.
5493 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5495         * sysdeps/unix/sysv/linux/Makefile
5496         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5497         oldsendmmsg.
5498         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5499         sendmmsg.
5500         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5501         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5502         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5503         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5505         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5506         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5508         Likewise.
5509         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5510         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5511         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5512         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5513         iovlen and controllen fields to adjust to POSIX specification.
5514         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5516         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5517         and change to correct expected type.
5518         (msghdr.msg_controllen): Likewise.
5519         (cmsghdr.cmsg_len): Likewise.
5520         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5521         expected POSIX assumption about the size.
5522         (msghdr.msg_controllen): Likewise.
5523         (msghdr.__glibc_reserved1): Likewise.
5524         (msghdr.__glibc_reserved2): Likewise.
5525         (cmsghdr.cmsg_len): Likewise.
5526         (cmsghdr.__glibc_reserved1): Likewise.
5527         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5528         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5529         (CFLAGS-sendmsg.c): Remove rule.
5530         (CFLAGS-recvmsg.c): Likewise.
5531         (CFLAGS-oldsendmsg.c): Add rule.
5532         (CFLAGS-oldrecvmsg.c): Likewise.
5533         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5534         recvmsg and sendmsg.
5535         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5536         Likewise.
5537         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5538         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5539         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5540         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5541         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5542         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5543         Likewise.
5544         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5545         Likewise.
5546         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5547         Likewise.
5548         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5549         Likewise.
5550         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5551         Likewise.
5552         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5553         Likewise.
5554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5555         (GLIBC_2.24): Likewise.
5556         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5557         Likewise.
5558         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5559         Likewise.
5560         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5561         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5562         Likewise.
5563         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5564         Likewise.
5565         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5566         Likewise.
5567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5568         (GLIBC_2.24): Likewise.
5569         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5570         Likewise.
5571         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5572         Likewise.
5573         * sysdeps/unix/sysv/linux/Makefile
5574         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5575         (CFLAGS-sendmsg.c): Add rule.
5576         (CFLAGS-recvmsg.c): Likewise.
5577         (CFLAGS-oldsendmsg.c): Likewise.
5578         (CFLAGS-oldrecvmsg.c): Likewise.
5579         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5580         initialization.
5581         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5582         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5583         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5584         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5585         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5586         iovlen and controllen fields to adjust to POSIX specification.
5587         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5588         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5589         added recvmsg and sendmsg.
5590         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5591         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5592         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5593         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5594         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5595         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5596         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5597         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5598         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5599         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5600         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5601         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5603         Likewise.
5604         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5606         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5607         Likewise.
5608         Likewise.
5609         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5610         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5611         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5612         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5613         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5614         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5616         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5618         Likewise.
5619         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5620         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5622         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5623         from auto-generation.
5624         (sendmsg): Likewise.
5625         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5626         (sendmsg): Likewise.
5627         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5628         (sendmsg): Likewise.
5629         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5630         (sendmsg): Likewise.
5631         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5632         (sendmsg): Likewise.
5633         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5634         (sendmsg): Likewise.
5635         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5636         Likewise.
5637         (sendmsg): Likewise.
5638         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5639         (sendmsg): Likewise.
5640         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5642         Remove.
5643         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5644         Likewise.
5645         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5646         Undefine.
5647         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5648         Likewise.
5649         * sysdeps/unix/sysv/linux/kernel-features.h
5650         (__ASSUME_SENDMSG_SYSCALL): Define.
5651         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5652         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5654         Remove.
5655         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5656         Likewise.
5657         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5658         Undefine.
5659         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5660         Likewise.
5661         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5662         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5663         Remove.
5664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5665         Likewise.
5666         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5667         Undefine.
5668         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5669         Likewise.
5670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5671         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5672         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5673         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5674         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5675         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5676         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5677         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5678         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5680 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5682         * stdlib/gen-tst-strtod-round.c: Add backslash to
5683         compile command in comment.
5684         (printfp): Remove the literal suffix, and define an infinite
5685         value as INF to avoid expansion clash with INFINITY.
5686         (round_str): Remove the literal suffix.
5687         (round_for_all): Likewise, remove the now duplicate ldbl-64
5688         entry, and remove some magic constants.
5690         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5691         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5692         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5693         (_CONCAT): New macro.
5694         (CONCAT): Likewise.
5695         (CHOOSE_ld): Likewise.
5696         (CHOOSE_f): Likewise.
5697         (CHOOSE_d): Likewise.
5698         (FTYPE_MEMBER): Likewise.
5699         (BOOL_MEMBER): Likewise.
5700         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5701         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5702         (_XNTRY): Likewise.
5703         (XNTRY): Likewise.
5704         (_ENTRY): Likewise.
5705         (ENTRY): Likewise.
5706         (test_exactness): Generate members via macro.
5707         (test_results): Likewise.
5708         (test): Update members.
5709         (TEST): Redefine using new macros.
5710         (INF): New macro.
5711         (fetestmodes): New structure.
5712         (do_test): Refactor to be type generic.
5713         (test_in_one_mode): Refactor duplicate code into
5714         (GEN_ONE_TEST): New macro.
5716         * stdlib/tst-strtod-round-data.h: Regenerate.
5718         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5719         Extend to pass additional arbitrary parameters to
5720         generators.
5722 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5724         [BZ #15479]
5725         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5726         floating-point state after first floating-point operation on
5727         input.  Restore full floating-point state instead of just rounding
5728         mode.
5729         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5730         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5731         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5732         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5733         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5735         [BZ #15479]
5736         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5737         floating-point state after first floating-point operation on
5738         input.  Restore full floating-point state instead of just rounding
5739         mode.
5740         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5741         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5742         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5743         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5744         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5746 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5748         [BZ #19727]
5749         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5750         valid high surrogate.
5751         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5752         of an utf16 surrogate.
5753         * iconv/gconv_simple.c (BODY): Likewise.
5754         * iconvdata/bug-iconv12.c: New file.
5755         * iconvdata/Makefile (tests): Add bug-iconv12.
5757 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5759         [BZ #19726]
5760         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5761         outptrp in case of an illegal input.
5762         * iconv/tst-iconv6.c: New file.
5763         * iconv/Makefile (tests): Add tst-iconv6.
5765 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5767         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5768         an error in case of a value in range of an utf16 low surrogate.
5770 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5772         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5773         an error in case of a value in range of an utf16 low surrogate.
5775 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5777         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5778         Move to ...
5779         * sysdeps/s390/Makefile: ... here.
5780         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5781         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5782         (BRANCH_ON_COUNT): New define.
5783         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5784         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5785         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5786         run on s390-32, too.
5787         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5788         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5789         run on s390-32, too.
5790         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5791         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5792         run on s390-32, too.
5794 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5796         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5797         etf3eh or new vector loop-variant.
5799 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5801         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5802         etf3eh or new vector loop-variant.
5804 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5806         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5807         or new vector loop-variant.
5809 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5811         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5812         Rename to TR_LOOP and usage of tr instead of troo instruction.
5814 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5816         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5817         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5819 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5821         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5822         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5823         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5824         New override define.
5825         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5827 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5829         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5830         * sysdeps/s390/configure.ac: Add test for S390 vector register
5831         support in gcc.
5832         * sysdeps/s390/configure: Regenerated.
5834 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5836         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5837         Install file from $(objpfx)gconv-modules.
5838         ($(objpfx)gconv-modules): Concatenate architecture specific file
5839         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5840         * sysdeps/s390/gconv-modules: New file.
5841         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5842         Deleted.
5843         ($(objpfx)gconv-modules-s390): Deleted.
5844         (sysdeps-gconv-modules): New variable.
5846 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5848         [BZ #15479]
5849         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5850         of immediate operand to rounding instruction.
5851         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5852         Likewise.
5853         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5854         Likewise.
5855         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5856         Likewise.
5858 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5860         * math/libm-test.inc (MIN_EXP): Directly define as
5861         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5863 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5865         * math/libm-test.inc (MANT_DIG): Directly define as
5866         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5868 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5870         * stdlib/gen-tst-strtod-round.c (main):
5871           Change usage to more closely match the generated
5872           output.  Add usage and compilation instructions.
5873           (string_to_fp): Add and use FILE* parameter as
5874           output target.
5875           (print_fp): Likewise.
5876           (round_str): Likewise.
5877           (round_for_all): Likewise.
5878         * stdlib/tst-strtod-round.c (tests): Move into
5879         * stdlib/tst-strtod-round-data.h: New file.
5881 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5883         [BZ #15479]
5884         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5885         (__round): Do not force "inexact" exception.
5886         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5887         variable.
5888         (__round): Do not force "inexact" exception.
5889         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5890         (__roundf): Do not force "inexact" exception.
5891         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5892         (__roundl): Do not force "inexact" exception.
5893         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5894         (__roundl): Do not force "inexact" exception.
5895         * math/libm-test.inc (round_test_data): Do not allow spurious
5896         "inexact" exceptions.
5898         [BZ #15479]
5899         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5900         exception in comment.
5901         (huge): Remove variable.
5902         (__floor): Do not force "inexact" exception.
5903         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5904         "inexact" exception in comment.
5905         (huge): Remove variable.
5906         (__floor): Do not force "inexact" exception.
5907         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5908         exception in comment.
5909         (huge): Remove variable.
5910         (__floorf): Do not force "inexact" exception.
5911         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5912         exception in comment.
5913         (huge): Remove variable.
5914         (__floorl): Do not force "inexact" exception.
5916         [BZ #15479]
5917         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5918         exception in comment.
5919         (huge): Remove variable.
5920         (__ceil): Do not force "inexact" exception.
5921         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5922         "inexact" exception in comment.
5923         (huge): Remove variable.
5924         (__ceil): Do not force "inexact" exception.
5925         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5926         (__ceilf): Do not force "inexact" exception.
5927         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5928         exception in comment.
5929         (huge): Remove variable.
5930         (__ceill): Do not force "inexact" exception.
5932 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5934         * config.h.in (BIND_NOW): New.
5935         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5936         * configure: Regenerated.
5937         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5938         indirect branch via the GOT slot.
5940 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5942         [BZ #19765]
5943         * sysdeps/s390/mempcpy.S: New File.
5944         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5945         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5946         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5947         Add mempcpy variants.
5948         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5949         (memcpy): Adjust to be usable from mempcpy entry point.
5950         (__memcpy_mvcle): Likewise.
5951         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5952         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5953         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5954         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5955         (__memcpy_z10): Likewise.
5956         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5958 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5960         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5961         Remove __GI_ symbol.
5962         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5963         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5964         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5965         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5966         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5967         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5969 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5971         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5972         Use cghi instead of chi to compare 64bit value.
5974 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5976         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5977         Jump to 1MB check before executing mvc-loop.
5979 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5981         [BZ #6527]
5982         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5983         unconditionally.
5984         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
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  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5995         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5996         (TEST_STRTOD): New macro.
5997         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5999 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6001         * stdlib/tst-strtod6.c (do_test): Use new type generic
6002         invocation of the test function.
6003         (test): Refactor into ...
6004         (TEST_STRTOD): New macro base function.
6006 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6008         CVE-2016-4429
6009         [BZ #20112]
6010         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6011         payload.
6013 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6015         [BZ #20111]
6016         * bits/sockaddr.h (_SS_SIZE): Define.
6017         * bits/socket.h (_SS_SIZE): Remove.
6018         (_SS_PADSIZE): Adjust to account for all padding.
6019         (struct sockaddr_storage): Update comment.  Avoid implicit
6020         padding.
6021         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6022         (_SS_PADSIZE): Adjust to account for all padding.
6023         (struct sockaddr_storage): Update comment.  Avoid implicit
6024         padding.
6025         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6026         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6027         (_SS_PADSIZE): Adjust to account for all padding.
6028         (struct sockaddr_storage): Update comment.  Avoid implicit
6029         padding.
6030         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6031         __SS_SIZE is 126 in this version.
6032         * inet/tst-sockaddr.c: New file.
6033         * inet/Makefile (tests): Add tst-sockaddr.c
6034         (tst-sockaddr.c): Compile with non-strict aliasing.
6036 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6038         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6039         [XPG3 || XPG4].
6040         (NL_ARGMAX): Also expect for [XPG3].
6041         (NL_LANGMAX): Likewise.
6042         (NL_MSGMAX): Likewise.
6043         (NL_NMAX): Likewise.
6044         (NL_SETMAX): Likewise.
6045         (NL_TEXTMAX): Likewise.
6046         (NZERO): Likewise.
6047         (TMP_MAX): Likewise.
6048         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6049         variable.
6051         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6052         (PF_MAX): Update value.
6053         (AF_KCM): New macro.
6054         (SOL_NETBEUI): Likewise.
6055         (SOL_LLC): Likewise.
6056         (SOL_DCCP): Likewise.
6057         (SOL_NETLINK): Likewise.
6058         (SOL_TIPC): Likewise.
6059         (SOL_RXRPC): Likewise.
6060         (SOL_PPPOL2TP): Likewise.
6061         (SOL_BLUETOOTH): Likewise.
6062         (SOL_PNPIPE): Likewise.
6063         (SOL_RDS): Likewise.
6064         (SOL_IUCV): Likewise.
6065         (SOL_CAIF): Likewise.
6066         (SOL_ALG): Likewise.
6067         (SOL_NFC): Likewise.
6068         (SOL_KCM): Likewise.
6069         (MSG_BATCH): New enum value and macro.
6071 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6073         [BZ #18185]
6074         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6075         sharing L2 cache to 2 for Knights Landing.
6077 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6079         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6080         (FTW_DP): Do not expect for [XPG3 || XPG4].
6081         (FTW_SL): Do not expect for [XPG3].
6082         (FTW_SLN): Likewise.
6083         (FTW_PHYS): Likewise.
6084         (FTW_MOUNT): Likewise.
6085         (FTW_DEPTH): Likewise.
6086         (FTW_CHDIR): Likewise.
6087         (nftw): Likewise.
6088         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6089         variable.
6091 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6093         * manual/errno.texi: Fix various typos & grammar errors.
6095 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6097         * manual/intro.texi: Fix duplicated typo.
6099 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6101         [BZ #13304]
6102         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6103         <float.h>, <math_private.h> and <stdlib.h>.
6104         (add_split): New function.
6105         (mul_split): Likewise.
6106         (ext_val): New typedef.
6107         (store_ext_val): New function.
6108         (mul_ext_val): New function.
6109         (compare): New function.
6110         (add_split_ext): New function.
6111         (__fmal): After checking for Inf, NaN and zero, compute result as
6112         an exact sum of scaled double values in round-to-nearest before
6113         adding those up and adjusting for other rounding modes.
6114         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6115         tests of fma.
6116         * math/auto-libm-test-out: Regenerated.
6118 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6120         [BZ #20119]
6121         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6122         processor level type mask for CPUID with EAX == 11.
6124 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6126         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6127         logical threads if the HTT bit is 0.
6128         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6129         (index_cpu_HTT): Likewise.
6130         (reg_HTT): Likewise.
6132 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6134         [BZ #20115]
6135         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6136         Remove alignments on jump targets.
6138 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6140         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6141         (getpwent): Likewise.
6142         (setpwent): Likewise.
6143         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6144         variable.
6146         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6147         (remque): Likewise.
6148         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6149         variable.
6151 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6153         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6154         not being tested.
6156 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6158         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6159         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6160         call.
6161         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6162         (__condvar_cleanup1): Likewise.
6164 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6166         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6167         New
6168         (__pthread_unwind): Renamed to ...
6169         (PTHREAD_UNWIND): This.
6170         (__pthread_enable_asynccancel): Replace
6171         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6173 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6175         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6176         (CLONE_NEWCGROUP): New macro.
6178         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6179         (Q_GETNEXTQUOTA): New macro.
6181 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6183         [BZ #19907]
6184         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6185         buffer updated by the previous run.
6186         * string/test-memcpy.c (do_one_test): Likewise.
6187         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6188         * string/test-memmove.c (do_one_test): Likewise.
6190 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6192         [BZ #20094]
6193         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6194         not [__USE_XOPEN].
6195         (unlockpt): Likewise.
6196         (ptsname): Likewise.
6197         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6198         variable.
6200         [BZ #20076]
6201         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6202         instead of [__USE_UNIX98].
6203         (S_ISSOCK): Likewise.
6204         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6205         variable.
6207         [BZ #20074]
6208         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6209         [__USE_POSIX].
6210         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6211         variable.
6213         [BZ #20051]
6214         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6215         (ttyslot): Do not declare.
6216         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6217         (ttyslot): New prototype.
6218         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6219         variable.
6220         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6222 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6224         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6226 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6228         Fix race condition in tst-mallocfork2, use fewer resources.
6229         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6230         to current process group.
6231         (signal_sender): Yield in the non-sleeping case.
6233 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6235         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6236         (ecvt): Likewise.
6237         (fcvt): Likewise.
6238         (gcvt): Likewise.
6239         (getsubopt): Likewise.
6240         (grantpt): Likewise.
6241         (initstate): Likewise.
6242         (l64a): Likewise.
6243         (mktemp): Likewise.
6244         (mkstemp): Likewise.
6245         (ptsname): Likewise.
6246         (random): Likewise.
6247         (realpath): Likewise.
6248         (setstate): Likewise.
6249         (srandom): Likewise.
6250         (ttyslot): Likewise.
6251         (unlockpt): Likewise.
6252         (valloc): Likewise.
6254         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6255         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6256         variable.
6258 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6260         [BZ #20072]
6261         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6262         init_cpu_features only if SHARED is defined.
6263         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6265 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6267         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6268         non-inclusive caches on Intel processors.
6270 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6272         * malloc/malloc.c (dumped_main_arena_start)
6273         (dumped_main_arena_end): New variables.
6274         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6275         (do_check_chunk): Skip dumped fake mmapped chunks.
6276         (munmap_chunk): Likewise.
6277         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6278         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6279         mmapped chunks.
6280         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6281         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6282         and dumped_main_arena_end to cover the dumped heap.
6284 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6286         * conform/data/time.h-data (getdate_err): Do not expect for
6287         [XPG3].
6288         (getdate): Likewise.
6289         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6290         variable.
6292         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6293         (F_ULOCK): Likewise.
6294         (F_TEST): Likewise.
6295         (F_TLOCK): Likewise.
6296         (useconds_t): Likewise.
6297         (intptr_t): Do not expect for [XPG3] or [XPG4].
6298         (brk): Do not expect for [XPG3]
6299         (fchown): Likewise.
6300         (fchdir): Likewise.
6301         (ftruncate): Likewise.
6302         (getdtablesize): Likewise.
6303         (gethostid): Likewise.
6304         (getpagesize): Likewise.
6305         (getpgid): Likewise.
6306         (getsid): Likewise.
6307         (getwd): Likewise.
6308         (lchown): Likewise.
6309         (lockf): Likewise.
6310         (readlink): Likewise.
6311         (sbrk): Likewise.
6312         (setpgrp): Likewise.
6313         (setregid): Likewise.
6314         (setreuid): Likewise.
6315         (symlink): Likewise.
6316         (sync): Likewise.
6317         (truncate): Likewise.
6318         (ualarm): Likewise.
6319         (usleep): Likewise.
6320         (vfork): Likewise.
6321         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6322         variable.
6324         [BZ #20054]
6325         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6326         not [__USE_UNIX98].
6327         * conform/data/unistd.h-data (gethostname): Do not expect for
6328         [XPG3].
6330         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6331         [!POSIX] (S_IFBLK): Likewise.
6332         [!POSIX] (S_IFCHR): Likewise.
6333         [!POSIX] (S_IFIFO): Likewise.
6334         [!POSIX] (S_IFREG): Likewise.
6335         [!POSIX] (S_IFDIR): Likewise.
6336         [!POSIX] (S_IFLNK): Likewise.
6337         [!POSIX] (S_IFSOCK): Likewise.
6338         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6339         variable.
6340         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6342 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6344         * sysdeps/aarch64/memset.S (__memset):
6345         Rewrite of optimized memset.
6347 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6349         [BZ #19703]
6350         Partially async-signal-safe fork for single-threaded processes.
6351         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6352         variable.  Do not acquire and reset/release malloc and libio locks
6353         in single-threaded processes.
6354         * malloc/tst-mallocfork2.c: New file.
6355         * malloc/Makefile (tests): Add it.
6357 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6359         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6360         argument.  Use scratch buffer instead of extend_alloca.
6361         (gethosts): Use scratch buffer instead of extend_alloca.
6362         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6363         extend_alloca.
6364         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6366 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6368         [BZ #20055]
6369         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6370         instead of [__USE_UNIX98].
6371         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6372         [__USE_UNIX98].
6373         * conform/data/termios.h-data (tcgetsid): Do not expect for
6374         [XPG3].
6375         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6376         variable.
6377         (test-xfail-XPG4/termios.h/conform): Likewise.
6379 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6381         Do not use mcheck in localedef.
6382         * locale/programs/localedef.c (turn_on_mcheck)
6383         (__malloc_initialize_hook): Remove.
6385 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6387         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6388         * sysdeps/s390/s390-64/Makefile: Likewise.
6390 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6392         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6393         Remove ifunc-defines.sym.
6394         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6395         Likewise.
6396         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6397         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6398         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6399         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6400         rtld-global-offsets.sym.
6401         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6402         * sysdeps/x86/cpu-features-offsets.sym: This.
6403         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6404         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6406 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #20073]
6409         * io/sys/stat.h (fchmod): Declare for
6410         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6411         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6412         variable.
6414         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6415         [XPG3] (S_IFSOCK): Likewise.
6416         [XPG3] (S_ISVTX): Likewise.
6417         [XPG3] (S_ISLNK): Likewise.
6418         [XPG3] (S_ISSOCK): Likewise.
6419         [XPG3] (fchmod): Likewise.
6420         [XPG3] (lstat): Likewise.
6421         [XPG3] (mknod): Likewise.
6423         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6424         [XPG3].  Expect type long and XFAIL for [XPG4].
6425         (st_blocks): Likewise.
6427         [BZ #20044]
6428         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6429         (pthread_atfork): New prototype.
6430         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6431         variable.
6433         [BZ #20043]
6434         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6435         prototype.
6437 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6439         [BZ #20017]
6440         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6441         gmtime.
6443 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6445         [BZ #19994]
6446         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6447         flag in _res.options.
6449 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6451         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6452         [XPG3 || XPG4].
6453         (blksize_t): Likewise.
6454         (clockid_t): Likewise.
6455         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6456         variable.
6457         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6459 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6461         * sysdeps/unix/sysv/linux/s390/init-first.c:
6462         Add VDSO_SYMBOL(getcpu).
6463         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6464         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6465         Add VDSO_SYMBOL(getcpu).
6466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6467         New define HAVE_GETCPU_VSYSCALL.
6468         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6470 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6472         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6473         instead of <sysdeps/x86_64/cacheinfo.c>.
6474         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6475         * sysdeps/x86/cacheinfo.c: Here.
6477 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6479         * malloc/malloc-internal.h: Adjust header file guard.
6481 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6483         [BZ #19787]
6484         * inet/getnameinfo.c (check_sprintf_result): New function.
6485         (CHECKED_SNPRINTF): New macro.
6486         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6487         to the host buffer.
6488         (gni_host_local): Use checked_copy to copy the host name.
6489         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6490         (gni_serv_local): Use checked_copy to copy the service name.
6491         (getnameinfo): Remove unnecessary truncation of result buffers.
6493 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6495         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6496         in case of inet_ntop failure.
6498 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6500         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6501         avoid long lines.
6502         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6503         variables.
6504         (gni_host_inet, gni_host_local): Add comment.
6505         (gni_host): Add comment.  Use temporary to avoid long lines.
6507 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6509         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6510         registers specifiers where general purpose registers specifiers should
6511         have been used.
6513 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6515         [BZ #19779]
6516         CVE-2016-1234
6517         Avoid copying names of directory entries.
6518         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6519         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6520         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6521         (struct readdir_result): New type.
6522         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6523         (GL_READDIR): New macros.
6524         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6525         (convert_dirent, convert_dirent64): New functions.
6526         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6527         convert_dirent64.  Adjust references to the readdir result.
6528         * sysdeps/unix/sysv/linux/i386/glob64.c:
6529         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6530         * posix/bug-glob2.c (LONG_NAME): Define.
6531         (filesystem): Add LONG_NAME.
6532         (my_DIR): Increase the size of room_for_dirent.
6534 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6536         [BZ #20041]
6537         * misc/sys/select.h (__need_timespec): Only define if
6538         [__USE_XOPEN2K].
6539         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6540         variable.
6541         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6542         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6543         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6545 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6546             Segher Boessenkool  <segher@gcc.gnu.org>
6548         [BZ #20004]
6549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6550         (__novec_swapcontext): Add missing load.
6552 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6554         [BZ #20023]
6555         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6556         <time.h>.
6557         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6558         variable.
6559         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6561 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6564         flags CLONE_VM compare.
6566 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6568         [BZ #20031]
6569         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6570         completely empty.
6572 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6574         [BZ #19573]
6575         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6576         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6577         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6578         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6579         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6580         (hesiod_free_list): Mark as hidden.
6581         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6582         res_set, res_get.
6583         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6584         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6585         (hesiod_init): Remove obsolete res_ninit call.
6586         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6587         (hesiod_bind): Do not call init.
6588         (get_txt_records): Use res_mkquery, res_send instead of
6589         res_nmkquery, res_nsend.
6590         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6591         instead of _nss_hesiod_init.
6592         (_nss_hesiod_initgroups_dyn): Likewise.
6593         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6594         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6595         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6597 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6599         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6600         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6602 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6604         * hesiod/hesiod.h: Remove RCS keyword.
6605         * hesiod/hesiod_p.h: Likewise.
6607         * hesiod/hesiod.c: Likewise.
6609 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6611         [BZ #12450]
6612         * locale/iso-639.def: Add Samogitian/sgs.
6614 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6616         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6618         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6620 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6621             Carlos O'Donell  <carlos@redhat.com>
6623         [BZ #19072]
6624         * grp/Makefile (headers): Add grp-merge.h
6625         (routines): Add grp-merge.
6626         * grp/getgrgid_r.c: Include grp-merge.h.
6627         (DEEPCOPY_FN): Define.
6628         (MERGE_FN): Define.
6629         * grp/getgrname_r.c: Include grp-merge.h.
6630         (DEEPCOPY_FN): Define.
6631         (MERGE_FN): Define.
6632         * grp/grp-merge.c: New file.
6633         * grp/grp-merge.h: New file.
6634         * include/grp-merge.h: New file.
6635         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6636         __copy_grp@GLIBC_PRIVATE.
6637         * manual/nss.texi (Actions in the NSS configuration): Describe
6638         return, continue, and merge.
6639         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6640         (DEEPCOPY_FN): Define.
6641         (MERGE_FN): Define.
6642         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6643         (DEEPCOPY_FN): Define.
6644         (MERGE_FN): Define.
6645         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6646         [!MERGE_FN]: Define __merge_einval.
6647         (CHECK_MERGE): Define.
6648         (REENTRANT_NAME): Process merge if do_merge is true.
6649         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6650         (__nss_getent_r): Likewise.
6651         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6652         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6654 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6656         [BZ #20012]
6657         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6658         length to calculate the buffer to read.
6659         (fmemopen_write): Set the buffer position based on bytes written.
6660         (fmemopen_seek): Return EINVAL for invalid whence modes.
6662         [BZ #19957]
6663         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6664         tst-getpid2.
6665         (test): Add tst-clone2.
6666         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6667         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6668         pid/tid fields for CLONE_VM.
6669         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6670         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6671         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6672         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6673         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6674         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6675         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6676         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6678         Likewise.
6679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6680         Likewise.
6681         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6682         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6683         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6684         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6685         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6686         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6687         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6688         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6690 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6692         [BZ #19642]
6693         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6694         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6695         (gni_serv_local, gni_serv): New functions extracted from
6696         getnameinfo.
6697         (getnameinfo): Call gni_host and gni_serv to perform the
6698         processing.  Always free scratch buffer.
6700 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6702         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6703         remaining bytes in the dest string, with zeros.
6705 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6707         [BZ #20010]
6708         CVE-2016-3706
6709         * sysdeps/posix/getaddrinfo.c
6710         (convert_hostent_to_gaih_addrtuple): New function.
6711         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6712         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6713         AF_INET data.
6715 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6717         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6718         callback function gl_readdir.
6719         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6720         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6721         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6722         memcpy to copy the name.
6723         * manual/pattern.texi (Calling Glob): Document requirements for
6724         implementations of the gl_readdir callback function.
6725         * manual/examples/mkdirent.c: New example.
6726         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6727         per the manual guidance.
6728         * posix/tst-gnuglob.c (my_readdir): Likewise.
6730 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6732         [BZ #20014]
6733         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6734         not [__USE_POSIX].
6735         (getchar_unlocked): Likewise.
6736         (putc_unlocked): Likewise.
6737         (putchar_unlocked): Likewise.
6738         (flockfile): Likewise.
6739         (ftrylockfile): Likewise.
6740         (funlockfile): Likewise.
6741         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6742         variable.
6743         (test-xfail-XPG4/stdio.h/conform): Likewise.
6745         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6746         Expect constant.
6747         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6748         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6749         variable.
6750         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6751         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6753         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6754         [__USE_LARGEFILE64] (off64_t): Likewise.
6755         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6756         variable.
6758 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6760         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6762 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6764         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6765         * resolv/res_init.c: Likewise.
6766         * resolv/res_mkquery.c: Likewise.
6768 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6770         * resolv/res_init.c (isascii): Do not define.  Use definition in
6771         <ctype.h>.
6772         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6773         (LOG_AUTH): Remove.
6774         (SPRINTF): Remove, adjust caller.
6775         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6777 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6779         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6780         SUNSECURITY conditional.
6781         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6783 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6785         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6786         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6787         Remove BSD-related preprocessor conditionals.
6788         * conf/portability.h: Remove.
6790 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6792         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6793         * resolv/res_data.c: Likewise.
6795 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6797         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6798         * resolv/res_data.c: Remove code conditional on ultrix.
6800 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6802         * resolv/res_init.c (RFC1535): Do not define.  Remove
6803         RFC1535 preprocessor conditionals.
6804         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6805         because there configuration options which make the resolver
6806         behavior different.
6808 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6810         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6811         RESOLVSORT preprocessor conditionals.
6812         * resolv/nss_dns/dns-host.c: Likewise.
6813         * resolv/res_init.c: Likewise.
6815 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6817         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6818         is never defined.
6820 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6822         * inet/inet_lnaof.c: Remove SCSS keyword.
6823         * inet/inet_mkadr.c: Likewise.
6824         * inet/inet_net.c: Likewise.
6825         * inet/inet_netof.c: Likewise.
6826         * inet/rcmd.c: Likewise.
6827         * inet/rexec.c: Likewise.
6828         * inet/ruserpass.c: Likewise.
6830 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6832         * resolv/inet_addr.c: Remove _LIBC conditionals.
6833         * resolv/res_data.c: Likewise.
6834         * resolv/res_init.c: Likewise.
6835         * resolv/res_mkquery.c: Likewise.
6836         * resolv/res_libc.c: Update comment.
6837         * resolv/README: Update.
6839 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6841         * resolv/gethnamaddr.c: Remove SCSS keyword.
6842         * resolv/herror.c: Likewise.
6843         * resolv/inet_addr.c: Likewise.
6844         * resolv/inet_net_ntop.c: Likewise.
6845         * resolv/inet_net_pton.c: Likewise.
6846         * resolv/inet_neta.c: Likewise.
6847         * resolv/inet_ntop.c: Likewise.
6848         * resolv/inet_pton.c: Likewise.
6849         * resolv/ns_date.c: Remove RCS keyword.
6850         * resolv/ns_name.c: Likewise.
6851         * resolv/ns_netint.c: Likewise.
6852         * resolv/ns_parse.c: Likewise.
6853         * resolv/ns_print.c: Likewise.
6854         * resolv/ns_samedomain.c: Likewise.
6855         * resolv/ns_ttl.c: Likewise.
6856         * resolv/nsap_addr.c: Likewise.
6857         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6858         * resolv/res_data.c: Remove RCS keyword.
6859         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6860         * resolv/res_init.c: Likewise.
6861         * resolv/res_mkquery.c: Likewise.
6862         * resolv/res_query.c: Likewise.
6863         * resolv/res_send.c: Likewise.
6865 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6867         * conform/data/stdio.h-data (fdopen): Expect also for
6868         [XPG3 || XPG4].
6870         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6871         (fseeko): Likewise.
6872         (ftello): Likewise.
6873         (ftrylockfile): Likewise.
6874         (funlockfile): Likewise.
6875         (getc_unlocked): Likewise.
6876         (getchar_unlocked): Likewise.
6877         (putc_unlocked): Likewise.
6878         (putchar_unlocked): Likewise.
6880 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6882         [BZ #19868]
6883         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6884         DNS packet syntax checks (which were not needed before).  Skip
6885         over non-PTR records.
6887 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6889         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6890         definition.  Include <stddef.h> instead.
6892 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6894         [BZ #19831]
6895         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6896         function.
6897         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6898         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6900 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6902         [BZ #19862]
6903         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6904         (getanswer_r): Do not call syslog.
6905         (gaih_getanswer_slice): Likewise.
6906         * resolv/gethnamaddr.c (AskedForGot): Remove.
6907         (getanswer): Do not call syslog.
6908         (gethostbyaddr): Likewise.
6910 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6912         * conform/data/signal.h-data (union sigval): Expect also if
6913         [XOPEN2K].
6914         (struct sigevent): Likewise.
6915         (SIGEV_NONE): Likewise.
6916         (SIGEV_SIGNAL): Likewise.
6917         (SIGEV_THREAD): Likewise.
6918         (SIGRTMIN): Likewise.
6919         (SIGRTMAX): Likewise.
6920         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6921         variable.
6922         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6924 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6926         [BZ #19830]
6927         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6928         (gaih_getanswer_slice): Likewise.
6929         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6930         Also check for availability of RR metadata.
6932 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6934         [BZ #19825]
6935         * resolv/res_send.c (send_vc): Remove early *resplen2
6936         initialization.  Set *resplen2 on socket error.  Call
6937         close_and_return_error for other errors.
6939 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6941         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6942         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6943         (SCM_IUCV_TRGCLS): New define.
6945 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6947         [BZ #20005]
6948         * libio/fmemopen.c (fmemopen_write): Update internal position after
6949         write.
6950         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6951         * stdio-common/tst-fmemopen4.c: New file..
6953 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6955         [BZ #19996]
6956         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6957         not [__USE_XOPEN2K].
6958         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6959         variable.
6961         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6962         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6963         variable.
6965         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6966         [__USE_XOPEN2K8].
6967         [__USE_LARGEFILE64] (off64_t): Likewise.
6968         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6969         variable.
6971 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6973         [BZ #19989]
6974         * libio/stdio.h (cuserid): Do not declare if
6975         [__USE_XOPEN2K && !__USE_GNU].
6976         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6977         variable.
6979 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6981         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6982         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6984         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6985         ifunc'ed strcspn.
6986         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6987         [EALIGN]: Removed.
6988         [END]: Likewise
6989         [STRSPN]: Define instead of the above to control symbol name.
6990         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6991         New file.
6992         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6993         Likewise.
6994         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6995         Likewise.
6996         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6997         Likewise.
6998         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6999         [INITIAL_MASK]: New macro.
7000         [STRCSPN]: Likewise.
7001         [UPDATE_MASK]: Likewise.
7002         [USE_AS_STRCSPN]: Lisewise.
7004 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7006         [BZ #19931]
7007         * stdio-common/tst-vfprintf-width-prec.c: New file.
7008         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7009         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7010         (generated): Add mtrace-related files.
7011         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7012         (tst-%-mem.out): New pattern rule, replaces
7013         tst-printf-bz18872-mem.out.
7014         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7015         specifier, deallocate any previously allocated work buffer.
7017 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7019         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7020         Add nop before __startcontext, add explaining comments.
7022 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7024         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7025         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7026         completely different API.
7028         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7029         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7030         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7031         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7032         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7033         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7034         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7035         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7036         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7037         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7039 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7041         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7043 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7045         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7046         when it is the default of 0.
7048 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7050         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7051         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7052         (sysdep_routines): Add new strcasestr targets.
7053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7054         (__libc_ifunc_impl_list): Likewise.
7055         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7056         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7057         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7058         * sysdeps/powerpc/powerpc64/power8/Makefile:
7059         New file to add strcasestr-ppc64 to sysdep_routines.
7060         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7061         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7063 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7065         * benchtests/Makefile (wcsmbs-benchset): Include only for
7066         native builds and runs.
7067         (LOCALES): Likewise.
7068         (bench-build): Build timing-type here instead of the bench
7069         target.  Generate locale only for native builds.
7070         * benchtests/README: Add note for cross-building.
7072         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7074         * benchtests/README: Update README to include instructions on
7075         using bench-build.
7077         * Makefile.in (bench-build): New target.
7078         * Rules (PHONY): Add bench-build target.
7079         * benchtests/Makefile (bench): Depend on bench-build.
7080         (bench-build): New target.
7082 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7084         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7085         profil_reply_port.
7086         (profile_waiter): Do not initialize profil_reply_port.
7087         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7088         frequency instead of tick length in us.
7090 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7092         [BZ #18712]
7093         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7094         (__old_mempcpy_small): Likewise.
7095         (__old_strcpy_small): Likewise.
7096         (__old_stpcpy_small): Likewise.
7097         (__old_strpbrk_c2): Fix compat symbol name.
7098         (__old_strpbrk_c3): Likewise.
7099         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7100         (__mempcpy_small): Remove.
7101         (__strcpy_small): Remove.
7102         (__stpcpy_small): Remove.
7104 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7106         [BZ #19400]
7107         * locale/iso-639.def: Add the Talossan/tzl language.
7109 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7111         [BZ #16983]
7112         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7113         comment.  Add "ln" to strchr check on postal_fmt.
7115 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7117         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7118         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7119         tel_dom_fmt.
7121 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7123         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7124         (sysdep_routines): Added __strlen_power8.
7125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7126         __strlen_power8 entry.
7127         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7128         Implementation for POWER8.
7129         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7130         for __strlen_power8.
7131         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7132         Implementation for POWER8.
7134 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7136         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7138 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7140         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7141         Goldmont and Airmont processors.
7143 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7145         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7146         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7147         (__STRING2_SMALL_GET32): Remove.
7148         (memset): Remove.
7149         (__memset_1): Remove.
7150         (__memset_gc): Remove.
7151         (__mempcpy): Remove.
7152         (mempcpy): Remove.
7153         (__mempcpy_args): Remove.
7154         (strchr): Remove.
7155         (strcpy): Remove.
7156         (strcpy_args): Remove.
7157         (__stpcpy_args): Remove.
7158         (__strcmp_cc): Remove.
7159         (__strcmp_gc): Remove.
7160         (strstr): Remove.
7162 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7164         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7165         * nis/nis_call.c (nis_server_cache_add): Likewise.
7167 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7169         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7171 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7173         * malloc/arena.c (__malloc_fork_lock_parent)
7174         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7175         internal_function attribute.
7177 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7179         * stdio-common/printf_fp.c (__printf_fp_l):
7180         Rename ___printf_fp_l to __printf_fp_l and
7181         remove strong alias. Use libc_hidden_def instead
7182         of ldbl_hidden_def macro.
7184 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7186         Remove malloc hooks from fork handler.  They are no longer needed
7187         because malloc runs right before fork, and no malloc calls from
7188         other fork handlers are not possible anymore.
7189         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7190         declarations.
7191         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7192         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7193         (atfork_recursive_cntr): Remove.
7194         (__malloc_fork_lock_parent): Do not override malloc hooks and
7195         thread_arena.
7196         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7197         thread_arena.
7198         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7199         thread_arena instead of save_arena.
7201 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7203         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7204         (thread_atfork, thread_atfork_static): Remove.
7205         * sysdeps/mach/hurd/malloc-machine.h:
7206         (thread_atfork, thread_atfork_static): Remove.
7208 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7210         [BZ #19431]
7211         Run the malloc fork handler as late as possible to avoid deadlocks.
7212         * malloc/malloc-internal.h: New file.
7213         * malloc/malloc.c: Include it.
7214         * malloc/arena.c (ATFORK_MEM): Remove.
7215         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7216         Update comment.
7217         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7218         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7219         Remove outdated comment.
7220         (ptmalloc_init): Do not call thread_atfork.  Remove
7221         thread_atfork_static.
7222         * malloc/tst-malloc-fork-deadlock.c: New file.
7223         * Makefile (tests): Add tst-malloc-fork-deadlock.
7224         (tst-malloc-fork-deadlock): Link against libpthread.
7225         * manual/memory.texi (Aligned Memory Blocks): Update safety
7226         annotation comments.
7227         * sysdeps/nptl/fork.c (__libc_fork): Call
7228         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7229         __malloc_fork_unlock_child.
7230         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7232 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7234         [BZ #19613]
7235         Remove union wait.
7236         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7237         (w_stopsig, w_stopval): Remove.
7238         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7239         stat_loc argument.
7240         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7241         (__WAIT_STATUS_DEFN): Remove.
7242         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7243         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7244         (wait, wait3, wait4): Use int * for the stat_loc argument.
7245         * posix/wait.c (__wait): Likewise.
7246         * posix/wait3.c (__wait3): Likewise.
7247         * posix/wait4.c (__wait4): Likewise.
7248         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7249         (__WAIT_STATUS_DEFN): Remove.
7250         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7251         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7252         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7253         argument.
7254         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7255         * sysdeps/posix/wait3.c (__wait3): Likewise.
7256         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7257         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7258         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7259         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7260         stat_loc argument.
7261         * manual/process.texi (BSD Wait Functions): Remove union wait.
7263 2016-04-13  Andreas Schwab  <schwab@suse.de>
7265         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7266         (test-extras): Add tst-tlsalign-vars.
7267         * math/Makefile: Wrap long lines.
7268         (libm-vec-test-wrappers): Define.
7269         (test-extras): Add $(libm-vec-test-wrappers).
7270         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7271         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7272         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7273         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7274         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7275         (extra-test-objs): Add corresponding objects.
7277 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7279         [BZ #19928]
7280         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7281         New.
7282         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7283         times of shared cache size.
7284         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7285         (VMOVNT): New.
7286         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7287         (VMOVNT): Likewise.
7288         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7289         (VMOVNT): Likewise.
7290         (VMOVU): Changed to movups for smaller code sizes.
7291         (VMOVA): Changed to movaps for smaller code sizes.
7292         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7293         comments.
7294         (PREFETCH): New.
7295         (PREFETCH_SIZE): Likewise.
7296         (PREFETCHED_LOAD_SIZE): Likewise.
7297         (PREFETCH_ONE_SET): Likewise.
7298         Rewrite to use forward and backward loops, which move 4 vector
7299         registers at a time, to support overlapping addresses and use
7300         non temporal store if size is above the threshold and there is
7301         no overlap between destination and source.
7303 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7305         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7306         Include dl-vdso.
7307         * sysdeps/unix/sysv/linux/mips/Versions: Add
7308         __vdso_clock_gettime.
7309         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7310         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7311         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7312         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7313         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7314         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7315         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7316         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7317         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7319 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7321         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7322         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7323         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7324         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7325         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7326         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7329         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7331         syscalls generation.
7332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7333         [__NR_pwrite64] (__NR_write): Remove define.
7334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7335         [__NR_pwrite64] (__NR_write): Remove define.
7336         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7337         Remove define.
7338         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7339         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7340         Remove define.
7341         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7342         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7343         Linux implementation as base.
7344         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7346         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7347         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7352         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7353         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7354         syscall generation.
7355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7356         [__NR_pread64] (__NR_pread): Remove define.
7357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7358         [__NR_pread64] (__NR_pread): Likewise.
7359         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7360         define.
7361         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7362         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7363         Remove define.
7364         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7365         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7366         Linux implementation as base.
7367         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7368         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7369         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7371         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7372         definition.
7373         (__ALIGNMENT_COUNT): Likewise.
7374         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7375         (__ALIGNMENT_COUNT): Likewise.
7376         (SYSCALL_LL): New define.
7377         (SYSCALL_LL64): Likewise.
7378         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7379         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7380         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7381         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7383         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7384         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7385         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7386         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7387         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7388         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7390 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7392         [BZ #19865]
7393         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7394         original buffer before retry.
7396 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7398         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7399         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7400         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7401         GLRO(dl_auxv) list.
7402         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7403         including <ldsodefs.h>.
7404         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7406 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7408         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7409         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7410         $(CPPFLAGS).
7412 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7414         [BZ #17950]
7415         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7416         Add -mfpmath=387.
7418 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7420         * sysdeps/i386/configure.ac: Change == to = when calling test.
7421         * sysdeps/x86_64/configure.ac: Likewise.
7422         * sysdeps/i386/configure: Regenerated.
7423         * sysdeps/x86_64/configure: Likewise.
7425 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7427         [BZ #16137]
7428         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7429         * benchtests/bench-strcoll.c (input_files): Likewise.
7430         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7431         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7432         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7434 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7436         [BZ #19929]
7437         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7438         [__USE_XOPEN2K8 && !__USE_GNU].
7439         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7440         variable.
7442         [BZ #19925]
7443         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7444         define if [!__USE_MISC && __USE_XOPEN2K].
7445         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7446         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7447         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7448         Likewise.
7449         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7450         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7451         variable.
7452         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7454 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7456         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7457         (sysdep_routines): Add new strspn targets.
7458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7459         (__libc_ifunc_impl_list): Add strspn.
7460         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7461         New file.
7462         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7463         Likewise.
7464         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7465         Likewise.
7466         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7467         Likewise.
7469 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7471         * misc/hsearch_r.c: Include <limits.h>.
7473 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7475         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7477 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7479         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7480         (MEMCPY_SYMBOL): New.
7481         (MEMPCPY_SYMBOL): Likewise.
7482         (MEMMOVE_CHK_SYMBOL): Likewise.
7483         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7484         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7485         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7486         Provide alias for memcpy in libc.a and ld.so.
7488 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7490         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7491         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7492         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7493         Disabled fro now.
7494         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7495         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7497 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7499         * benchtests/Makefile (string-benchset): Add memcpy-large,
7500         memmove-large and memset-large.
7501         * benchtests/bench-memcpy-large.c: New file.
7502         * benchtests/bench-memmove-large.c: Likewise.
7503         * benchtests/bench-memmove-large.c: Likewise.
7504         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7506 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7508         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7509         32-bit displacement to avoid long nop between instructions.
7511 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7513         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7514         a comment on VMOVU and VMOVA.
7516 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7518         [BZ #19633]
7519         Use specified locale for number formatting in strfmon_l.
7520         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7521         (__nl_lookup_word): New inline functions.
7522         * include/printf.h (__print_fp_l): Declare.
7523         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7524         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7525         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7526         (___printf_fp): New function.
7527         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7528         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7529         * stdlib/tst-strfmon_l.c (do_test): New test.
7530         * stdlib/Makefile (tests): Add kt.
7531         (LOCALES): Build additional locales.
7532         (tst-strfmon_l.out): Require locales.
7534 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7536         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7537         if not in libc.
7538         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7539         Likewise.
7540         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7541         Likewise.
7542         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7543         Likewise.
7545 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7547         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7548         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7549         with unaligned_erms.
7550         (__memmove_erms): Skip if source == destination.
7551         (__memmove_unaligned_erms): Don't check source == destination
7552         first.
7554 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7556         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7557         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7559 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7561         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7562         * string/strspn.c (strspn): Likewise.
7564 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7566         * benchtests/bench-memset.c (do_test): Support 64-byte
7567         alignment.
7568         (test_main): Test 64-byte alignment.
7570 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7572         * benchtests/bench-memmove.c (test_main): Test 64-byte
7573         alignment.
7575 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7577         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7579 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7581         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7582         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7583         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7585         * string/strpbrk.c (strpbrk): Rewrite function.
7586         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7587         (__strpbrk_c2): Likewise.
7588         (__strpbrk_c3): Likewise.
7589         * string/string-inlines.c
7590         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7591         Likewise.
7592         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7593         Likewise.
7595         * string/strspn.c (strcspn): Rewrite function.
7596         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7597         (__strspn_c1): Remove inline function.
7598         (__strspn_c2): Likewise.
7599         (__strspn_c3): Likewise.
7600         * string/string-inlines.c
7601         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7602         compatibility symbol.
7603         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7604         Likewise.
7605         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7606         Likewise.
7607         * string/string-inlines.c: Include generic version.
7609 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7610             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7612         * string/Version (libc): Add GLIBC_2.24.
7613         * string/strcspn.c (strcspn): Rewrite function.
7614         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7615         (__strcspn_c1): Remove inline function.
7616         (__strcspn_c2): Likewise.
7617         (__strcspn_c3): Likewise.
7618         * string/string-inline.c
7619         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7620         compatibility symbol.
7621         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7622         Likewise.
7623         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7624         Likewise.
7625         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7627 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7629         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7630         Use ahi instead of aghi to adjust stack pointer.
7632 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7634         [BZ #19853]
7635         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7636         TEST to take significant digits as second parameter.
7637         [TEST]: Redefine in terms of TEST_N taking 30
7638         significant digits.
7639         (do_test): Add test case to demonstrate precision
7640         failure in the ldbl-128ibm printf.
7641         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7642         (__mpn_extract_long_double): Carry 7 extra intermediate
7643         bits of precision to aide computing difference when
7644         signs differ.
7646 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7648         [BZ #19881]
7649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7650         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7651         memset-avx512-unaligned-erms.
7652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7653         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7654         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7655         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7656         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7657         __memset_sse2_unaligned_erms, __memset_erms,
7658         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7659         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7660         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7661         file.
7662         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7663         Likewise.
7664         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7665         Likewise.
7666         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7667         Likewise.
7669 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7671         [BZ #19776]
7672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7673         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7674         memmove-avx512-unaligned-erms.
7675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7676         (__libc_ifunc_impl_list): Test
7677         __memmove_chk_avx512_unaligned_2,
7678         __memmove_chk_avx512_unaligned_erms,
7679         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7680         __memmove_chk_sse2_unaligned_2,
7681         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7682         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7683         __memmove_avx512_unaligned_erms, __memmove_erms,
7684         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7685         __memcpy_chk_avx512_unaligned_2,
7686         __memcpy_chk_avx512_unaligned_erms,
7687         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7688         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7689         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7690         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7691         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7692         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7693         __mempcpy_chk_avx512_unaligned_erms,
7694         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7695         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7696         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7697         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7698         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7699         __mempcpy_erms.
7700         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7701         file.
7702         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7703         Likwise.
7704         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7705         Likwise.
7706         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7707         Likwise.
7709 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7711         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7712         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7713         (La_s390_64_regs): Likewise.
7714         (La_s390_32_retval): Append vector register lrv_v24.
7715         (La_s390_64_retval): Likeweise.
7716         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7717         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7718         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7719         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7721 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7723         [BZ #19916]
7724         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7725         to create a non-vector/vector version for _dl_runtime_resolve and
7726         _dl_runtime_profile. Move implementation to ...
7727         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7728         (_dl_runtime_resolve) Save and restore fpr/vrs.
7729         (_dl_runtime_profile) Save and restore vrs and fix some issues
7730         if _dl_call_pltexit is called.
7731         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7732         Choose the correct resolver function if running on a machine with vx.
7733         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7734         to create a non-vector/vector version for _dl_runtime_resolve and
7735         _dl_runtime_profile. Move implementation to ...
7736         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7737         (_dl_runtime_resolve) Save and restore fpr/vrs.
7738         (_dl_runtime_profile) Save and restore vrs and fix some issues
7739         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7740         Choose the correct resolver function if running on a machine with vx.
7742 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7744         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7746 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7748         [BZ #19509]
7749         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7750         skip_map != NULL.
7751         * elf/tst-dlsym-error.c: New file.
7752         * elf/Makefile (tests): Add tst-dlsym-error.
7753         (tst-dlsym-error): Link against libdl.
7755 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7757         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7758         (__ASSUME_FUTIMESAT): Remove macro.
7759         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7761 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7763         [BZ #19879]
7764         CVE-2016-3075
7765         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7766         copy name.
7768 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7770         [BZ #19837]
7771         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7772         error if parse_line fails.
7774 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7776         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7777         (index_cpu_ERMS): Likewise.
7778         (reg_ERMS): Likewise.
7780 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7782         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7783         PER_LINUX_FDPIC): Add.
7785 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7788         memcpy-avx512-no-vzeroupper.
7789         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7790         to ...
7791         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7792         (MEMCPY): Don't define.
7793         (MEMCPY_CHK): Likewise.
7794         (MEMPCPY): Likewise.
7795         (MEMPCPY_CHK): Likewise.
7796         (MEMPCPY_CHK): Renamed to ...
7797         (__mempcpy_chk_avx512_no_vzeroupper): This.
7798         (MEMPCPY_CHK): Renamed to ...
7799         (__mempcpy_chk_avx512_no_vzeroupper): This.
7800         (MEMCPY_CHK): Renamed to ...
7801         (__memmove_chk_avx512_no_vzeroupper): This.
7802         (MEMCPY): Renamed to ...
7803         (__memmove_avx512_no_vzeroupper): This.
7804         (__memcpy_avx512_no_vzeroupper): New alias.
7805         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7807 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7809         [BZ #18858]
7810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7811         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7812         and mempcpy-avx512-no-vzeroupper.
7813         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7814         New.
7815         (MEMPCPY): Likewise.
7816         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7817         (MEMPCPY_CHK): New.
7818         (MEMPCPY): Likewise.
7819         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7820         (MEMPCPY): Likewise.
7821         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7822         (MEMPCPY): Likewise.
7823         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7824         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7825         Likewise.
7826         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7827         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7829 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7830              Amit Pawar  <Amit.Pawar@amd.com>
7832         [BZ #19583]
7833         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7834         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7835         processors.  Set Fast_Copy_Backward for AMD Excavator
7836         processors.
7837         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7838         New.
7839         (index_arch_Fast_Unaligned_Copy): Likewise.
7840         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7841         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7843 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7845         [BZ #19791]
7846         * resolv/res_send.c (close_and_return_error): New function.
7847         (send_dg): Initialize *resplen2 after reopen failure.  Call
7848         close_and_return_error for error returns.  On error paths without
7849         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7850         successful return.
7852 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7854         [BZ# 19860]
7855         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7856         zero if the compiler does not provide the AVX512F bit.
7858 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7860         [BZ #19848]
7861         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7862         from 8 to 4.
7863         (__ieee754_powl): Compare integer exponent against 4 not 8.
7864         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7865         from 8 to 4.
7866         (__ieee754_powl): Compare integer exponent against 4 not 8.
7867         * math/auto-libm-test-in: Add more tests of pow.
7868         * math/auto-libm-test-out: Regenerated.
7869         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7872 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7874         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7875         Make code unconditional.
7876         [!__NR_utimensat]: Remove conditional code.
7877         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7878         Make code unconditional.
7879         [!__NR_utimensat]: Remove conditional code.
7880         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7881         Make code unconditional.
7882         [!__NR_utimensat]: Remove conditional code.
7884 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7886         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7887         Make code unconditional.
7889 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7891         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7892         call-clobbered %eax on retry path.
7893         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7895 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7897         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7898         Don't set %rcx twice before "rep movsb".
7900 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7902         [BZ #19583]
7903         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7904         inline.  Check family before setting family, model and
7905         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7906         bits here.
7907         (init_cpu_features): Replace HAS_CPU_FEATURE and
7908         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7909         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7910         for Intel processors with usable AVX2.  Call get_common_indeces
7911         for other processors with family == NULL.
7912         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7913         (CPU_FEATURES_ARCH_P): Likewise.
7914         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7915         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7917 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7919         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7920         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7921         $(shared-thread-library) instead of hardcoding the path to libpthread.
7923 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7925         * sysdeps/unix/sysv/linux/kernel-features.h
7926         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7927         * sysdeps/unix/sysv/linux/getdents.c
7928         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7929         [!have_no_getdents64_defined]: Likewise.
7930         (__GETDENTS): Remove __have_no_getdents64 conditional.
7932 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7934         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7935         Remove macro.
7936         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7937         <kernel-features.h>.
7938         (signalfd) [__NR_signalfd4]: Make code unconditional.
7939         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7941 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7943         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7944         style.
7946 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7948         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7949         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7950         __pthread_unwind.
7951         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7952         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7953         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7954         (__condvar_cleanup1): Likewise.
7956 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7958         [BZ #19822]
7959         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7960         move it to the final $@ location.
7962 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7964         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7965         access where posix_spawn success and pid argument is null.
7966         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7967         success case.
7969 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7971         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7973         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7975         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7976         and __fcntl.
7977         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7978         __fcntl only.
7979         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7980         adding attribute_hidden to __open and __fcntl.
7982         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7983         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7984         depend on libc-modules.h,
7985         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7987 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7989         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7990         Remove macro.
7991         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7992         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7993         entry.
7995         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7996         Remove macro.
7997         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7998         include <kernel-features.h>.
7999         [!__ASSUME_FALLOCATE]: Remove conditional code.
8000         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8002 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8004         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8005         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8006         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8007         (_ZGVdN4v_cos_avx2): Likewise.
8008         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8009         (_ZGVdN4v_cos): Likewise.
8010         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8011         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8012         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8013         (_ZGVdN4v_exp_avx2): Likewise.
8014         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8015         (_ZGVdN4v_exp): Likewise.
8016         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8017         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8018         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8019         (_ZGVdN4v_log_avx2): Likewise.
8020         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8021         (_ZGVdN4v_log): Likewise.
8022         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8023         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8024         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8025         (_ZGVdN4vv_pow_avx2): Likewise.
8026         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8027         (_ZGVdN4vv_pow): Likewise.
8028         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8029         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8030         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8031         (_ZGVdN4v_sin_avx2): Likewise.
8032         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8033         (_ZGVdN4v_sin): Likewise.
8034         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8035         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8036         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8037         (_ZGVdN4vvv_sincos_avx2): Likewise.
8038         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8039         (_ZGVdN4vvv_sincos): Likewise.
8040         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8041         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8042         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8043         (_ZGVbN4v_cosf_sse4): Likewise.
8044         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8045         (_ZGVdN8v_cosf_avx2): Likewise.
8046         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8047         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8048         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8049         (_ZGVbN4v_expf_sse4): Likewise.
8050         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8051         (_ZGVdN8v_expf_avx2): Likewise.
8052         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8053         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8054         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8055         (_ZGVbN4v_logf_sse4): Likewise.
8056         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8057         (_ZGVdN8v_logf_avx2): Likewise.
8058         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8059         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8060         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8061         (_ZGVbN4vv_powf_sse4): Likewise.
8062         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8063         (_ZGVdN8vv_powf_avx2): Likewise.
8064         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8065         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8066         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8067         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8068         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8069         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8071         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8073         (_ZGVbN4v_sinf_sse4): Likewise.
8074         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8075         (_ZGVdN8v_sinf_avx2): Likewise.
8076         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8077         Use JUMPTARGET to call callee.
8078         (WRAPPER_IMPL_SSE2_ff): Likewise.
8079         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8080         (WRAPPER_IMPL_AVX): Likewise.
8081         (WRAPPER_IMPL_AVX_ff): Likewise.
8082         (WRAPPER_IMPL_AVX_fFF): Likewise.
8083         (WRAPPER_IMPL_AVX512): Likewise.
8084         (WRAPPER_IMPL_AVX512_ff): Likewise.
8085         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8086         Likewise.
8087         (WRAPPER_IMPL_SSE2_ff): Likewise.
8088         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8089         (WRAPPER_IMPL_AVX): Likewise.
8090         (WRAPPER_IMPL_AVX_ff): Likewise.
8091         (WRAPPER_IMPL_AVX_fFF): Likewise.
8092         (WRAPPER_IMPL_AVX512): Likewise.
8093         (WRAPPER_IMPL_AVX512_ff): Likewise.
8094         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8096 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8098         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8099         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8100         qualifier.
8101         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8102         internal_function qualifiers.
8104 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8106         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8107         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8108         * math/atest-exp.c (exp_mpn): Mark chk unused.
8109         * math/atest-exp2.c (exp_mpn): Likwise.
8110         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8111         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8113 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8115         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8116         Remove macro.
8117         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8118         <kernel-features.h>.
8119         [__NR_ppoll]: Make code unconditional.
8120         [!__ASSUME_PPOLL]: Remove conditional code.
8122         * sysdeps/unix/sysv/linux/kernel-features.h
8123         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8124         (__ASSUME_ACCEPT4): Likewise.
8125         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8126         Define.
8127         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8128         Likewise.
8129         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8130         Likewise.
8131         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8132         Likewise.
8133         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8134         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8135         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8136         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8137         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8138         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8139         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8140         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8141         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8142         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8143         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8144         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8145         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8146         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8147         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8148         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8149         Likewise.
8150         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8151         Likewise.
8152         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8153         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8154         0x040300].
8155         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8156         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8157         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8158         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8159         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8160         0x030300].
8161         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8162         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8163         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8164         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8165         0x040300].
8166         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8167         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8168         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8169         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8170         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8171         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8172         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8173         0x030300].
8174         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8175         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8176         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8177         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8178         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8179         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8180         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8181         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8182         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8183         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8184         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8185         0x040300].
8186         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8187         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8188         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8189         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8190         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8191         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8192         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8193         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8194         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8195         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8196         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8197         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8198         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8199         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8200         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8201         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8202         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8203         Likewise.
8204         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8205         Likewise.
8207 2016-03-15  Andreas Schwab  <schwab@suse.de>
8209         [BZ #19257]
8210         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8211         statp->_u._ext.nscount as loop count.
8213 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8215         * math/test-signgam-finite-c99.c: Also #undef
8216         __LIBC_INTERNAL_MATH_INLINES.
8217         * math/test-signgam-main.c: Likewise.
8219 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8221         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8222         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8223         (MADV_FREE): Likewise.
8224         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8225         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8226         EPOLLEXCLUSIVE.
8228 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8230         * timezone/README: Remove mention of checktab.awk. Mention wiki
8231         SharedSourceFiles.
8233 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8235         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8236         WUNTRACED.
8238 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8240         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8241         order to match the type of p when calling atomic_exchange_acq().
8243 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8245         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8246         cfi_offset calls.
8247         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8248         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8249         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8250         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8251         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8253 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8255         * timezone/checktab.awk: Removed.
8257 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8259         * manual/math.texi (Errors in Math Functions): Document relaxed
8260         accuracy goals for IBM long double.
8261         * math/libm-test.inc (test_exceptions): Always allow spurious
8262         "underflow" and "inexact" exceptions for IBM long double.
8264 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8266         [BZ #19762]
8267         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8268         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8269         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8270         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8271         (bit_arch_*): This for feature array.
8272         (bit_*): Renamed to ...
8273         (bit_cpu_*): This for cpu array.
8274         (index_*): Renamed to ...
8275         (index_arch_*): This for feature array.
8276         (index_*): Renamed to ...
8277         (index_cpu_*): This for cpu array.
8278         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8279         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8280         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8281         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8282         bit_##name with index_cpu_##name and bit_cpu_##name.
8283         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8284         bit_##name with index_arch_##name and bit_arch_##name.
8286 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8288         [BZ #19792]
8289         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8290         Terminate FDE before return label.
8292 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8294         [BZ #19790]
8295         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8296         (rintl): Define as macro.
8297         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8298         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8299         of fesetround.  Ensure results are evaluated before end of scope.
8300         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8301         USE_AS_NEARBYINTL and include s_rintl.c.
8302         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8303         Disable exception traps in new environment.
8304         (libc_feholdsetround_ppc_ctx): Likewise.
8306 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8308         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8309         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8310         (tst_audit10_aux) [__AVX512F__]: ... here.
8312 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8314         * include/sys/auxv.h: New file.
8316 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8318         [BZ #19759]
8319         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8321 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8323         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8324         operand modifier.
8325         (feclearexcept): Likewise.
8327 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8329         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8330         to reflect the entire 32-bit HWCAP.
8331         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8332         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8334 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8336         [BZ #19783]
8337         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8338         $(test-via-rtld-prefix).
8339         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8341 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8343         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8344         union wait.  Report any non-zero exit status as error.
8346 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8348         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8349         configured with --enable-hardcoded-path-in-tests.
8351 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8353         [BZ #19677]
8354         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8355         (__ieee754_remainderl): Put zero low parts in canonical form.
8356         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8357         file.  Based on
8358         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8359         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8360         with wrapper round test-fmodrem-ldbl-128ibm.c.
8361         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8362         file.
8363         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8364         Likewise.
8365         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8366         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8368 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8370         [BZ #19610]
8371         * elf/ldconfig.c (opt_link): Update comment.
8372         (options): Update help string for option -X.
8373         (search_dir): Unlink stale symbolic link only if updating symbolic
8374         links.
8375         * elf/tst-ldconfig-X.sh: New file.
8376         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8377         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8379 2016-03-07  Andreas Schwab  <schwab@suse.de>
8381         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8382         needed arguments.
8384 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8386         [BZ #15333]
8387         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8388         to lstat64.
8390 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8392         * libio/filedoalloc.c (isatty): Remove.
8393         (local_isatty): Add comment.  Call __isatty directly.
8394         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8395         * libio/wfiledoalloc.c (isatty): Remove.
8396         (_IO_wfile_doallocate): Update comment.
8398 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8400         [BZ #19269]
8401         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8402         tst-audit4-aux.o.
8403         (tst-audit10): Depend on tst-audit10-aux.o.
8404         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8405         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8406         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8407         instead of inline AVX code.
8408         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8409         instead of inline AVX512 code.
8410         * sysdeps/x86_64/tst-audit4-aux.c: New file
8411         * sysdeps/x86_64/tst-audit10-aux.c: New file
8413         [BZ #19648]
8414         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8416 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8418         [BZ #14750]
8419         [BZ #10354]
8420         [BZ #18433]
8421         * include/sched.h (__clone): Add hidden prototype.
8422         (__clone2): Likewise.
8423         * include/unistd.h (__dup): Likewise.
8424         * posix/Makefile (tests): Add tst-spawn2.
8425         * posix/tst-spawn2.c: New file.
8426         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8427         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8428         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8429         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8430         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8431         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8432         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8433         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8434         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8435         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8436         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8438         Likewise.
8439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8440         Likewise.
8441         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8442         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8443         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8444         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8445         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8446         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8447         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8448         * sysdeps/unix/sysv/linux/nptl-signals.h
8449         (____nptl_is_internal_signal): New function.
8450         * sysdeps/unix/sysv/linux/spawni.c: New file.
8452         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8453         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8454         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8455         * posix/tst-execvp2.c (do_test): Likewise.
8456         * posix/tst-execvp3.c (do_test): Likewise.
8457         * posix/tst-execvp4.c (do_test): Likewise.
8458         * posix/tst-execvpe1.c: New file.
8459         * posix/tst-execvpe2.c: Likewise.
8460         * posix/tst-execvpe3.c: Likewise.
8461         * posix/tst-execvpe4.c: Likewise.
8462         * posix/tst-execvpe5.c: Likewise.
8463         * posix/tst-execvpe6.c: Likewise.
8465         [BZ #19534]
8466         * posix/execl.c (execl): Remove dynamic memory allocation.
8467         * posix/execle.c (execle): Likewise.
8468         * posix/execlp.c (execlp): Likewise.
8470 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8472         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8473         Replace .text with .text.avx512.
8474         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8475         Likewise.
8477 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8479         * sysdeps/generic/libnsl.abilist: New file.
8480         * sysdeps/generic/libutil.abilist: New file.
8482 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8484         [BZ #19762]
8485         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8486         HAS_ARCH_FEATURE with Fast_Rep_String.
8487         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8488         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8489         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8490         Likewise.
8491         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8492         Likewise.
8493         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8494         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8495         Likewise.
8496         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8497         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8498         Likewise.
8500 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8502         [BZ #19745]
8503         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8504         with *%rax in call.
8506 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8508         [BZ #19745]
8509         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8510         with *__libc_start_main@GOTPCREL(%rip) in call.
8512 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8514         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8515         inside conditional for nonempty $(CXX).
8517         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8518         nonempty.
8520         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8521         to test for empty $(CXX) rather than $(CXX) of "no".
8523 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8525         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8527 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8528             H.J. Lu  <hongjiu.lu@intel.com>
8530         [BZ #18880]
8531         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8532         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8533         enable __memcpy_ssse3_back.
8535 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8537         [BZ #19758]
8538         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8539         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8541 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8543         [BZ #19490]
8544         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8545         (__fentry__): Likewise.
8547 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8549         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8550         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8552 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8554         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8555         __mcount_internal directly.
8556         (C_LABEL(__fentry__)): Likewise.
8557         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8558         directly.
8560 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8562         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8563         (__start_context): Call __setcontext directly.
8565 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8567         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8568         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8569         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8570         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8571         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8572         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8573         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8574         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8575         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8576         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8577         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8578         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8579         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8580         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8581         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8582         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8583         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8584         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8585         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8586         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8587         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8588         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8589         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8590         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8591         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8592         Remove conditional code.
8593         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8594         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8595         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8596         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8597         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8598         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8599         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8600         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8601         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8602         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8603         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8604         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8606 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8608         * NEWS (2.23): Fix typo in bug 19048 text.
8610 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8612         [BZ #14259]
8613         * Makeconfig: Rename msgcatdir to localedir.
8614         Rename inst_msgcatdir to inst_localedir.
8615         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8616         * config.make.in: Add localedir.
8617         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8618         (ldd-rewrite): Likewise.
8619         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8620         (install-others): Use inst_localedir.
8621         (CPPFLAGS): Use localedir.
8622         * locale/Makefile (locale-CPPFLAGS): Likewise.
8623         * po/Makefile (mo-installed): Use inst_localedir.
8625         [BZ #19575]
8626         * localedata/charmaps/GB18030: Update comments regarding PAU to
8627         non-PUA mappings.
8629 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8631         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8632         test for header.
8633         * sysdeps/unix/sysv/linux/configure: Regenerated.
8634         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8635         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8636         Remove conditional code.
8637         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8639         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8640         Define to 3.2.0.
8641         (arch_minimum_kernel): Likewise.
8642         * sysdeps/unix/sysv/linux/configure: Regenerated.
8643         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8644         Define to 2.6.32.
8645         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8646         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8647         (arch_minimum_kernel): Define to 2.6.32.
8648         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8649         * README: Document Linux 3.2 requirement.
8650         * manual/install.texi (Linux): Document Linux 3.2 headers
8651         requirement.
8652         * INSTALL: Regenerated.
8654 2016-02-24  Andreas Schwab  <schwab@suse.de>
8656         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8657         if !NO_LONG_DOUBLE.
8659 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8661         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8662         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8664 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8666         [BZ #19512]
8667         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8669 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8671         * posix/tst-dir.c: Include libc-internal.h.
8673 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8675         [BZ #19056]
8676         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8677         * manual/filesys.texi (Reading/Closing Directory): Mention
8678         deprecaion.
8679         * posix/tst-dir.c (main): Disable deprecation warning in test.
8681 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8683         [BZ #19679]
8684         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8685         Renamed to ...
8686         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8687         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8688         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8689         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8690         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8691         * sysdeps/x86_64/dl-trampoline.h
8692         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8693         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8695 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8697         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8699 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8701         * elf/elf.h (R_386_GOT32X): New.
8702         (R_386_NUM): Update.
8703         (R_X86_64_GOTPCRELX: New.
8704         (R_X86_64_REX_GOTPCRELX): New.
8705         (R_X86_64_NUM): Update.
8707 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8709         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8711 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8713         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8714         assign attr->stackaddr to it, and adjust it down when
8715         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8716         [_STACK_GROWS_UP]: Delete assert.
8717         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8718         Implement stack grows up logic.
8719         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8720         stack grows up logic.
8722 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8724         * NEWS: Update with 2.24 template.
8726 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8728         [BZ #19678]
8729         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8730         Ensure +0.0 is returned when taking the next value below the least
8731         positive value.
8733 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8735         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8736         available.  Do not define NO_THREADS.
8737         * malloc/malloc.c: Do not check NO_THREADS.
8738         * malloc/arena.c: Likewise.
8740 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8742         * malloc/malloc.c (__libc_mallinfo): Update comment.
8743         (struct malloc_par): Remove max_total_mem member, it was always 0.
8744         (int_mallinfo): Store 0 into usmblks (no functional change).
8745         * malloc/hooks.c (struct malloc_state): Document that
8746         max_total_mem is always 0.
8747         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8748         always 0.
8749         * manual/memory.texi (Statistics of Malloc): Likewise.
8751 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8753         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8754         * malloc/arena.c (arena_max): Remove.
8755         (heap_trim, _int_new_arena): Do not update arena_max.
8757 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8759         * resolv/res_init.c (res_ninit): Update comment.
8761 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8763         [BZ #19505]
8764         * posix/spawn_int.h: Add headers and include guard.
8765         (__spawn_valid_fd): New function.
8766         * posix/spawn_faction_addopen.c
8767         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8768         * posix/spawn_faction_addclose.c
8769         (posix_spawn_file_actions_addclose): Likewise.
8770         * posix/spawn_faction_adddup2.c
8771         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8772         second file descriptor.
8773         * posix/spawn_valid_fd.c: New file.
8774         * posix/tst-posix_spawn-fd.c: New file.
8775         * posix/Makefile (routines): Add spawn_valid_fd.
8776         (tests): Add tst-posix_spawn-fd.
8778 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8780         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8781         (do_test): Limit the number of arenas, so that we can use fewer
8782         outer threads.  Limit timeout to 3 seconds, in preparation for a
8783         larger TIMEOUT value.
8785 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8787         [BZ #19674]
8788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8789         sign in overflowing and underflowing results when overflow or
8790         underflow is detected early.  Include sign in result before rather
8791         than after scaling.
8793         [BZ #19603]
8794         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8795         (__ieee754_remainderl): Adjust sign of integer version of low part
8796         when taking absolute value of high part.
8797         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8798         * math/libm-test.inc (remainder_test_data): Add another test.
8799         (remquo_test_data): Likewise.
8801 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8803         [BZ #19602]
8804         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8805         equal high parts and both low parts zero specially.
8806         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8807         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8808         Add test-fmodl-ldbl-128ibm.
8810         [BZ #19595]
8811         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8812         common logic for all cases of shifting subnormal results.  Do not
8813         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8814         exponent to ldbl_insert_mantissa in subnormal case.
8816         [BZ #19594]
8817         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8818         on high and low parts then adjust result and use
8819         ldbl_canonicalize_int if needed.
8821         [BZ #19593]
8822         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8823         on high part and __floor or __ceil on low part then use
8824         ldbl_canonicalize_int if needed.
8826         [BZ #19592]
8827         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8828         high and low parts then use ldbl_canonicalize_int if needed.
8830         [BZ #17899]
8831         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8832         New function.
8833         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8834         on high and low parts then use ldbl_canonicalize_int if needed.
8836 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8838         * configure: Regenerated.
8840         * po/libc.pot: Regenerated.
8842         * po/be.po: Updated translation.
8843         * po/bg.po: Likewise.
8844         * po/ca.po: Likewise.
8845         * po/cs.po: Likewise.
8846         * po/da.po: Likewise.
8847         * po/el.po: Likewise.
8848         * po/eo.po: Likewise.
8849         * po/es.po: Likewise.
8850         * po/fi.po: Likewise.
8851         * po/fr.po: Likewise.
8852         * po/gl.po: Likewise.
8853         * po/hr.po: Likewise.
8854         * po/hu.po: Likewise.
8855         * po/ia.po: Likewise.
8856         * po/id.po: Likewise.
8857         * po/it.po: Likewise.
8858         * po/ja.po: Likewise.
8859         * po/lt.po: Likewise.
8860         * po/nb.po: Likewise.
8861         * po/nl.po: Likewise.
8862         * po/pt_BR.po: Likewise.
8863         * po/rw.po: Likewise.
8864         * po/sk.po: Likewise.
8865         * po/sl.po: Likewise.
8866         * po/sv.po: Likewise.
8867         * po/tr.po: Likewise.
8868         * po/zh_CN.po: Likewise.
8869         * po/zh_TW.po: Likewise.
8871         * version.h (RELEAES): Set to "development".
8872         (VERSION): Set to 2.23.90.
8874         * version.h (RELEASE): Set to "stable".
8875         (VERSION): Set to 2.23.
8876         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8878         * NEWS: Updated fixed bugs.
8880 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8881             Wilco Dijkstra  <wdijkstr@arm.com>
8883         [BZ #19462]
8884         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8885         (_STRING_INLINE_unaligned): This.
8886         * include/string.h: Include <string_private.h>.
8887         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8888         _STRING_INLINE_unaligned.
8889         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8890         (_STRING_INLINE_unaligned): New.
8891         * sysdeps/aarch64/string_private.h: New file.
8892         * sysdeps/generic/string_private.h: Likewise.
8893         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8894         * sysdeps/s390/string_private.h: Likewise.
8895         * sysdeps/x86/string_private.h: Likewise.
8896         * sysdeps/m68k/m680x0/m68020/bits/string.h
8897         (_STRING_ARCH_unaligned): Renamed to ...
8898         (_STRING_INLINE_unaligned): This.
8899         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8900         to ...
8901         (_STRING_INLINE_unaligned): This.
8902         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8903         to ...
8904         (_STRING_INLINE_unaligned): This.
8905         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8906         to ...
8907         (_STRING_INLINE_unaligned): This.
8909 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8910             H.J. Lu  <hongjiu.lu@intel.com>
8912         [BZ #19590]
8913         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8914         relocation.
8916 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8918         [BZ #18665]
8919         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8920         *herrno_p.
8921         (gaih_getanswer): Document functional behviour. Return tryagain
8922         if any result is tryagain.
8923         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8924         when freed.
8925         * resolv/res_send.c: Add copyright text.
8926         (__libc_res_nsend): Document that MAXPACKET is expected.
8927         (send_vc): Document. Remove buffer reuse.
8928         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8929         size of the buffer. Add Dprint for truncated UDP buffer.
8931 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8933         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8934         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8935         * INSTALL: Regenerate.
8937 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8938             Jonathan Wakely  <jwakely@redhat.com>
8939             Carlos O'Donell  <carlos@redhat.com>
8941         [BZ 19439]
8942         * math/Makefile (tests): Add test-math-isinff.
8943         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8944         * math/bits/mathcalls.h [__USE_MISC]: Use
8945         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8946         functions not in C++11 and which don't conflict e.g. isinff,
8947         isinfl etc.
8948         * math/test-math-isinff.cc: New file.
8950 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8952         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8954 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8956         [BZ #19529]
8957         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8959 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8961         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8963 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8965         [BZ #19550]
8966         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8967         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8968         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8969         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8970         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8971         New syscall entry.
8972         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8973         New syscall entry.
8974         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8975         syscall entry.
8977 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8979         [BZ #18240]
8980         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8981         unsigned int wraparound.
8983 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8985         [BZ #18240]
8986         * misc/bug18240.c: New test.
8987         * misc/Makefile (tests): Add it.
8989 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8990             Joseph Myers  <joseph@codesourcery.com>
8992         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8993         load in branch delay slot when less than a word of input left.
8995 2016-01-27  Andreas Schwab  <schwab@suse.de>
8997         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8998         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8999         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9000         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9002 2016-01-26  David S. Miller  <davem@davemloft.net>
9004         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9006 2016-01-25  David S. Miller  <davem@davemloft.net>
9008         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9009         __sqrtl_finite.
9010         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9011         instead using versioned_symbol.
9012         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9013         of entries.
9015         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9016         __sqrtl_finite to GLIBC_2.23
9018 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9020         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9022 2016-01-25  Andreas Schwab  <schwab@suse.de>
9024         [BZ #17514]
9025         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9026         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9027         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9028         * nptl/tst-mutex-errorcheck.c: New file.
9030 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9032         [BZ #18560]
9033         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9034         (IPCOP_semop): Likewise.
9035         (IPCOP_semget): Likewise.
9036         (IPCOP_semctl): Likewise.
9037         (IPCOP_msgsnd): Likewise.
9038         (IPCOP_msgrcv): Likewise.
9039         (IPCOP_msgget): Likewise.
9040         (IPCOP_msgctl): Likewise.
9041         (IPCOP_shmat): Likewise.
9042         (IPCOP_shmdt): Likewise.
9043         (IPCOP_shmget): Likewise.
9044         (IPCOP_shmctl): Likewise.
9046 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9048         * string/tst-endian.c: Include <libc-internal.h>.
9049         (do_test): Ignore tautological-compare warnings around
9050         "htobeXX (beXXtoh (i)) != i" and
9051         "htoleXX (leXXtoh (i)) != i" if-statements.
9053 2016-01-24  David S. Miller  <davem@davemloft.net>
9055         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9056         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9057         alias.
9058         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9059         __sqrtl_finite.
9061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9063 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9065         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9066         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9067         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9069 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9071         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9072         (thread_func): Use new function to simplify barrier check.
9073         (do_test): Use new function to simplify checking barrier exit
9074         code, and actually join the child thread.
9076 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9078         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9079         semicolon.
9080         (__libc_tend): Likewise.
9081         (__libc_tabort): Likewise.
9083 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9085         * sysdeps/nios2/libm-test-ulps: Update.
9086         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9087         (__gtsf2): Likewise.
9088         (__unorddf2): Likewise.
9089         (__unordsf2): Likewise.
9090         (__ledf2): Likewise.
9092 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9094         * nis/nis_table.c (__follow_path): Disable diagnostic for
9095         uninitialized variable that is a false positive for gcc 4.7.
9096         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9098 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9100         * sysdeps/nacl/lowlevellock-futex.h
9101         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9102         Always evaluate PRIVATE argument.
9104 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9106         [BZ #19490]
9107         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9108         (pthread_cond_broadcast): Use ENTRY/END
9109         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9110         (pthread_cond_signal): Likewise.
9111         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9112         Likewise.
9113         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9114         Likewise.
9115         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9116         Likewise.
9118 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9120         * sysdeps/ieee754/dbl-64/s_finite.c
9121         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9122         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9123         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9124         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9125         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9128         (__gtsf2): Add as optional for libc.so.
9129         (__unordsf2): Likewise.
9130         (__signbit): Remove for libc.so.
9131         (__signbitl): Likewise.
9133 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9135         * iconvdata/bug-iconv11.c (test_ibm93x):
9136         Use %zu printf format specifier for size_t argument.
9138 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9140         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9141         already-recorded ulps.
9142         * sysdeps/arm/libm-test-ulps: Regenerated.
9143         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9144         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9145         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9147 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9148             Paul Pluzhnikov  <ppluzhnikov@google.com>
9150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9151         assembler not supporting AVX-512.
9153 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9155         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9157 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9159         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9160         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9162         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9164         * sysdeps/arm/libm-test-ulps: Regenerated.
9166 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9168         [BZ #19451]
9169         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9171 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9173         [BZ #19486]
9174         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9175         * sysdeps/generic/fix-fp-int-convert-overflow.h
9176         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9177         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9178         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9179         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9180         Likewise.
9181         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9182         Avoid conversions to long int where inexact exceptions
9183         could be raised.
9184         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9185         Likewise.
9186         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9187         Avoid conversions to long long int where inexact exceptions
9188         could be raised.
9189         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9190         Likewise.
9192 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9194         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9195         * configure: Regenerated.
9197 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9199         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9201 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9203         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9204         outside of comment.
9206 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9208         * nptl/tst-barrier1.c: Add description on first line.
9209         * nptl/tst-barrier2.c: Likewise.
9210         * nptl/tst-barrier3.c: Likewise.
9211         * nptl/tst-barrier4.c: Likewise.
9212         * nptl/tst-barrier5.c: Likewise.
9214 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9216         [BZ #18868]
9217         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9219 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9222         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9223         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9224         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9225         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9226         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9227         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9228         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9229         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9230         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9231         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9233 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9235         [BZ #13065]
9236         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9237         new implementation.
9238         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9239         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9240         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9241         (BARRIER_IN_THRESHOLD): New macro.
9242         * nptl/pthread_barrierattr_setpshared.c
9243         (pthread_barrierattr_setpshared): Clean up.
9244         * nptl/tst-barrier4.c: Correct comment.
9245         * nptl/tst-barrier5.c: New file.
9246         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9247         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9248         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9249         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9250         * nptl/lowlevelbarrier.sym: Remove.
9251         * nptl/DESIGN-barrier.txt: Remove.
9252         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9253         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9254         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9255         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9256         error.
9257         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9258         implementation.
9260 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9262         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9263         (do_child): Mask SIGRTMIN while thr is running.
9265 2016-01-15  Martin Sebor  <msebor@redhat.com>
9267         [BZ #19432]
9268         * iconvdata/Makefile: Add bug-iconv11.
9269         * iconvdata/bug-iconv11.c: New test.
9270         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9271         * iconvdata/ibm933.c: Same.
9272         * iconvdata/ibm935.c: Same.
9273         * iconvdata/ibm937.c: Same.
9274         * iconvdata/ibm939.c: Same.
9276 2016-01-15  Martin Sebor  <msebor@redhat.com>
9278         [BZ #19443]
9279         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9280         [DEBUG] (_ufc_set_bits): Declare used.
9281         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9282         [DEBUG] (print_all): Declare used.
9283         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9284         operands of the ternary ?: expression to target type.
9285         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9286         calling the undeclared abort.
9287         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9289 2016-01-15  Martin Sebor  <msebor@redhat.com>
9291         [BZ #18755]
9292         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9293         warnings.
9294         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9295         (__gai_create_helper_thread): Same.
9296         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9297         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9298         to suppress -Wmaybe-uninitialized warnings.
9300 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9302         [BZ #19465]
9303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9304         inside if.
9305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9306         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9309 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9311         [BZ #19466]
9312         * time/tst-mktime2.c (time_t_max): Removed.
9313         (time_t_min): Likewise.
9314         (TYPE_SIGNED): New.
9315         (TYPE_MINIMUM): Likewise.
9316         (TYPE_MAXIMUM): Likewise.
9317         (TIME_T_MIN): Likewise.
9318         (TIME_T_MAX): Likewise.
9319         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9320         and TIME_T_MIN.
9321         (do_test): Likewise.
9323 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9325         [BZ #19467]
9326         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9327         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9329 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9331         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9333 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9335         * benchtests/Makefile (PYTHON): Define.
9336         (bench-func): Use $(PYTHON) to run python scripts.
9337         ($(objpfx)bench-%.c): Likewise.
9339 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9341         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9342         leading slash when `file_name' is "/".
9344 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9346         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9347         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9348         Likewise.
9349         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9350         Likewise.
9351         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9352         Likewise.
9353         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9354         enum constant and macro.
9355         (PTRACE_SETSIGMASK): Likewise.
9356         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9357         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9358         (PTRACE_GETSIGMASK): Likewise.
9359         (PTRACE_SETSIGMASK): Likewise.
9360         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9361         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9362         Likewise.
9363         (PTRACE_SETSIGMASK): Likewise.
9364         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9365         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9366         (PTRACE_GETSIGMASK): Likewise.
9367         (PTRACE_SETSIGMASK): Likewise.
9368         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9369         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9370         Likewise.
9371         (PTRACE_SETSIGMASK): Likewise.
9372         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9373         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9374         Likewise.
9375         (PTRACE_SETSIGMASK): Likewise.
9376         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9377         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9378         Likewise.
9379         (PTRACE_SETSIGMASK): Likewise.
9380         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9382 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9383             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9385         [BZ #19439]
9386         * math/bits/mathcalls.h
9387         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9388         prototype.
9389         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9391 2016-01-11  Andreas Schwab  <schwab@suse.de>
9393         [BZ #19253]
9394         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9395         cache when TZDEFRULES was used.
9396         * time/tst-tzname.c: New file.
9397         * time/Makefile (test): Add tst-tzname.
9398         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9399         * timezone/Makefile (test-zones): Add $(posixrules-file).
9400         ($(testdata)/$(posixrules-file)): New rule.
9402 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9404         Fix doc quoting problems with Texinfo 5
9405         Without this change, in the info file output, Texinfo 5 quotes code
9406         in text with undirected single quotes 'like this' and generates
9407         code examples that with many PDF readers cannot be cut out of PDFs
9408         and pasted into code.
9409         * manual/libc.texinfo: Configure the libc manual like the GNU
9410         Emacs manual, by using @documentencoding and setting
9411         txicodequoteundirected and txicodequotebacktick.  This way,
9412         Texinfo 5 quotes code in text with directed single quotes ‘like
9413         this’ and produces examples that can be cut out of PDFs.  This
9414         change causes Texinfo 5 to generate info files that contain UTF-8
9415         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9416         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9418 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9420         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9421         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9422         barriers to their respective compiler built-ins.
9423         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9424         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9425         * sysdeps/powerpc/sysdep.h: Likewise.
9426         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9427         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9428         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9430 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9432         * scripts/config.guess: Revert previous shebang change.
9433         * scripts/config.sub: Likewise.
9434         * scripts/mkinstalldirs: Likewise.
9436 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9438         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9439         PPC_FEATURE2_HAS_IEEE128.
9440         * sysdeps/powerpc/dl-procinfo.c:
9441         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9443 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9445         [BZ #19415]
9446         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9447         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9448         (_dl_lookup_address): Rewrite using function resolver trampoline.
9449         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9450         two bits in address.
9452 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9454         * longlong.h: Change !__SHMEDIA__ to
9455         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9456         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9458 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9459             Joseph Myers  <joseph@codesourcery.com>
9460             Mark Shinwell  <shinwell@codesourcery.com>
9461             Andrew Stubbs  <ams@codesourcery.com>
9462             Rich Felker <dalias@libc.org>
9464         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9466 2016-01-07  Richard Henderson  <rth@redhat.com>
9468         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9470 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9472         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9473         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9474         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9475         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9476         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9478 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9479             Joseph Myers  <joseph@codesourcery.com>
9481         * timezone/private.h: Update from tzcode 2015g.
9482         * timezone/tzfile.h: Likewise.
9483         * timezone/tzselect.ksh: Likewise.
9484         * timezone/zdump.c: Likewise.
9485         * timezone/zic.c: Likewise.
9486         * timezone/ialloc.c: Remove file.
9487         * timezone/scheck.c: Likewise.
9488         * timezone/Makefile (extra-objs): Remove variable.
9489         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9490         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9491         -Wno-maybe-uninitialized.
9492         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9493         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9494         (CFLAGS-ialloc.c): Remove variable.
9495         (CFLAGS-scheck.c): Likewise.
9496         * timezone/README: Update list of files from tzcode.
9498 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9500         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9501         instead of __fxprintf when _LIBC is undefined.
9503 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9505         * catgets/test-gencat.sh: Remove space after shebang.
9506         * conform/GlibcConform.pm: Likewise.
9507         * conform/check-header-lists.sh: Likewise.
9508         * conform/conformtest.pl: Likewise.
9509         * conform/linknamespace.pl: Likewise.
9510         * conform/list-header-symbols.pl: Likewise.
9511         * debug/catchsegv.sh: Likewise.
9512         * elf/genrtldtbl.awk: Likewise.
9513         * elf/tst-pathopt.sh: Likewise.
9514         * elf/tst-rtld-load-self.sh: Likewise.
9515         * grp/tst_fgetgrent.sh: Likewise.
9516         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9517         * iconvdata/gen-8bit-gap.sh: Likewise.
9518         * iconvdata/gen-8bit.sh: Likewise.
9519         * iconvdata/run-iconv-test.sh: Likewise.
9520         * intl/tst-gettext.sh: Likewise.
9521         * intl/tst-gettext2.sh: Likewise.
9522         * intl/tst-gettext4.sh: Likewise.
9523         * intl/tst-gettext6.sh: Likewise.
9524         * intl/tst-translit.sh: Likewise.
9525         * io/ftwtest-sh: Likewise.
9526         * libio/test-freopen.sh: Likewise.
9527         * locale/gen-translit.pl: Likewise.
9528         * malloc/tst-mtrace.sh: Likewise.
9529         * manual/check-safety.sh: Likewise.
9530         * manual/libc-texinfo.sh: Likewise.
9531         * manual/tsort.awk: Likewise.
9532         * manual/xtract-typefun.awk: Likewise.
9533         * nptl/tst-cancel-wrappers.sh: Likewise.
9534         * nptl/tst-tls6.sh: Likewise.
9535         * posix/globtest.sh: Likewise.
9536         * posix/tst-getconf.sh: Likewise.
9537         * posix/wordexp-tst.sh: Likewise.
9538         * scripts/check-c++-types.sh: Likewise.
9539         * scripts/check-local-headers.sh: Likewise.
9540         * scripts/config.guess: Likewise.
9541         * scripts/config.sub: Likewise.
9542         * scripts/cpp: Likewise.
9543         * scripts/cross-test-ssh.sh: Likewise.
9544         * scripts/documented.sh: Likewise.
9545         * scripts/evaluate-test.sh: Likewise.
9546         * scripts/gen-libc-abis: Likewise.
9547         * scripts/gen-sorted.awk: Likewise.
9548         * scripts/list-fixed-bugs.py: Likewise.
9549         * scripts/merge-test-results.sh: Likewise.
9550         * scripts/mkinstalldirs: Likewise.
9551         * scripts/rellns-sh: Likewise.
9552         * scripts/test-installation.pl: Likewise.
9553         * scripts/update-copyrights: Likewise.
9554         * stdio-common/tst-printf.sh: Likewise.
9555         * stdio-common/tst-unbputc.sh: Likewise.
9556         * stdlib/tst-fmtmsg.sh: Likewise.
9557         * stdlib/tst-setcontext3.sh: Likewise.
9558         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9559         * sysdeps/unix/make-syscalls.sh: Likewise.
9561 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9563         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9564         asm stw with atomic_exchange_rel.  Add explanatory comment.
9565         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9566         Likewise.
9568 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9570         [BZ #19122]
9571         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9572         * sysdeps/generic/dl-unistd.h: New file.
9573         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9575 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9577          [BZ #19122]
9578          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9579          * sysdeps/generic/dl-mman.h: New file.
9580          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9582 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9584         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9585         trailing whitespace removed.
9586         * scripts/config.guess: Update to version 2016-01-01.
9587         * scripts/config.sub: Update to version 2016-01-01.
9588         * scripts/move-if-change: Update from gnulib.
9590 2016-01-04  Anton Blanchard  <anton@samba.org>
9592         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9593         for array indices.
9594         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9596 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9598         * NEWS: Update copyright dates.
9599         * catgets/gencat.c (print_version): Likewise.
9600         * csu/version.c (banner): Likewise.
9601         * debug/catchsegv.sh: Likewise.
9602         * debug/pcprofiledump.c (print_version): Likewise.
9603         * debug/xtrace.sh (do_version): Likewise.
9604         * elf/ldconfig.c (print_version): Likewise.
9605         * elf/ldd.bash.in: Likewise.
9606         * elf/pldd.c (print_version): Likewise.
9607         * elf/sotruss.sh: Likewise.
9608         * elf/sprof.c (print_version): Likewise.
9609         * iconv/iconv_prog.c (print_version): Likewise.
9610         * iconv/iconvconfig.c (print_version): Likewise.
9611         * locale/programs/locale.c (print_version): Likewise.
9612         * locale/programs/localedef.c (print_version): Likewise.
9613         * login/programs/pt_chown.c (print_version): Likewise.
9614         * malloc/memusage.sh (do_version): Likewise.
9615         * malloc/memusagestat.c (print_version): Likewise.
9616         * malloc/mtrace.pl: Likewise.
9617         * manual/libc.texinfo: Likewise.
9618         * nptl/version.c (banner): Likewise.
9619         * nscd/nscd.c (print_version): Likewise.
9620         * nss/getent.c (print_version): Likewise.
9621         * nss/makedb.c (print_version): Likewise.
9622         * posix/getconf.c (main): Likewise.
9623         * scripts/test-installation.pl: Likewise.
9624         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9626         * All files with FSF copyright notices: Update copyright dates
9627         using scripts/update-copyrights.
9628         * intl/plural.c: Regenerated.
9629         * locale/programs/charmap-kw.h: Likewise.
9630         * locale/programs/locfile-kw.h: Likewise.
9632 2016-01-02  Helge Deller  <deller@gmx.de>
9634         [BZ #19285]
9635         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9636         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9637         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9638         (MADV_xxK_PAGES): Remove.
9640 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9642         [BZ #15421]
9643         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9644         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9645         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9646         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9648 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9650         [BZ #19408]
9651         * sysdeps/unix/sysv/linux/personality.c: New file.
9652         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9653         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9654         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9655         (sysdep_routines): Add personality.
9656         (tests): Add tst-personality.
9657         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9658         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9659         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9660         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9661         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9662         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9663         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9664         Likewise.
9665         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9666         Likewise.
9667         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9670         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9671         Likewise.
9673 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9675         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9676         (PATH_ARM_SYSTYPE): Remove.
9677         (PATH_CPUINFO): Likewise.
9678         (IO_BASE_FOOTBRIDGE): Likewise.
9679         (IO_SHIFT_FOOTBRIDGE): Likewise.
9680         (struct platform): Likewise.
9681         (init_iosys): Remove compatibility code for 2.4 kernels.
9682         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9684 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9686         * malloc/tst-malloc-thread-fail.c: New file.
9687         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9688         (tst-malloc-thread-fail): Link against libpthread.
9690 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9692         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9693         (get_parser): New function.
9694         (main): New function.
9696 2015-12-29  Rob Wu  <rob@robwu.nl>
9698         [BZ #19369]
9699         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9701 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9703         [BZ #19270]
9704         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9706 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9708         [BZ #15421]
9709         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9711 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9713         [BZ #13690]
9714         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9715         after releasing it.
9716         (__lll_robust_unlock): Likewise.
9717         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9718         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9719         (lll_robust_unlock): Likewise.
9720         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9721         Prevent warnings in callers.
9723 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9725         * malloc/arena.c (list_lock): Update comment.
9727 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9729         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9730         __parse_hwcap_and_convert_at_platform to libc.a.
9732 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9734         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9735         platform and feature support for POWER9.
9736         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9737         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9738         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9739         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9740         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9741         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9742         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9743         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9745 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9747         Harmonize generic stdio-lock support with nptl
9749         This fixes build when _IO_funlockfile is a macro, fixes build where
9750         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9751         stack unwind.
9753         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9754         _IO_release_lock ): Use cleanup attribute on new
9755         _IO_acquire_lock_file variable instead of assuming that
9756         _IO_release_lock will be called.
9757         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9758         _IO_acquire_lock_needs_exceptions_enabled.
9759         (_IO_acquire_lock_clear_flags2): New macro.
9761 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9763         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9765 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9767         [BZ #19182]
9768         * malloc/arena.c (list_lock): Document lock ordering requirements.
9769         (free_list_lock): New lock.
9770         (ptmalloc_lock_all): Comment on free_list_lock.
9771         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9772         (detach_arena): Update comment.  free_list_lock is now needed.
9773         (_int_new_arena): Use free_list_lock around detach_arena call.
9774         Acquire arena lock after list_lock.  Add comment, including FIXME
9775         about incorrect synchronization.
9776         (get_free_list): Switch to free_list_lock.
9777         (reused_arena): Acquire free_list_lock around detach_arena call
9778         and attached threads counter update.  Add two FIXMEs about
9779         incorrect synchronization.
9780         (arena_thread_freeres): Switch to free_list_lock.
9781         * malloc/malloc.c (struct malloc_state): Update comments to
9782         mention free_list_lock.
9784 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9786         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9787         Remove functions.
9788         (sloww, sloww1): Accept argument to offset quadrant.
9789         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9790         quadrant.
9791         (__sin, __cos): Consolidate common code into new functions.
9792         (reduce_sincos_1, do_sincos_1): New functions.
9793         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9795         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9796         code to new functions.
9797         (reduce_sincos_2, do_sincos_2): New functions.
9798         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9800         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9801         common code for sincos.
9802         (__cos) [!IN_SINCOS]: Likewise.
9803         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9804         New function.
9805         (__sincos): Use it.
9807 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9809         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9810         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9811         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9813 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9815         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9818         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9819         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9820         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9821         index_Prefer_No_VZEROUPPER): New feature.
9822         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9823         Prefer_No_VZEROUPPER for Knights Landing.
9825 015-12-18  Torvald Riegel  <triegel@redhat.com>
9827         * math/atest-exp2.c (mp_exp_m1): Remove.
9829 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9831         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9832         syscalls.
9833         (__SYSCALL0): New macro.
9834         (__SYSCALL1): Likewise.
9835         (__SYSCALL2): Likewise.
9836         (__SYSCALL3): Likewise.
9837         (__SYSCALL4): Likewise.
9838         (__SYSCALL5): Likewise.
9839         (__SYSCALL6): Likewise.
9840         (__SYSCALL_CONCAT_X): Likewise.
9841         (__SYSCALL_CONCAT): Likewise.
9842         (__SYSCALL_DIST): Likewise.
9843         (__SYSCALL_CALL): Likewise.
9845 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9847         [BZ #19363]
9848         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9850 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9852         [BZ #19375]
9853         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9854         negative subnormals.
9856 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9859         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9860         (INTERNAL_SYSCALL_NCS): Use it.
9861         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9863 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9865         [BZ #19243]
9866         * malloc/arena.c (get_free_list): Remove assert and adjust
9867         reference count handling.  Add comment about reused_arena
9868         interaction.
9869         (reused_arena): Add comments abount get_free_list interaction.
9870         * malloc/tst-malloc-thread-exit.c: New file.
9871         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9872         (tst-malloc-thread-exit): Link against libpthread.
9874 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9876         [BZ #19367]
9877         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9878         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9879         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9880         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9881         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9883 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9885         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9886         Silvermont optimizations for Knights Landing.
9888 2015-12-15  Andreas Schwab  <schwab@suse.de>
9890         [BZ #17197]
9891         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9892         immediately after emitting SI.
9893         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9894         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9895         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9896         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9897         * iconvdata/bug-iconv10.c: New file.
9898         * iconvdata/Makefile (tests): Add bug-iconv10.
9899         ($(objpfx)bug-iconv10.out): New rule.
9901 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9903         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9904         aliasing violation.
9906 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9908         [BZ #18472]
9909         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9910         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9911         conditionals for them.
9912         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9913         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9915         sys/kdaemon.h.
9916         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9917         compat-only syscall, obsoleted in glibc 2.23.
9918         (create_module): Likewise.
9919         (get_kernel_syms): Likewise.
9920         (query_module): Likewise.
9921         (uselib): Likewise.
9922         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9924 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9926         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9927         <linux/version.h>.
9928         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9929         conditional code.
9930         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9931         and ioshift_name initialization.
9933 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9935         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9936         Fix indentation.
9938 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9940         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9942 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9944         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9946 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9947             Jakub Wilk  <jwilk@debian.org>
9949         [BZ #19347]
9950         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9951         to change the group of the device to the tty group.
9953 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9955         Split large string section; add truncation advice
9956         * manual/examples/strncat.c: Remove.
9957         This example was misleading, as the code would have undefined
9958         behavior if "hello" was longer than SIZE.  Anyway, the manual
9959         shouldn't encourage strncpy+strncat for this sort of thing.
9960         * manual/string.texi (Copying Strings and Arrays): Split into
9961         three sections Copying Strings and Arrays, Concatenating Strings,
9962         and Truncating Strings, as this section was way too long.  All
9963         cross-referenced changed.  Add advice about string-truncation
9964         functions.  Remove misleading strncat example.
9966 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9968         * manual/nss.texi (NSS Modules Interface): Document
9969         NSS_STATUS_NOTFOUND and SUCCESS.
9971 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9973         [BZ 18568]
9974         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9975         201505L, for Unicode 8.
9977 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9979         * locale/C-translit.h: Regenerate.
9981 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9983         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9984         and U+0153.
9986 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9988         [BZ #19351]
9989         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9990         expanding log(1+z), compare z rather than its square with epsilon
9991         to determine when to avoid evaluating the expansion.
9993         [BZ #19350]
9994         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9995         Increase overflow threshold.
9997         [BZ #19349]
9998         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9999         when small.
10001         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10002         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10003         New macro.
10004         [__LINUX_KERNEL_VERSION >= 0x040300]
10005         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10006         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10007         Likewise.
10008         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10009         Likewise.
10010         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10011         Likewise.
10012         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10013         Likewise.
10014         [__LINUX_KERNEL_VERSION >= 0x040300]
10015         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10016         [__LINUX_KERNEL_VERSION >= 0x040300]
10017         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10018         [__LINUX_KERNEL_VERSION >= 0x040300]
10019         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10020         [__LINUX_KERNEL_VERSION >= 0x040300]
10021         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10022         [__LINUX_KERNEL_VERSION >= 0x040300]
10023         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10024         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10025         Likewise.
10026         [__LINUX_KERNEL_VERSION >= 0x040300]
10027         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10029         Likewise.
10030         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10031         Likewise.
10032         [__LINUX_KERNEL_VERSION >= 0x040300]
10033         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10035         Likewise.
10036         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10037         Likewise.
10038         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10039         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10040         Likewise.
10041         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10042         Likewise.
10043         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10044         Likewise.
10045         [__LINUX_KERNEL_VERSION >= 0x040300]
10046         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10047         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10048         Likewise.
10049         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10050         Likewise.
10051         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10052         Likewise.
10053         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10054         Likewise.
10055         [__LINUX_KERNEL_VERSION >= 0x040300]
10056         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10057         [__LINUX_KERNEL_VERSION >= 0x040300]
10058         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10059         [__LINUX_KERNEL_VERSION >= 0x040300]
10060         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10061         [__LINUX_KERNEL_VERSION >= 0x040300]
10062         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10063         [__LINUX_KERNEL_VERSION >= 0x040300]
10064         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10065         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10066         Likewise.
10067         [__LINUX_KERNEL_VERSION >= 0x040300]
10068         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10069         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10070         Likewise.
10071         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10072         Likewise.
10073         [__LINUX_KERNEL_VERSION >= 0x040300]
10074         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10075         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10076         Likewise.
10077         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10078         Likewise.
10079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10080         (__ASSUME_SOCKET_SYSCALL): Likewise.
10081         (__ASSUME_BIND_SYSCALL): Likewise.
10082         (__ASSUME_CONNECT_SYSCALL): Likewise.
10083         (__ASSUME_LISTEN_SYSCALL): Likewise.
10084         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10085         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10086         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10087         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10088         (__ASSUME_SEND_SYSCALL): Likewise.
10089         (__ASSUME_SENDTO_SYSCALL): Likewise.
10090         (__ASSUME_RECV_SYSCALL): Likewise.
10091         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10092         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10093         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10094         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10095         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10096         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10097         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10098         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10099         Likewise.
10100         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10101         Likewise.
10102         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10103         Likewise.
10104         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10105         Likewise.
10106         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10107         Likewise.
10108         [__LINUX_KERNEL_VERSION >= 0x020625]
10109         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10110         [__LINUX_KERNEL_VERSION >= 0x020625]
10111         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10112         [__LINUX_KERNEL_VERSION >= 0x020625]
10113         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10114         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10115         Likewise.
10116         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10117         Likewise.
10118         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10119         Likewise.
10120         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10121         Likewise.
10122         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10123         Likewise.
10124         [__LINUX_KERNEL_VERSION >= 0x020625]
10125         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10126         [__LINUX_KERNEL_VERSION >= 0x020625]
10127         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10128         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10129         Likewise.
10130         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10131         Likewise.
10133 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10135         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10136         record the current if the current ABI and CPU support the FP64
10137         extension.
10138         (has-modd-spreg): Define to record the current if the current ABI and
10139         CPU support 32-bit floating point values in odd FPU registers.
10140         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10141         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10142         $(has-modd-spreg) equals yes.
10143         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10144         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10145         $(has-modd-spreg) equal yes.
10147 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10149         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10150         basename.
10152 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10154         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10155         (bench-string): ... here.
10156         (bench): Add bench-string.
10157         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10158         to *-benchset to reflect what they are.
10159         (benchset): Adjust.
10161         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10162         cos-inputs.
10164 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10166         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10167         __attribute__ ((__simd__)) for vector math function declarations.
10169 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10171         Fix typo in strncat, wcsncat manual entries
10172         * manual/string.texi (Copying and Concatenation): Fix typos in
10173         sample implementations of strncat and wcsncat, by having them use
10174         the old value of the destination length, not the new one.
10176 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10178         [BZ #16961]
10179         [BZ #16962]
10180         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10181         string on the stack for strtod.
10182         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10183         a string on the stack for strtof.
10184         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10185         constructing a string on the stack for strtold.
10186         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10187         __strtold_nan to GLIBC_PRIVATE.
10188         * math/test-nan-overflow.c: New file.
10189         * math/test-nan-payload.c: Likewise.
10190         * math/Makefile (tests): Add test-nan-overflow and
10191         test-nan-payload.
10193 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10195         Consistency about byte vs character in string.texi
10196         * manual/string.texi (String and Array Utilities):
10197         Distinguish more carefully among bytes, multibyte characters,
10198         and wide characters.  Use "byte" when talking about C 'char',
10199         to distinguish it more clearly from multibyte characters.
10200         Say "wide character" or "multibyte character" instead of
10201         "character", when a wide or multibyte character is intended.
10202         Similarly for "multibyte string" versus "string".
10203         Define these terms more carefully.
10205 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10207         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10208         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10209         Likewise.
10210         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10211         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10212         * sysdeps/sh/math_private.h: New file.
10213         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10214         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10215         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10216         long double function name.
10217         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10218         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10221         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10223         Remove __finitel, __isinfl, and __isnanl.
10224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10225         Likewise.
10226         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10228         Remove __finitel.
10229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10230         Likewise.
10231         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10233 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10235         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10236         installed libmvec_nonshared.a.
10238 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10240         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10241         (sysdep_routines): Likewise.
10242         (sysdep-rtld-routines): Likewise.
10243         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10244         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10245         * sysdeps/powerpc/Versions: Added new
10246         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10247         * sysdeps/powerpc/hwcapinfo.c: New file.
10248         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10249         and parse hwcap, hwcap2 and platform number information.
10250         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10251         to store HWCAP+HWCAP2 and platform number.
10252         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10253         for HWCAP+HWCAP2 and platform number in the TCB.
10254         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10255         the HWCAP, HWCAP2 and platform number in the TCB.
10256         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10257         (TLS_INIT_TP): Included calls to add the hwcap and
10258         at_platform values in the TCB in TP initialization.
10259         (TLS_DEFINE_INIT_TP): Likewise.
10260         (THREAD_GET_HWCAP): New macro.
10261         (THREAD_SET_HWCAP): Likewise.
10262         (THREAD_GET_AT_PLATFORM): Likewise.
10263         (THREAD_SET_AT_PLATFORM): Likewise.
10264         * sysdeps/powerpc/powerpc32/dl-machine.h:
10265         (dl_platform_init): New function that calls
10266         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10267         powerpc32.
10268         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10269         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10270         this functionality, static linking case.
10271         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10272         linking case.
10273         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10274         __parse_hwcap_and_convert_at_platform for the static linking case.
10275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10276         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10277         ABI list for GLIBC 2.23.
10278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10279         Likewise.
10280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10281         Likewise.
10283 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10285         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10286         * configure: Regenerate.
10287         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10288         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10290 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10292         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10293         * iconvdata/ibm933.c: Likewise.
10294         * iconvdata/ibm935.c: Likewise.
10295         * iconvdata/ibm937.c: Likewise.
10296         * iconvdata/ibm939.c: Likewise.
10298 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10300         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10301         pthread_join.
10302         * nptl/tst-cancel21.c (tf): Likewise.
10304 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10306         [BZ #19313]
10307         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10308         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10309         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10310         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10311         Likewise.
10312         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10313         Likewise.
10314         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10315         Likewise.
10316         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10317         Likewise.
10318         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10319         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10320         unsigned long int with __CPU_MASK_TYPE.
10322 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10324         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10326 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10328         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10329         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10330         t512.x.
10331         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10333 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10335         [BZ #19214]
10336         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10337         argument to return extended model.  Update family and model
10338         with extended family and model when family == 0x0f.
10339         (init_cpu_features): Updated.
10341 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10343         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10344         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10346         * sysdeps/mach/hurd/mmap64.c: New file.
10348 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10350         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10351         rights for its main user thread in NEWTASK.
10353 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10355         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10356         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10358 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10360         [BZ #14259]
10361         * Makeconfig: Rename localedir to complocaledir.
10362         Rename inst_localedir to inst_complocaledir.
10363         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10364         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10365         * configure.ac: Use libc_cv_complocaledir.
10366         * configure: Regenerate.
10367         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10368         -DCOMPLOCALEDIR.
10369         * locale/findlocale.c: Use COMPLOCALEDIR.
10370         * locale/loadarchive.c: Likewise.
10371         * locale/programs/locale.c: Likewise.
10372         * locale/programs/localedef.c: Likewise.
10373         * locale/programs/locarchive.c: Likewise.
10374         * localedata/Makefile: Use inst_complocaledir.
10375         * sysdeps/gnu/configure: Regenerate.
10376         * sysdeps/hppa/configure: Regenerate.
10377         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10378         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10380         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10381         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10382         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10383         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10385 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10387         [BZ #19058]
10388         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10389         AS_NEEDED.
10390         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10391         workaround.
10392         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10393         libmvec-static-only-routines): Added new file.
10394         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10396 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10398         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10399         of interrupted RPC instead of restoring it.
10401         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10402         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10403         libc_hidden_def.
10404         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10405         into initialized data instead of common. Define rtld_hidden_data_def.
10406         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10407         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10408         libc_hidden_def.
10409         (if_freenameindex): Add libc_hidden_weak.
10410         (if_nameindex): Add libc_hidden_weak.
10411         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10412         __open64.
10413         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10414         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10415         * sysdeps/mach/nanosleep.c: Include <time.h>
10416         (__nanosleep): Rename to __libc_nanosleep.
10417         (__nanosleep): Add weak_alias.
10418         (nanosleep): Update alias.
10420 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10422         * stdlib/strtod_nan.c: New file.
10423         * stdlib/strtod_nan_double.h: Likewise.
10424         * stdlib/strtod_nan_float.h: Likewise.
10425         * stdlib/strtod_nan_main.c: Likewise.
10426         * stdlib/strtod_nan_narrow.h: Likewise.
10427         * stdlib/strtod_nan_wide.h: Likewise.
10428         * stdlib/strtof_nan.c: Likewise.
10429         * stdlib/strtold_nan.c: Likewise.
10430         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10431         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10432         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10433         * wcsmbs/wcstod_nan.c: Likewise.
10434         * wcsmbs/wcstof_nan.c: Likewise.
10435         * wcsmbs/wcstold_nan.c: Likewise.
10436         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10437         strtold_nan.
10438         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10439         wcstof_nan.
10440         * include/stdlib.h (__strtof_nan): Declare and use
10441         libc_hidden_proto.
10442         (__strtod_nan): Likewise.
10443         (__strtold_nan): Likewise.
10444         (__wcstof_nan): Likewise.
10445         (__wcstod_nan): Likewise.
10446         (__wcstold_nan): Likewise.
10447         * include/wchar.h (____wcstoull_l_internal): Declare.
10448         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10449         (____strtoull_l_internal): Remove declaration.
10450         (STRTOF_NAN): Define macro.
10451         (SET_MANTISSA): Remove macro.
10452         (STRTOULL): Likewise.
10453         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10454         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10455         (STRTOF_NAN): Define macro.
10456         (SET_MANTISSA): Remove macro.
10457         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10458         (SET_MANTISSA): Remove macro.
10459         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10460         macro.
10461         (SET_MANTISSA): Remove macro.
10462         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10463         macro.
10464         (SET_MANTISSA): Remove macro.
10465         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10466         (SET_MANTISSA): Remove macro.
10467         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10468         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10469         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10471         [BZ #19266]
10472         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10473         upper case and lower case letters inside NAN(), not using TOLOWER.
10474         * stdlib/tst-strtod-nan-locale-main.c: New file.
10475         * stdlib/tst-strtod-nan-locale.c: Likewise.
10476         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10477         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10478         Depend on $(gen-locales).
10479         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10480         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10481         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10482         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10483         Depend on $(gen-locales).
10484         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10486 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10488         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10490         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10492         __finitel, __isinfl, and __isnanl.
10493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10494         Likewise.
10495         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10497         __finitel.
10498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10499         Likewise.
10500         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10502 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10504         * malloc/memusage.c (me): Remove redundant getenv call.
10506 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10508         [BZ #19143]
10509         [BZ #19164]
10510         * nptl/check-cpuset.h: Remove.
10511         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10512         Remove CPU set size check.
10513         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10514         Likewise.
10515         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10516         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10517         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10518         (__pthread_setaffinity_new): Remove CPU set size check.
10519         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10520         (__kernel_cpumask_size): Remove.
10521         (__sched_setaffinity_new): Remove CPU set size check.
10522         * manual/threads.texi (Default Thread Attributes): Remove stale
10523         reference to check_cpuset_attr, determine_cpumask_size in comment.
10524         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10525         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10526         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10527         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10528         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10529         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10530         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10531         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10532         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10533         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10534         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10535         skeleton test file.
10536         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10537         tst-affinity-pid.
10539 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10541         * scripts/update-abilist.sh: New file.
10542         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10543         * Makerules (update-all-abi-%, update-all-abi)
10544         (subdir_update-all-abi): New targets.
10545         * elf/Makefile (update-all-abi): New target.
10547 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10549         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10550         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10551         (__libc_lock_define_initialized): Use it.
10552         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10553         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10554         * malloc/malloc.c (main_arena): Likewise.
10555         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10556         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10558 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10560         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10561         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10562         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10563         (PTRACE_O_MASK): Update value.
10564         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10565         New value in enum __ptrace_setoptions.
10566         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10567         (PTRACE_O_MASK): Update value.
10568         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10569         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10570         (PTRACE_O_MASK): Update value.
10571         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10572         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10573         (PTRACE_O_MASK): Update value.
10574         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10575         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10576         (PTRACE_O_MASK): Update value.
10577         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10578         New value in enum __ptrace_setoptions.
10579         (PTRACE_O_MASK): Update value.
10580         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10581         New value in enum __ptrace_setoptions.
10582         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10583         (PTRACE_O_MASK): Update value.
10585         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10586         New macro.
10587         (PACKET_AUXDATA): Likewise.
10588         (PACKET_ORIGDEV): Likewise.
10589         (PACKET_VERSION): Likewise.
10590         (PACKET_HDRLEN): Likewise.
10591         (PACKET_RESERVE): Likewise.
10592         (PACKET_TX_RING): Likewise.
10593         (PACKET_LOSS): Likewise.
10594         (PACKET_VNET_HDR): Likewise.
10595         (PACKET_TX_TIMESTAMP): Likewise.
10596         (PACKET_TIMESTAMP): Likewise.
10597         (PACKET_FANOUT): Likewise.
10598         (PACKET_TX_HAS_OFF): Likewise.
10599         (PACKET_QDISC_BYPASS): Likewise.
10600         (PACKET_ROLLOVER_STATS): Likewise.
10601         (PACKET_FANOUT_DATA): Likewise.
10602         (PACKET_MR_UNICAST): Likewise.
10604         [BZ #19242]
10605         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10606         (TOUPPER): Likewise.
10607         * stdlib/tst-strtol-locale-main.c: New file.
10608         * stdlib/tst-strtol-locale.c: Likewise.
10609         * stdlib/Makefile (tests): Add tst-strtol-locale.
10610         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10611         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10612         Depend on $(gen-locales).
10613         * wcsmbs/tst-wcstol-locale.c: New file.
10614         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10615         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10616         tr_TR.ISO-8859-9.
10617         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10618         Depend on $(gen-locales).
10620 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10622         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10623         __glibc_likely instead of __builtin_expect.  After falling back to
10624         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10625         system interface to register the code pages as occupied.
10627 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10629         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10630         [!ARM_MATH_PRIVATE_H].
10631         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10632         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10633         [!HPPA_MATH_PRIVATE_H].
10634         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10635         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10636         to [!I386_MATH_PRIVATE_H].
10637         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10638         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10639         Change guard to [!M68K_MATH_PRIVATE_H].
10640         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10641         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10642         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10643         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10644         macro.
10645         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10646         [!MIPS_MATH_PRIVATE_H].
10647         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10648         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10649         [!NIO2_MATH_PRIVATE_H].
10650         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10651         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10652         [!TILE_MATH_PRIVATE_H].
10653         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10655         [BZ #15421]
10656         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10657         initialize with 0 and define as weak alias of __signgam.
10658         * include/math.h [!_ISOMAC] (__signgam): Declare.
10659         * math/Makefile (libm-calls): Add w_lgamma_compat.
10660         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10661         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10662         test-signgam-ullong-init.
10663         (tests-static): Add test-signgam-uchar-static,
10664         test-signgam-uchar-init-static, test-signgam-uint-static,
10665         test-signgam-uint-init-static, test-signgam-ullong-static and
10666         test-signgam-ullong-init-static.
10667         (CFLAGS-test-signgam-uchar.c): New variable.
10668         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10669         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10670         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10671         (CFLAGS-test-signgam-uint.c): Likewise.
10672         (CFLAGS-test-signgam-uint-init.c): Likewise.
10673         (CFLAGS-test-signgam-uint-static.c): Likewise.
10674         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10675         (CFLAGS-test-signgam-ullong.c): Likewise.
10676         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10677         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10678         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10679         * math/Versions (libm): Add GLIBC_2.23.
10680         * math/lgamma-compat.h: New file.
10681         * math/test-signgam-main.c: Likewise.
10682         * math/test-signgam-uchar-init-static.c: Likewise.
10683         * math/test-signgam-uchar-init.c: Likewise.
10684         * math/test-signgam-uchar-static.c: Likewise.
10685         * math/test-signgam-uchar.c: Likewise.
10686         * math/test-signgam-uint-init-static.c: Likewise.
10687         * math/test-signgam-uint-init.c: Likewise.
10688         * math/test-signgam-uint-static.c: Likewise.
10689         * math/test-signgam-uint.c: Likewise.
10690         * math/test-signgam-ullong-init-static.c: Likewise.
10691         * math/test-signgam-ullong-init.c: Likewise.
10692         * math/test-signgam-ullong-static.c: Likewise.
10693         * math/test-signgam-ullong.c: Likewise.
10694         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10695         wrapper of w_lgamma_main.c.
10696         * math/w_lgamma_compat.c: New file.
10697         * math/w_lgamma_compatf.c: Likewise.
10698         * math/w_lgamma_compatl.c: Likewise.
10699         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10700         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10701         defining compatibility symbols.
10702         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10703         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10704         wrapper of w_lgammaf_main.c.
10705         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10706         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10707         defining compatibility symbols.
10708         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10709         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10710         wrapper of w_lgammal_main.c.
10711         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10712         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10713         defining compatibility symbols.
10714         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10715         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10716         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10717         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10718         <lgamma-compat.h>.
10719         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10720         (__ieee754_gamma): Define as alias.
10721         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10722         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10723         <lgamma-compat.h>.
10724         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10725         (__ieee754_gammaf): Define as alias.
10726         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10727         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10728         <lgamma-compat.h>.
10729         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10730         (__ieee754_gammal): Define as alias.
10731         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10732         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10733         <math/w_lgamma_compat.c>.
10734         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10735         Define as alias of __lgamma_compat and use in defining lgammal.
10736         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10737         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10738         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10739         (USE_AS_COMPAT): New macro.
10740         (LGAMMA_OLD_VER): Undefine and redefine.
10741         (lgammal): Do not define here.
10742         (gammal): Only define here if [GAMMA_ALIAS].
10743         * conform/linknamespace.pl (@whitelist): Remove signgam.
10744         * sysdeps/nacl/libm.abilist: Update.
10745         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10746         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10747         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10748         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10749         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10750         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10751         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10752         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10753         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10754         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10755         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10756         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10758         Likewise.
10759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10760         Likewise.
10761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10762         Likewise.
10763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10764         Likewise.
10765         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10766         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10767         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10768         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10769         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10771         Likewise.
10772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10773         Likewise.
10774         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10775         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10776         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10778 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10780         [BZ #16364]
10781         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10782         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10784 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10786         * sysdeps/s390/fpu/bits/mathinline.h:
10787         Use __asm__ [__volatile__] instead of asm [volatile].
10788         * sysdeps/s390/abort-instr.h: Likewise.
10789         * sysdeps/s390/atomic-machine.h: Likewise.
10790         * sysdeps/s390/bits/string.h: Likewise.
10791         * sysdeps/s390/dl-tls.h: Likewise.
10792         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10793         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10794         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10795         * sysdeps/s390/fpu/fesetround.c: Likewise.
10796         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10797         * sysdeps/s390/fpu/s_fma.c: Likewise.
10798         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10799         * sysdeps/s390/memusage.h: Likewise.
10800         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10801         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10802         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10803         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10804         * sysdeps/s390/nptl/tls.h: Likewise.
10805         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10806         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10807         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10808         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10809         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10810         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10811         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10812         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10813         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10814         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10815         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10816         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10817         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10818         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10819         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10820         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10821         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10822         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10823         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10825         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10827         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10829 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10830             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10832         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10833         Add lwarx hint, and use macro for acquire instruction.
10834         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10835         Likewise.
10836         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10837         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10838         update to use new atomic macros.
10840 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10842         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10843         (__lll_trylock_elision): Fix setting of adapt_count.
10844         * sysdeps/unix/sysv/linux/powerpc/htm.h
10845         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10846         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10847         (_ABORT_SYSCALL): Renumber, and clarify definition.
10848         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10850 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10852         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10853         after system headers to prevent MIN/MAX redefinition.  Define
10854         HAVE_ALLOCA to preserve builtin alloca usage.
10856 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10858         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10859         static and don't set or restore rounding.
10860         (__cos)[IN_SINCOS]: Likewise.
10861         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10862         (__sincos): Set and restore rounding mode.  Remove check for infinite
10863         or NaN input.
10865         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10867         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10868         as used.
10870 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10872         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10874 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10876         * config.make.in (have-glob-dat-reloc): New.
10877         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10878         target supports GLOB_DAT relocaton. AC_SUBST.
10879         * configure: Regenerated.
10880         * elf/Makefile (tests): Add tst-prelink.
10881         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10882         (tst-prelink-ENV): New.
10883         ($(objpfx)tst-prelink-conflict.out): Likewise.
10884         ($(objpfx)tst-prelink-cmp.out): Likewise.
10885         * sysdeps/x86/tst-prelink.c: Moved to ...
10886         * elf/tst-prelink.c: Here.
10887         * sysdeps/x86/tst-prelink.exp: Moved to ...
10888         * elf/tst-prelink.exp: Here.
10889         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10890         (tst-prelink-ENV): Removed.
10891         ($(objpfx)tst-prelink-conflict.out): Likewise.
10892         ($(objpfx)tst-prelink-cmp.out): Likewise.
10893         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10895 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10897         [BZ #14551]
10898         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10899         (__mpn_construct_long_double): If high part overflows to infinity,
10900         set errno and recompute overflowed result of the correct sign.
10901         * sysdeps/ieee754/ldbl-128ibm/Makefile
10902         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10903         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10904         $(libm).
10905         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10907 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10909         [BZ #15479]
10910         [BZ #19238]
10911         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10912         floating-point state after first operation on input.  Restore full
10913         state rather than just rounding mode.
10914         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10915         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10916         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10918         [BZ #19235]
10919         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10920         add 0.5 to integer arguments.
10921         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10922         Likewise.
10923         (.LC2): New object.
10925 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10927         * scripts/pylintrc (reports): Set to no.
10929 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10931         * elf/dl-load.c (open_verify): Take new argument FD.
10932         Skip __open call if passed FD is not -1.
10933         (_dl_map_object, open_path): Update callers.
10934         * elf/dl-sysdep-open.h: New file.
10935         * elf/dl-load.c: Include it.
10936         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10937         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10938         * sysdeps/nacl/dl-sysdep-open.h: New file.
10939         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10940         from libc to rtld.
10942 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10944         [BZ #19228]
10945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10946         and restore full floating-point state.
10947         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10948         Likewise.
10949         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10950         Likewise.
10951         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10952         Likewise.
10953         * math/test-nearbyint-except-2.c: New file.
10954         * math/Makefile (tests): Add test-nearbyint-except-2.
10956 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10958         [BZ #19178]
10959         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10960         (tst-prelink-ENV): New.
10961         ($(objpfx)tst-prelink-conflict.out): Likewise.
10962         ($(objpfx)tst-prelink-cmp.out): Likewise.
10963         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10964         * sysdeps/x86/tst-prelink.c: New file.
10965         * sysdeps/x86/tst-prelink.exp: Likewise.
10967 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10969         * math/auto-libm-test-in: Add another test of pow.
10970         * math/auto-libm-test-out: Regenerated.
10971         * math/libm-test.inc (pow_test_data): Add another test.
10973 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10975         [BZ #19219]
10976         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10977         weak_alias to nearbyintl.
10979 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10981         * sysdeps/aarch64/bits/string.h: New file.
10982         (_STRING_ARCH_unaligned): Define.
10984 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10986         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10987         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10988         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10989         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10992 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10994         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10995         for original name of the DSO.  Add it to the name list of the DSO
10996         if it is actually given.
10997         (_dl_map_object): Keep track of whether an audit module rewrote
10998         the file name.  If yes, pass the original name to
10999         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11000         debugging is enabled, log the change of the file name.
11001         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11002         _dl_map_object_from_fd.
11003         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11004         * elf/tst-audit11.c: New file
11005         * elf/tst-auditmod11.c: New file.
11006         * elf/tst-audit11mod1.c: New file.
11007         * elf/tst-audit11mod2.c: New file.
11008         * elf/tst-audit11mod2.map: New file.
11009         * elf/tst-audit12.c: New file
11010         * elf/tst-auditmod12.c: New file.
11011         * elf/tst-audit12mod1.c: New file.
11012         * elf/tst-audit12mod2.c: New file.
11013         * elf/tst-audit12mod2.map: New file.
11014         * elf/tst-audit12mod3.c: New file.
11016 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11018         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11019         Don't create weak aliases,
11020         because versioned symbols are created later.
11021         * sysdeps/s390/s390-32/setjmp.S
11022         (setjmp, _setjmp): Remove weak and rename to an unique name
11023         in SHARED case due to existing versioned symbols.
11024         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11025         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11026         (getcontext): Create weak alias only in non SHARED case.
11027         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11029 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11031         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11032         (__ASSUME_*_SYSCALL) Define new macros.
11033         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11034         Remove socketcall syscalls.
11035         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11036         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11037         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11038         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11039         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11040         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11042 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11044         [BZ #12926]
11045         Terminate process on invalid netlink response.
11046         * sysdeps/unix/sysv/linux/netlinkaccess.h
11047         (__netlink_assert_response): Declare.
11048         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11049         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11050         (sysdep_routines): Add netlink_assert_response.
11051         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11052         __netlink_assert_response.
11053         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11054         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11055         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11056         __netlink_assert_response.
11058 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11060         [BZ #19178]
11061         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11062         (RTYPE_CLASS_PLT): Likewise.
11063         (RTYPE_CLASS_COPY): Likewise.
11064         (RTYPE_CLASS_TLS): Likewise.
11065         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11066         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11067         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11068         DL_DEBUG_PRELINK.
11070 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11072         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11073         calls with argument -0.5.
11074         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11076         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11077         (libc_cv_z_nodlopen): Likewise.
11078         (libc_cv_z_initfirst): Likewise.
11079         * configure: Regenerated.
11081 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11083         Simplify abilist format to be line-based.
11084         * scripts/abilist.awk: Collect descriptors in the descs variable.
11085         (emit): Write descs variable and sort it
11086         externally, with sort.
11087         * sysdeps/**/*.abilist: Convert to new format.
11089 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11091         [BZ #11460]
11092         * io/Makefile (routines): Add fts64.
11093         (tests): Add tst-fts and tst-fts-lfs.
11094         (CFLAGS-fts64.c): New.
11095         * io/Versions (GLIBC_2.23): New.
11096         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11097         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11098         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11099         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11100         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11101         (FTSENT64): Likewise.
11102         (fts64_children): Likewise.
11103         (fts64_close): Likewise.
11104         (fts64_open): Likewise.
11105         (fts64_read): Likewise.
11106         (fts64_set): Likewise.
11107         * io/fts64.c: New file.
11108         * io/tst-fts.c: New test.
11109         * io/tst-fts-lfs.c: Likewise.
11110         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11111         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11112         fts64_set.
11113         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11114         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11115         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11116         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11117         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11118         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11119         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11120         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11121         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11122         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11123         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11124         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11125         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11127         Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11129         Likewise.
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11132         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11133         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11134         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11135         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11136         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11139         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11140         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11141         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11142         * sysdeps/wordsize-64/fts.c: New file.
11143         * sysdeps/wordsize-64/fts64.c: Likewise.
11144         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11145         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11146         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11147         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11149 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11151         * math/libm-test.inc (NON_FINITE): New macro.
11152         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11153         * math/gen-libm-test.pl (show_exceptions): Add argument
11154         $non_finite.
11155         (parse_args): Update call to show_exceptions.
11156         * math/test-math-finite.h: New file.
11157         * math/test-math-no-finite.h: Likewise.
11158         * math/test-double-finite.c: Likewise.
11159         * math/test-float-finite.c: Likewise.
11160         * math/test-ldouble-finite.c: Likewise.
11161         * math/test-double.c: Include "test-math-no-finite.h".
11162         * math/test-float.c: Include "test-math-no-finite.h".
11163         * math/test-ldouble.c: Include "test-math-no-finite.h".
11164         * math/test-math-inline.h (TEST_FINITE): New macro.
11165         * math/test-math-vector.h (TEST_FINITE): Likewise.
11166         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11167         (libm-tests): Add test-float-finite and test-double-finite.
11168         ($(objpfx)test-float-finite.o): New dependency on
11169         $(objpfx)libm-test.stmp.
11170         ($(objpfx)test-double-finite.o): Likewise.
11171         ($(objpfx)test-ldouble-finite.o): Likewise.
11172         (libm-test-no-inline-cflags): New variable.
11173         (libm-test-finite-cflags): Likewise.
11174         (CFLAGS-test-float-finite.c): Likewise.
11175         (CFLAGS-test-double-finite.c): Likewise.
11176         (CFLAGS-test-ldouble-finite.c): Likewise.
11177         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11178         (CFLAGS-test-double.c): Likewise.
11179         (CFLAGS-test-ldouble.c): Likewise.
11181 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11183         * io/fcntl.c (__fcntl): Add ... to prototype.
11184         * misc/ioctl.c (__ioctl): Likewise.
11185         * misc/syscall.c (syscall): Likewise.
11187 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11189         * scripts/list-fixed-bugs.py: New file.
11191         [BZ #19213]
11192         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11193         returned for argument 1.
11194         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11195         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11196         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11197         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11198         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11199         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11201         [BZ #19211]
11202         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11203         __USE_XOPEN], not if [!__USE_ISOC99].
11204         (lgammaf): Likewise.
11205         (lgammal): Likewise.
11206         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11207         (gammaf): Likewise.
11208         (gammal): Likewise.
11209         * math/test-signgam-finite-c11.c: New file.
11210         * math/test-signgam-finite-c99.c: Likewise.
11211         * math/test-signgam-finite.c: Likewise.
11212         * math/Makefile (tests): Add test-signgam-finite,
11213         test-signgam-finite-c99 and test-signgam-finite-c11.
11214         (CFLAGS-test-signgam-finite.c): New variable.
11215         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11216         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11218         [BZ #19212]
11219         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11220         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11221         500].
11222         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11223         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11224         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11225         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11226         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11227         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11228         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11229         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11230         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11231         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11233         [BZ #19209]
11234         * math/bits/math-finite.h (ldexp): Remove declaration.
11235         (ldexpf): Likewise.
11236         (ldexpl): Likewise.
11238         [BZ #19205]
11239         * math/bits/math-finite.h (acosf): Condition declaration on
11240         [__USE_ISOC99].
11241         (acosl): Likewise.
11242         (acoshf): Likewise.
11243         (acoshl): Likewise.
11244         (asinf): Likewise.
11245         (asinl): Likewise.
11246         (atan2f): Likewise.
11247         (atan2l): Likewise.
11248         (atanhf): Likewise.
11249         (atanhl): Likewise.
11250         (coshf): Likewise.
11251         (coshl): Likewise.
11252         (expf): Likewise.
11253         (expl): Likewise.
11254         (fmodf): Likewise.
11255         (fmodl): Likewise.
11256         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11257         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11258         (j0l): Likewise.
11259         (y0f): Likewise.
11260         (y0l): Likewise.
11261         (j1f): Likewise.
11262         (j1l): Likewise.
11263         (y1f): Likewise.
11264         (y1l): Likewise.
11265         (jnf): Likewise.
11266         (jnl): Likewise.
11267         (ynf): Likewise.
11268         (ynl): Likewise.
11269         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11270         (lgammal_r): Likewise.
11271         (__lgamma_r_finite): New declaration.
11272         (__lgammaf_r_finite): Likewise.
11273         (__lgammal_r_finite): Likewise.
11274         (lgamma): Use __lgamma_r_finite.
11275         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11276         __lgammaf_r_finite.
11277         (lgammal): Condition definition on [__USE_ISOC99].  Use
11278         __lgammal_r_finite.
11279         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11280         __lgamma_r_finite.
11281         (gammaf): Condition definition on [__USE_ISOC99].  Use
11282         __lgammaf_r_finite.
11283         (gammal): Condition definition on [__USE_ISOC99].  Use
11284         __lgammal_r_finite.
11285         (logf): Condition declaration on [__USE_ISOC99].
11286         (logl): Likewise.
11287         (log10f): Likewise.
11288         (log10l): Likewise.
11289         (ldexpf): Likewise.
11290         (ldexpl): Likewise.
11291         (powf): Likewise.
11292         (powl): Likewise.
11293         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11294         __USE_ISOC99].
11295         (remainderf): Condition declaration on [__USE_ISOC99].
11296         (remainderl): Likewise.
11297         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11298         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11299         (scalbl): Likewise.
11300         (sinhf): Condition declaration on [__USE_ISOC99].
11301         (sinhl): Likewise.
11302         (sqrtf): Likewise.
11303         (sqrtl): Likewise.
11305 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11307         * sysdeps/arm/atomic-machine.h
11308         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11309         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11310         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11311         Remove conditional code.
11312         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11313         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11314         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11315         Change conditional to [__ASSEMBLER__].
11316         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11317         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11318         [!__ASSEMBLER__].
11319         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11320         code.
11321         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11322         conditional macro definitions.
11323         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11324         (__arch_compare_and_exchange_val_16_acq): Likewise.
11325         (__arch_compare_and_exchange_val_32_acq): Likewise.
11326         (atomic_exchange_and_add): Likewise.
11327         (atomic_add): Likewise.
11328         (atomic_add_negative): Likewise.
11329         (atomic_add_zero): Likewise.
11330         (atomic_bit_set): Likewise.
11331         (atomic_bit_test_set): Likewise.
11332         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11333         code unconditional.
11334         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11336         * math/test-math-errno.h: New file.
11337         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11338         empty.
11339         (TEST_ERRNO): New macro.
11340         (TEST_EXCEPTIONS): Likewise.
11341         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11342         (TEST_EXCEPTIONS): Likewise.
11343         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11344         * math/test-double.c: Include "test-math-errno.h".
11345         * math/test-float.c: Likewise.
11346         * math/test-ldouble.c: Likewise.
11347         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11348         code unconditional.
11349         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11350         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11351         unconditional.
11352         (test_errno): Only run code if TEST_ERRNO.
11353         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11355 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11357         * nptl/tst-once5.cc: Remove attribution.
11359 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11361         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11362         sqrt, tan, tanh, y0, y1 and yn.
11363         * math/auto-libm-test-out: Regenerated.
11364         * math/libm-test.inc (scalb_test_data): Add more tests.
11365         (scalbn_test_data): Likewise.
11366         (scalbln_test_data): Likewise.
11367         (signbit_test_data): Likewise.
11368         (sin_test_data): Likewise.
11369         (sincos_test_data): Likewise.
11370         (sinh_test_data): Likewise.
11371         (sqrt_test_data): Likewise.
11372         (tan_test_data): Likewise.
11373         (tanh_test_data): Likewise.
11374         (tgamma_test_data): Likewise.
11375         (y0_test_data): Likewise.
11376         (y1_test_data): Likewise.
11377         (yn_test_data): Likewise.
11378         (significand_test_data): Likewise.
11379         * sysdeps/i386/fpu/libm-test-ulps: Update.
11381 2015-11-03  David Kastrup  <dak@gnu.org>
11383         [BZ #18604]
11384         * assert/assert.h (assert): Don't macro-expand failed assertion
11385         expression in error message.
11386         * malloc/malloc.c (assert): Likewise.
11388 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11390         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11391         test.
11392         * configure: Regenerated.
11394 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11396         * math/libm-test.inc (modf_test_data): Add more tests.
11397         (nearbyint_test_data): Likewise.
11398         (nextafter_test_data): Likewise.
11399         (nexttoward_test_data): Likewise.
11400         (pow_test_data): Likewise.
11401         (remainder_test_data): Likewise.
11402         (remquo_test_data): Likewise.
11403         (rint_test_data): Likewise.
11405         [BZ #19201]
11406         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11407         Check for zero remainder in case of large exponents and ensure
11408         correct sign of result in that case.
11409         * math/libm-test.inc (remainder_test_data): Add more tests.
11411         [BZ #6799]
11412         * math/s_nextafter.c: Include <errno.h>.
11413         (__nextafter): Set errno on overflow and underflow.
11414         * math/s_nexttowardf.c: Include <errno.h>.
11415         (__nexttowardf): Set errno on overflow and underflow.
11416         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11417         (__nextafterl): Set errno on overflow and underflow.
11418         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11419         (__nexttoward): Set errno on overflow and underflow.
11420         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11421         (__nexttowardf): Set errno on overflow and underflow.
11422         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11423         (__nextafterf): Set errno on overflow and underflow.
11424         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11425         (__nextafterl): Set errno on overflow and underflow.
11426         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11427         (__nexttoward): Set errno on overflow and underflow.
11428         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11429         (__nexttowardf): Set errno on overflow and underflow.
11430         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11431         (__nextafterl): Set errno on overflow and underflow.
11432         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11433         (__nexttoward): Set errno on overflow and underflow.
11434         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11435         (__nexttowardf): Set errno on overflow and underflow.
11436         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11437         (__nexttoward): Set errno on overflow and underflow.
11438         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11439         (__nexttowardf): Set errno on overflow and underflow.
11440         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11441         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11442         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11443         (__nextafterl): Set errno on overflow and underflow.
11444         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11445         setting to be missing on overflow.  Add more tests.
11446         (nexttoward_test_data): Likewise.
11448         * configure.ac (libc_cv_initfini_array): Remove configure test.
11449         * configure: Regenerated.
11451 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11453         [BZ #19189]
11454         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11455         non-finite argument handle arguments with negative sign.
11457         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11458         result from infinite argument.
11459         (j1_test_data): Likewise.
11460         (jn_test_data): Likewise.
11461         (y0_test_data): Likewise.
11462         (y1_test_data): Likewise.
11463         (yn_test_data): Likewise.
11465         [BZ #16171]
11466         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11467         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11468         * math/w_remainderf.c (dremf): Define as weak alias of
11469         __remainderf.
11470         * math/w_remainderl.c (dreml): Define as weak alias of
11471         __remainderl.
11472         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11473         __remainder.
11474         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11475         __remainderf.
11476         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11477         __remainderl.
11478         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11479         weak alias of remainderl.
11480         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11481         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11482         alias of __remainder.
11483         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11484         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11485         strong alias of __remainderl.
11486         (dreml): Use long_double_symbol.
11487         * math/Makefile (libm-calls): Remove w_drem.
11488         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11489         (CFLAGS-nldbl-drem.c): Remove variable.
11490         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11491         * math/w_drem.c: Remove file.
11492         * math/w_dremf.c: Likewise.
11493         * math/w_dreml.c: Likewise.
11494         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11495         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11496         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11498         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11499         * sysdeps/i386/configure: Regenerated.
11500         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11501         * sysdeps/x86_64/configure: Regenerated.
11503         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11504         test.
11505         (libc_cv_visibility_attribute): Likewise.
11506         (libc_cv_protected_data): Test unconditionally.
11507         (libc_cv_broken_visibility_attribute): Remove configure test.
11508         (libc_cv_have_sdata_section): Test unconditionally.
11509         * configure: Regenerated.
11511         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11512         * include/scratch_buffer.h: Include <stddef.h> instead of
11513         <libc-internal.h>.
11514         (struct scratch_buffer): Use max_align_t instead of
11515         libc_max_align_t.
11517 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11519         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11520         instead of extend_alloca.  Change control flow to avoid a goto.
11521         Remove assert which is trivially always true.
11523 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11525         [BZ #16068]
11526         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11527         (FE_ALL_EXCEPT_X86): New macro.
11528         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11529         FE_ALL_EXCEPT.  Ensure precision control is included in
11530         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11531         handle "denormal operand exception" and clear FZ and DAZ bits.
11532         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11533         (FE_ALL_EXCEPT_X86): New macro.
11534         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11535         FE_ALL_EXCEPT.  Ensure precision control is included in
11536         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11537         handle "denormal operand exception" and clear FZ and DAZ bits.
11538         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11539         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11540         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11541         test-fenv-x87 and test-fenv-sse-2.
11542         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11544         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11545         * math/test-double.h (BUILD_COMPLEX): New macro.
11546         * math/test-float.h (BUILD_COMPLEX): Likewise.
11547         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11549         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11550         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11551         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11553         instead of DBL_DENORM_MIN in comment.
11554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11555         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11556         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11557         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11559         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11561 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11563         [BZ# 19048]
11564         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11565         attached_threads member.
11566         (main_arena): Initialize attached_threads.
11567         * malloc/arena.c (list_lock): Update comment.
11568         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11569         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11570         (deattach_arena): New function.
11571         (_int_new_arena): Initialize arena reference count and deattach
11572         replaced arena.
11573         (get_free_list, reused_arena): Update reference count and deattach
11574         replaced arena.
11575         (arena_thread_freeres): Update arena reference count and only put
11576         unreferenced arenas on the free list.
11578 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11580         [BZ #19181]
11581         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11582         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11583         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11584         * math/test-fenv-clear-main.c: New file.
11585         * math/test-fenv-clear.c: Likewise.
11586         * math/Makefile (tests): Add test-fenv-clear.
11587         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11588         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11589         test-fenv-clear-sse.
11590         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11592         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11593         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11594         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11596 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11598         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11599         static libc.
11601 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11603         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11604         test.
11605         * sysdeps/i386/configure: Regenerated.
11606         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11607         test.
11608         * sysdeps/x86_64/configure: Regenerated.
11609         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11611         memset-avx2 unconditionally instead of conditionally on
11612         [$(config-cflags-avx2) = yes].
11613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11614         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11615         unconditional.
11616         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11617         * sysdeps/x86_64/multiarch/memset_chk.S
11618         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11619         to [IS_IN (libc) && SHARED].
11621 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11623         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11624         configure test.
11625         * sysdeps/arm/configure: Regenerated.
11626         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11627         Define variable if not already defined.
11629         [BZ #17404]
11630         * sysdeps/mips/atomic-machine.h
11631         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11632         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11633         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11635         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11636         unconditional.
11637         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11638         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11639         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11640         unconditional.
11641         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11642         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11643         unconditional.
11644         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11645         * stdlib/setenv.c
11646         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11647         code unconditional.
11648         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11649         Remove conditional code.
11650         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11651         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11652         unconditional.
11653         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11654         code.
11655         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11656         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11657         unconditional.
11658         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11659         code.
11660         * sysdeps/ieee754/ldbl-128/k_tanl.c
11661         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11662         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11663         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11664         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11665         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11666         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11667         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11668         unconditional.
11669         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11670         code.
11671         * sysdeps/ieee754/ldbl-96/k_tanl.c
11672         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11673         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11675         * nptl/tst-initializers1-c11.c: New file.
11676         * nptl/tst-initializers1-gnu11.c: Likewise.
11677         * nptl/Makefile (tests): Add these new tests.
11678         (CFLAGS-tst-initializers1-c11.c): New variable.
11679         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11681         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11682         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11683         instead of -std=gnu99.
11684         * configure.ac (systemtap): Test with -std=gnu11 instead of
11685         -std=gnu99.
11686         * configure: Regenerated.
11687         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11688         in compilation command in comment.
11690         * sysdeps/nptl/configure.ac: Remove file.
11691         * sysdeps/nptl/configure: Remove generated file.
11692         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11693         * configure: Regenerated.
11694         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11695         * config.make.in (have-forced-unwind): Remove variable.
11696         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11697         unconditional.
11698         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11699         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11700         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11701         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11702         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11703         unconditional.
11705 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11707         [BZ #19174]
11708         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11709         .skip_lock_out_of_tbegin_retries.
11710         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11711         (__lll_lock_elision): Likewise, and respect a value of
11712         try_tbegin <= 0.
11714 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11716         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11717         statement.
11719 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11721         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11722         variable.
11723         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11724         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11726         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11727         of -std=c1x -D_ISOC11_SOURCE.
11729         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11730         * configure: Regenerated.
11731         * manual/install.texi (Tools for Compilation): Document
11732         requirement for GCC 4.7 or later.
11733         * INSTALL: Regenerated.
11735 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11737         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11738         on CNT to a conditional jump to 'puntdata'.
11740 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11742         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11743         (libc_cv_gcc_tls_model_attr): Likewise.
11744         * configure: Regenerated.
11746         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11747         * configure: Regenerated.
11748         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11750 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11752         * configure.ac (old_glibc_headers): Remove configure test.
11753         * configure: Regenerated.
11754         * config.make.in (old-glibc-headers): Remove variable.
11755         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11756         (install): Remove dependency on remove-old-headers.
11757         (headers2_0): Remove variable.
11758         (remove-old-headers): Remove rule.
11760         * configure.ac (libc_cv_dot_text): Remove configure test.
11761         (libc_cv_asm_set_directive): Use .text instead of
11762         ${libc_cv_dot_text} in configure test.
11763         * configure: Regenerated.
11765 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11767         [BZ #19168]
11768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11770 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11772         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11773         not support static linking.
11774         * configure: Regenerate.
11776 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11778         * math/libm-test.inc (check_float_internal): Do not special-case
11779         errors up to 0.5 ulp.
11781         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11782         log2.
11783         * math/auto-libm-test-out: Regenerated.
11784         * math/libm-test.inc (MAX_EXP): New macro.
11785         (ilogb_test_data): Add more tests.
11786         (isfinite_test_data): Likewise.
11787         (isgreater_test_data): Likewise.
11788         (isgreaterequal_test_data): Likewise.
11789         (isinf_test_data): Likewise.
11790         (isless_test_data): Likewise.
11791         (islessequal_test_data): Likewise.
11792         (islessgreater_test_data): Likewise.
11793         (isnan_test_data): Likewise.
11794         (isnormal_test_data): Likewise.
11795         (issignaling_test_data): Likewise.
11796         (isunordered_test_data): Likewise.
11797         (j0_test_data): Likewise.
11798         (j1_test_data): Likewise.
11799         (jn_test_data): Likewise.
11800         (lgamma_test_data): Likewise.
11801         (log_test_data): Likewise.
11802         (log10_test_data): Likewise.
11803         (log1p_test_data): Likewise.
11804         (log2_test_data): Likewise.
11805         (logb_test_data): Likewise.
11806         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11808         [BZ #18611]
11809         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11810         avoid excess range and precision on underflow.
11811         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11812         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11813         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11814         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11815         underflow.
11816         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11818         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11819         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11820         * math/auto-libm-test-in: Do not allow missing errno setting for
11821         tests of j1 and jn.
11822         * math/auto-libm-test-out: Regenerated.
11824 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11826         [BZ #15491]
11827         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11828         floating-point environment instead of clearing all exceptions.
11829         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11830         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11831         merging in "invalid" exceptions from frndint.
11832         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11833         * math/test-nearbyint-except.c: New file.
11834         * math/Makefile (tests): Add test-nearbyint-except.
11836 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11838         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11840         * sysdeps/tile/libm-test-ulps: Regenerated.
11842 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11845         (__NR_sync_file_range2): Assume it is always defined.
11846         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11847         (__NR_sync_file_range): Assume it is always defined.
11849 2015-10-22  Andreas Schwab  <schwab@suse.de>
11851         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11852         INTERNAL_SYSCALL_ERRNO.
11853         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11854         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11855         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11856         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11860 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11862         * io/tst-fcntl.c (fd): New static variable.
11863         (do_prepare): Open temporary file here....
11864         (do_test): ...not here.
11866         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11868 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11870         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11871         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11872         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11873         Moved before "#ifdef __ASSEMBLER__".
11875 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11877         [BZ #19156]
11878         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11879         arguments very close to 0.
11881 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11883         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11884         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11886 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11888         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11889         New.  Defined for GCC 5 and above when not compiling for
11890         profiling.
11891         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11893         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11894         Renamed to ...
11895         (CFLAGS-epoll_pwait.o): This.
11896         (CFLAGS-mmap.c): Renamed to ...
11897         (CFLAGS-mmap.o): This.
11898         (CFLAGS-mmap64.c): Renamed to ...
11899         (CFLAGS-mmap64.o): This.
11900         (CFLAGS-epoll_pwait.os): New.
11901         (CFLAGS-mmap.os): Likewise.
11902         (CFLAGS-mmap64.os): Likewise.
11903         (CFLAGS-semtimedop.os): Likewise.
11904         (CFLAGS-semtimedop.c): Renamed to ...
11905         (CFLAGS-semtimedop.o): This.
11907 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11909         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11910         warning message.
11912 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11914         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11915         * Makefile ($(objpfx)c++-types-check.out): Filter out
11916         $(+gccwarn-c) instead of -Wstrict-prototypes.
11918         * io/fts.c (fts_open): Convert to prototype-style function
11919         definition.
11920         * malloc/mcheck.c (mcheck): Likewise.
11921         (mcheck_pedantic): Likewise.
11922         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11923         internal_function.
11924         (re_search_internal): Likewise.
11925         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11926         prototype-style function definition.
11927         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11928         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11929         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11930         (xdr_utmpptr): Likewise.
11931         (xdr_utmparr): Likewise.
11932         (xdr_utmpidle): Likewise.
11933         (xdr_utmpidleptr): Likewise.
11934         (xdr_utmpidlearr): Likewise.
11936         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11937         log, log10 and log2.
11938         * math/auto-libm-test-out: Regenerated.
11939         * math/libm-test.inc (fmod_test_data): Add more tests.
11940         (fpclassify_test_data): Likewise.
11941         (frexp_test_data): Likewise.
11942         (hypot_test_data): Likewise.
11943         (ilogb_test_data): Likewise.
11945 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11947         * debug/fortify_fail.c (__fortify_fail): Convert to
11948         prototype-style function definition.  Use internal_function.
11949         * libio/genops.c (save_for_backup): Convert to prototype-style
11950         function definition.
11951         * libio/wgenops.c (save_for_wbackup): Likewise.
11952         * login/grantpt.c (grantpt): Likewise.
11953         * login/ptsname.c (ptsname): Likewise.
11954         (__ptsname_r): Likewise.
11955         * login/unlockpt.c (unlockpt): Likewise.
11956         * mach/msgserver.c (__mach_msg_server): Likewise.
11957         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11958         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11959         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11960         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11961         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11962         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11963         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11964         Likewise.
11965         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11966         internal_function.
11967         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11968         prototype-style function definition.
11969         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11970         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11971         (__pthread_create_2_0): Likewise.
11972         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11973         * nptl/register-atfork.c (__register_atfork): Likewise.
11974         * posix/glob.c (glob): Likewise.
11975         * posix/regcomp.c (re_comp): Likewise.
11976         * posix/regexec.c (re_exec): Likewise.
11977         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11978         [!__STDC__]: Remove conditional code.
11979         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11980         [!__STDC__]: Remove conditional code.
11981         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11982         [!__STDC__]: Remove conditional code.
11983         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11984         [!__STDC__]: Remove conditional code.
11985         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11986         [!__STDC__]: Remove conditional code.
11987         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11988         [!__STDC__]: Remove conditional code.
11989         * stdlib/mul.c [__STDC__]: Make code unconditional.
11990         [!__STDC__]: Remove conditional code.
11991         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11992         [!__STDC__]: Remove conditional code.
11993         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11994         [!__STDC__]: Remove conditional code.
11995         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11996         function definition.
11997         (STRTOF): Likewise.
11998         * stdlib/strtod_l.c (__STRTOF): Likewise.
11999         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12000         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12001         (__strtol_l): Likewise.
12002         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12003         [!__STDC__]: Remove conditional code.
12004         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12005         definition.
12006         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12007         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12008         type.
12009         (__strcasecmp): Convert to prototype-style function definition.
12010         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12011         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12012         type.
12013         (__strncasecmp): Convert to prototype-style function definition.
12014         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12015         * sunrpc/xdr.c (xdr_union): Likewise.
12016         * sunrpc/xdr_array.c (xdr_array): Likewise.
12017         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12018         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12019         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12020         Likewise.
12021         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12022         Likewise.
12023         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12024         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12025         Likewise.
12026         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12027         (LOCALE_PARAM_PROTO): Likewise.
12028         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12029         argument type.
12030         (ut_argument_spec): Remove macro.
12031         (ut_argument_spec_iso): Rename to ut_argument_spec.
12032         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12033         prototype-style function definition.
12034         (memcpy_uppcase): Likewise.
12035         (__strftime_internal): Likewise.
12036         (my_strftime): Likewise.
12037         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12038         (LOCALE_PARAM_DECL): Likewise.
12039         [_LIBC] (LOCALE_PARAM): Include argument type.
12040         (__strptime_internal): Convert to prototype-style function
12041         definition.
12042         (strptime): Likewise.
12043         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12044         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12045         type.
12046         (__wcscasecmp): Convert to prototype-style function definition.
12047         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12048         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12049         type.
12050         (__wcsncasecmp): Convert to prototype-style function definition.
12052         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12053         function definition.
12054         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12055         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12056         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12057         * elf/dl-minimal.c (_itoa): Likewise.
12058         * hurd/hurdmalloc.c (malloc): Likewise.
12059         (free): Likewise.
12060         (realloc): Likewise.
12061         * inet/inet6_option.c (inet6_option_space): Likewise.
12062         (inet6_option_init): Likewise.
12063         (inet6_option_append): Likewise.
12064         (inet6_option_alloc): Likewise.
12065         (inet6_option_next): Likewise.
12066         (inet6_option_find): Likewise.
12067         * io/ftw.c (FTW_NAME): Likewise.
12068         (NFTW_NAME): Likewise.
12069         (NFTW_NEW_NAME): Likewise.
12070         (NFTW_OLD_NAME): Likewise.
12071         * libio/iofwide.c (_IO_fwide): Likewise.
12072         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12073         (_IO_str_init_static): Likewise.
12074         (_IO_str_init_readonly): Likewise.
12075         (_IO_str_overflow): Likewise.
12076         (_IO_str_underflow): Likewise.
12077         (_IO_str_count): Likewise.
12078         (_IO_str_seekoff): Likewise.
12079         (_IO_str_pbackfail): Likewise.
12080         (_IO_str_finish): Likewise.
12081         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12082         (_IO_wstr_overflow): Likewise.
12083         (_IO_wstr_underflow): Likewise.
12084         (_IO_wstr_count): Likewise.
12085         (_IO_wstr_seekoff): Likewise.
12086         (_IO_wstr_pbackfail): Likewise.
12087         (_IO_wstr_finish): Likewise.
12088         * locale/programs/localedef.c (normalize_codeset): Likewise.
12089         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12090         (add_locales_to_archive): Likewise.
12091         (delete_locales_from_archive): Likewise.
12092         * malloc/malloc.c (__libc_mallinfo): Likewise.
12093         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12094         * misc/tsearch.c (__tfind): Likewise.
12095         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12096         * nptl/pthread_attr_getdetachstate.c
12097         (__pthread_attr_getdetachstate): Likewise.
12098         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12099         Likewise.
12100         * nptl/pthread_attr_getinheritsched.c
12101         (__pthread_attr_getinheritsched): Likewise.
12102         * nptl/pthread_attr_getschedparam.c
12103         (__pthread_attr_getschedparam): Likewise.
12104         * nptl/pthread_attr_getschedpolicy.c
12105         (__pthread_attr_getschedpolicy): Likewise.
12106         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12107         Likewise.
12108         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12109         Likewise.
12110         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12111         Likewise.
12112         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12113         Likewise.
12114         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12115         (__pthread_attr_init_2_0): Likewise.
12116         * nptl/pthread_attr_setdetachstate.c
12117         (__pthread_attr_setdetachstate): Likewise.
12118         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12119         Likewise.
12120         * nptl/pthread_attr_setinheritsched.c
12121         (__pthread_attr_setinheritsched): Likewise.
12122         * nptl/pthread_attr_setschedparam.c
12123         (__pthread_attr_setschedparam): Likewise.
12124         * nptl/pthread_attr_setschedpolicy.c
12125         (__pthread_attr_setschedpolicy): Likewise.
12126         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12127         Likewise.
12128         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12129         Likewise.
12130         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12131         Likewise.
12132         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12133         Likewise.
12134         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12135         Likewise.
12136         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12137         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12138         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12139         use internal_function.
12140         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12141         prototype-style function definition.
12142         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12143         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12144         internal_function.
12145         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12146         Convert to prototype-style function definition.
12147         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12148         Likewise.
12149         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12150         Likewise.
12151         (__pthread_mutex_unlock): Likewise.
12152         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12153         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12154         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12155         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12156         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12157         * nss/makedb.c (process_input): Likewise.
12158         * posix/fnmatch.c (__strchrnul): Likewise.
12159         (__wcschrnul): Likewise.
12160         (fnmatch): Likewise.
12161         * posix/fnmatch_loop.c (FCT): Likewise.
12162         * posix/glob.c (globfree): Likewise.
12163         (__glob_pattern_type): Likewise.
12164         (__glob_pattern_p): Likewise.
12165         * posix/regcomp.c (re_compile_pattern): Likewise.
12166         (re_set_syntax): Likewise.
12167         (re_compile_fastmap): Likewise.
12168         (regcomp): Likewise.
12169         (regerror): Likewise.
12170         (regfree): Likewise.
12171         * posix/regexec.c (regexec): Likewise.
12172         (re_match): Likewise.
12173         (re_search): Likewise.
12174         (re_match_2): Likewise.
12175         (re_search_2): Likewise.
12176         (re_search_stub): Likewise.  Use internal_function
12177         (re_copy_regs): Likewise.
12178         (re_set_registers): Convert to prototype-style function
12179         definition.
12180         (prune_impossible_nodes): Likewise.  Use internal_function.
12181         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12182         prototype-style function definition.
12183         (inet_net_pton_ipv4): Likewise.
12184         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12185         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12186         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12187         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12188         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12189         Make variadic.
12190         * time/strptime_l.c (localtime_r): Convert to prototype-style
12191         function definition.
12192         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12193         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12194         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12195         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12197         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12198         definition.
12199         (_ufc_doit_r): Likewise.
12200         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12201         (_ufc_output_conversion_r): Likewise.
12202         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12203         * inet/rcmd.c (rcmd_af): Likewise.
12204         (rcmd): Likewise.
12205         (ruserok_af): Likewise.
12206         (ruserok): Likewise.
12207         (ruserok2_sa): Likewise.
12208         (ruserok_sa): Likewise.
12209         (iruserok_af): Likewise.
12210         (iruserok): Likewise.
12211         (__ivaliduser): Likewise.
12212         (__validuser2_sa): Likewise.
12213         * inet/rexec.c (rexec_af): Likewise.
12214         (rexec): Likewise.
12215         * inet/ruserpass.c (ruserpass): Likewise.
12216         * locale/programs/xmalloc.c (xcalloc): Likewise.
12217         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12218         * math/w_drem.c (__drem): Likewise.
12219         * math/w_dremf.c (__dremf): Likewise.
12220         * math/w_dreml.c (__dreml): Likewise.
12221         * misc/daemon.c (daemon): Likewise.
12222         * resolv/res_debug.c (p_fqnname): Likewise.
12223         * stdlib/div.c (div): Likewise.
12224         * string/memcmp.c (memcmp_bytes): Likewise.
12225         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12226         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12228         * crypt/cert.c (main): Convert to prototype-style function
12229         definition.
12230         * io/pipe.c (__pipe): Likewise.
12231         * io/pipe2.c (__pipe2): Likewise.
12232         * misc/futimesat.c (futimesat): Likewise.
12233         * misc/utimes.c (__utimes): Likewise.
12234         * posix/execve.c (__execve): Likewise.
12235         * posix/execvp.c (execvp): Likewise.
12236         * posix/execvpe.c (__execvpe): Likewise.
12237         * posix/fexecve.c (fexecve): Likewise.
12238         * socket/socketpair.c (socketpair): Likewise.
12239         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12240         * stdlib/erand48.c (erand48): Likewise.
12241         * stdlib/erand48_r.c (__erand48_r): Likewise.
12242         * stdlib/jrand48.c (jrand48): Likewise.
12243         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12244         * stdlib/lcong48.c (lcong48): Likewise.
12245         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12246         * stdlib/nrand48.c (nrand48): Likewise.
12247         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12248         * stdlib/seed48.c (seed48): Likewise.
12249         * stdlib/seed48_r.c (__seed48_r): Likewise.
12250         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12251         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12252         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12254 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12256         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12257         * configure: Regenerated.
12258         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12259         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12260         unconditional.
12261         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12262         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12263         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12264         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12265         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12266         unconditional.
12267         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12269         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12270         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12272         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12273         function definition.
12274         * crypt/crypt_util.c (__encrypt_r): Likewise.
12275         * libio/genops.c (_IO_no_init): Likewise.
12276         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12277         (_IO_old_fopencookie): Likewise.
12278         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12279         * libio/iogetline.c (_IO_getline): Likewise.
12280         (_IO_getline_info): Likewise.
12281         * libio/iogetwline.c (_IO_getwline): Likewise.
12282         (_IO_getwline_info): Likewise.
12283         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12284         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12285         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12286         (find_entry): Likewise.
12287         (iterate_table): Likewise.
12288         (lookup): Likewise.
12289         * login/forkpty.c (forkpty): Likewise.
12290         * misc/hsearch_r.c (__hsearch_r): Likewise.
12291         * misc/select.c (__select): Likewise.
12292         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12293         Likewise.
12294         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12295         Likewise.
12296         * nptl/old_pthread_cond_timedwait.c
12297         (__pthread_cond_timedwait_2_0): Likewise.
12298         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12299         * nptl/pthread_barrierattr_getpshared.c
12300         (pthread_barrierattr_getpshared): Likewise.
12301         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12302         Likewise.
12303         * nptl/pthread_mutex_setprioceiling.c
12304         (pthread_mutex_setprioceiling): Likewise.
12305         * nptl/pthread_mutexattr_getprioceiling.c
12306         (pthread_mutexattr_getprioceiling): Likewise.
12307         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12308         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12309         Likewise.
12310         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12311         Likewise.
12312         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12313         Likewise.
12314         * socket/recvfrom.c (__recvfrom): Likewise.
12315         * socket/sendto.c (__sendto): Likewise.
12316         * socket/setsockopt.c (__setsockopt): Likewise.
12317         * stdio-common/_itoa.c (_itoa): Likewise.
12318         * stdio-common/_itowa.c (_itowa): Likewise.
12319         * stdio-common/reg-printf.c (__register_printf_specifier):
12320         Likewise.
12321         (__register_printf_function): Likewise.
12322         * stdio-common/tempname.c (__path_search): Likewise.
12323         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12324         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12325         * stdlib/random_r.c (__initstate_r): Likewise.
12326         * stdlib/setenv.c (__add_to_environ): Likewise.
12327         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12328         * streams/getpmsg.c (getpmsg): Likewise.
12329         * streams/putmsg.c (putmsg): Likewise.
12330         * streams/putpmsg.c (putpmsg): Likewise.
12331         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12332         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12333         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12334         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12335         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12336         * sunrpc/svc_udp.c (cache_get): Likewise.
12337         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12338         * sysdeps/mach/hurd/getcwd.c
12339         (__canonicalize_directory_name_internal): Likewise.
12340         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12341         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12342         * sysdeps/mach/hurd/select.c (__select): Likewise.
12343         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12344         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12345         * sysdeps/sparc/nptl/pthread_barrier_init.c
12346         (__pthread_barrier_init): Likewise.
12347         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12348         (__pthread_cond_timedwait): Likewise.
12349         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12350         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12351         Likewise.
12352         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12353         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12354         Likewise.
12355         * sysvipc/semtimedop.c (semtimedop): Likewise.
12356         * time/setitimer.c (__setitimer): Likewise.
12357         * time/strftime_l.c (emacs_strftime): Likewise.
12359 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12361         * config.make.in (have-ssp): Delete.
12362         (stack-protector): New variable.
12363         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12364         cache test for -fstack-protector-strong.  Export stack_protector to
12365         the best ssp flag.
12366         * configure: Regenerated.
12367         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12368         * nscd/Makefile (CFLAGS-nscd): Likewise.
12369         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12371 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12373         [BZ #19122]
12374         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12375         attribute_hidden.
12377 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12379         [BZ #18743]
12380         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12381         code to...
12382         (ELIDE_LOCK): ...here.
12383         (__get_new_count): New function with part of the code from
12384         __elide_lock that updates the value of adapt_count after a
12385         transaction abort.
12386         (__elided_trylock): Moved this code to...
12387         (ELIDE_TRYLOCK): ...here.
12389 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12391         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12392         * configure: Regenerate.
12393         * INSTALL: Regenerate.
12394         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12395         and tweak grammar.
12397 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12399         * login/programs/pt_chown.c: Include signal.h
12400         (main): Clear any signal mask from the parent process.
12402 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12404         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12405         * configure: Regenerated.
12406         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12407         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12408         $(gnu89-inline-CFLAGS).
12410         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12411         test.
12412         (libc_cv_asm_weakext_directive): Likewise.
12413         * configure: Regenerated.
12414         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12415         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12416         * include/libc-symbols.h
12417         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12418         #error.
12419         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12420         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12422         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12423         prototype-style function definition.
12424         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12425         * sysdeps/i386/ffs.c (__ffs): Likewise.
12426         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12427         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12428         Likewise.
12429         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12430         Likewise.
12431         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12432         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12433         Likewise.
12434         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12435         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12436         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12437         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12438         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12439         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12440         * sysdeps/mach/hurd/access.c (__access): Likewise.
12441         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12442         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12443         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12444         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12445         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12446         (cthread_getspecific): Likewise.
12447         (cthread_setspecific): Likewise.
12448         (__libc_getspecific): Likewise.
12449         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12450         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12451         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12452         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12453         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12454         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12455         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12456         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12457         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12458         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12459         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12460         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12461         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12462         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12463         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12464         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12465         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12466         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12467         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12468         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12469         * sysdeps/mach/hurd/link.c (__link): Likewise.
12470         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12471         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12472         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12473         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12474         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12475         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12476         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12477         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12478         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12479         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12480         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12481         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12482         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12483         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12484         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12485         * sysdeps/mach/hurd/send.c (__send): Likewise.
12486         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12487         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12488         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12489         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12490         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12491         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12492         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12493         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12494         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12495         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12496         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12497         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12498         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12499         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12500         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12501         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12502         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12503         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12504         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12505         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12506         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12507         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12508         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12509         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12510         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12511         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12512         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12513         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12514         * sysdeps/posix/alarm.c (alarm): Likewise.
12515         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12516         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12517         * sysdeps/posix/dup.c (__dup): Likewise.
12518         * sysdeps/posix/dup2.c (__dup2): Likewise.
12519         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12520         (main): Likewise.
12521         * sysdeps/posix/flock.c (__flock): Likewise.
12522         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12523         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12524         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12525         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12526         * sysdeps/posix/isatty.c (__isatty): Likewise.
12527         * sysdeps/posix/killpg.c (killpg): Likewise.
12528         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12529         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12530         * sysdeps/posix/raise.c (raise): Likewise.
12531         * sysdeps/posix/remove.c (remove): Likewise.
12532         * sysdeps/posix/rename.c (rename): Likewise.
12533         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12534         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12535         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12536         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12537         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12538         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12539         * sysdeps/posix/sigset.c (sigset): Likewise.
12540         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12541         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12542         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12543         * sysdeps/posix/time.c (time): Likewise.
12544         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12545         (ttyname): Likewise.
12546         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12547         * sysdeps/posix/utime.c (utime): Likewise.
12548         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12549         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12550         Likewise.
12551         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12552         (pthread_spin_trylock): Likewise.
12553         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12554         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12555         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12556         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12557         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12558         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12559         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12560         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12561         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12562         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12563         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12564         * sysdeps/s390/ffs.c (__ffs): Likewise.
12565         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12566         Likewise.
12567         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12568         Likewise.
12569         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12570         Likewise.
12571         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12572         (pthread_barrier_destroy): Likewise.
12573         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12574         (__pthread_barrier_wait): Likewise.
12575         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12576         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12577         (__pthread_barrier_wait): Likewise.
12578         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12579         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12580         (memcmp_not_common_alignment): Likewise.
12581         (MEMCMP): Likewise.
12582         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12583         (_wordcopy_fwd_dest_aligned): Likewise.
12584         (_wordcopy_bwd_aligned): Likewise.
12585         (_wordcopy_bwd_dest_aligned): Likewise.
12586         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12587         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12588         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12589         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12590         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12591         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12592         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12593         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12594         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12595         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12596         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12597         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12598         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12599         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12600         * sysdeps/unix/stime.c (stime): Likewise.
12601         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12602         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12603         Likewise.  Use internal_function.
12604         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12605         Convert to prototype-style function definition.
12606         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12607         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12608         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12609         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12610         Likewise.  Use internal_function.
12611         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12612         prototype-style function definition
12613         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12614         Likewise.
12615         (__getlogin_r): Likewise.
12616         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12617         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12618         (__pthread_cond_broadcast): Likewise.
12619         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12620         (__pthread_cond_destroy): Likewise.
12621         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12622         (__pthread_cond_init): Likewise.
12623         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12624         (__pthread_cond_signal): Likewise.
12625         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12626         (__pthread_cond_wait): Likewise.
12627         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12628         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12629         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12632         Likewise.
12633         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12634         Likewise.
12635         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12636         Likewise.
12637         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12639         (__ftruncate64): Likewise.
12640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12641         (truncate64): Likewise.
12642         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12643         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12644         (pthread_getcpuclockid): Likewise.
12645         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12646         Likewise.
12647         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12648         Likewise.
12649         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12650         Likewise.
12651         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12652         Likewise.
12653         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12654         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12655         (__libc_sigaction): Likewise.
12656         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12657         Likewise.
12658         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12659         (__sigprocmask): Likewise.
12660         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12661         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12662         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12663         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12664         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12665         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12666         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12667         Likewise.
12668         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12669         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12670         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12671         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12672         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12673         Likewise.
12674         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12675         (__sigprocmask): Likewise.
12676         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12677         (cfgetispeed): Likewise.
12678         (cfsetospeed): Likewise.
12679         (cfsetispeed): Likewise.
12680         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12681         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12682         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12683         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12684         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12685         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12686         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12687         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12688         Likewise.
12689         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12690         Likewise.
12691         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12692         Likewise.
12693         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12694         Likewise.
12695         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12697 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12699         sunrpc: Rewrite with explicit TLS access using __thread.
12700         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12701         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12702         directly.
12703         (__rpc_thread_variables): Access thread_rpc_vars directly.
12704         Eliminate redundant assignment of the tvp variable.
12706 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12708         malloc: Rewrite with explicit TLS access using __thread.
12709         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12710         (tsd_setspecific, tsd_getspecific): Remove.
12711         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12712         (tsd_setspecific, tsd_getspecific): Likewise.
12713         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12714         (tsd_setspecific, tsd_getspecific): Likewise.
12715         * malloc/arena.c (thread_arena): New TLS variable.
12716         (arena_key): Remove variable.
12717         (arena_get): Use thread_arena.
12718         (arena_lookup): Remove macro.
12719         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12720         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12721         (_int_new_arena, get_free_list, reused_arena)
12722         (arena_thread_freeres): Use thread_arena.
12723         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12724         tsd_getspecific, tsd_setspecific from safety annotations.
12725         (Allocating Cleared Space): Remove arena_lookup from safety
12726         annotations.
12728 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12730         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12731         struct scratch_buffer instead of extend_alloca.
12733 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12735         * sysdeps/unix/sysv/linux/kernel-features.h
12736         (__ASSUME_SOCK_CLOEXEC): Remove.
12737         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12738         (__have_paccept): Remove unused macro.
12739         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12740         * misc/syslog.c (openlog_internal): Remove fallback code for
12741         !__ASSUME_SOCK_CLOEXEC.
12742         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12743         missing SOCK_CLOEXEC.
12744         * nscd/connections.c (have_sock_cloexec): Remove definition.
12745         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12746         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12747         !__ASSUME_SOCK_CLOEXEC.
12748         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12749         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12750         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12751         definition.
12752         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12753         code for !__ASSUME_SOCK_CLOEXEC.
12755 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12757         [BZ #18982]
12758         * manual/stdio.texi (Variable Arguments Output): Add portability
12759         note, explaining that vfprintf clobbers the va_list pointer.
12761 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12763         * math/libm-test.inc (fabs_test_data): Add more tests.
12764         (fdim_test_data): Likewise.
12765         (fma_test_data): Likewise.
12766         (fmax_test_data): Likewise.
12767         (fmin_test_data): Likewise.
12768         (fmod_test_data): Likewise.
12770 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12772         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12773         data.
12775 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12777         * math/libm-test.inc (ceil_test_data): Add more tests and more
12778         expectations for "inexact".
12779         (floor_test_data): Add more tests.
12780         (round_test_data): Likewise.
12781         (trunc_test_data): Likewise.
12783         * crypt/cert.c (good_bye): Convert to prototype-style function
12784         definition.
12785         (get8): Likewise.
12786         (put8): Likewise.
12787         * crypt/crypt-entry.c (crypt): Likewise.
12788         (__fcrypt): Likewise.
12789         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12790         (_ufc_set_bits): Likewise.
12791         (_ufc_clearmem): Likewise.
12792         (__init_des_r): Likewise.
12793         (shuffle_sb): Likewise.
12794         (shuffle_sb): Likewise.
12795         (_ufc_setup_salt_r): Likewise.
12796         (_ufc_mk_keytab_r): Likewise.
12797         (_ufc_dofinalperm_r): Likewise.
12798         (encrypt): Likewise.
12799         (__setkey_r): Likewise.
12800         (setkey): Likewise.
12801         * crypt/md5.c (md5_init_ctx): Likewise.
12802         (md5_read_ctx): Likewise.
12803         (md5_finish_ctx): Likewise.
12804         (md5_stream): Likewise.
12805         (md5_buffer): Likewise.
12806         (md5_process_bytes): Likewise.
12807         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12808         (__sha256_finish_ctx): Likewise.
12809         (__sha256_process_bytes): Likewise.
12810         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12811         (__sha512_finish_ctx): Likewise.
12812         (__sha512_process_bytes): Likewise.
12813         * ctype/isctype.c (__isctype): Likewise.
12814         * debug/backtrace.c (__backtrace): Likewise.
12815         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12816         * debug/fgets_chk.c (__fgets_chk): Likewise.
12817         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12818         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12819         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12820         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12821         * debug/memset_chk.c (__memset_chk): Likewise.
12822         * debug/strcat_chk.c (__strcat_chk): Likewise.
12823         * debug/strncat_chk.c (__strncat_chk): Likewise.
12824         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12825         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12826         * dirent/dirfd.c (dirfd): Likewise.
12827         * dirent/getdents.c (__getdirentries): Likewise.
12828         * dirent/getdents64.c (getdirentries64): Likewise.
12829         * dirent/rewinddir.c (__rewinddir): Likewise.
12830         * dirent/seekdir.c (seekdir): Likewise.
12831         * dirent/telldir.c (telldir): Likewise.
12832         * elf/sln.c (makesymlinks): Likewise.
12833         (makesymlink): Likewise.
12834         * gmon/gmon.c (__moncontrol): Likewise.
12835         (__monstartup): Likewise.
12836         (write_hist): Likewise.
12837         (write_call_graph): Likewise.
12838         (write_bb_counts): Likewise.
12839         * grp/setgroups.c (setgroups): Likewise.
12840         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12841         * inet/inet_net.c (inet_network): Likewise.
12842         * inet/inet_netof.c (inet_netof): Likewise.
12843         * inet/rcmd.c (rresvport_af): Likewise.
12844         (rresvport): Likewise.
12845         * io/access.c (__access): Likewise.
12846         * io/chdir.c (__chdir): Likewise.
12847         * io/chmod.c (__chmod): Likewise.
12848         * io/chown.c (__chown): Likewise.
12849         * io/close.c (__close): Likewise.
12850         * io/creat.c (creat): Likewise.
12851         * io/creat64.c (creat64): Likewise.
12852         * io/dup.c (__dup): Likewise.
12853         * io/dup2.c (__dup2): Likewise.
12854         * io/dup3.c (__dup3): Likewise.
12855         * io/euidaccess.c (__euidaccess): Likewise.
12856         * io/faccessat.c (faccessat): Likewise.
12857         * io/fchmod.c (__fchmod): Likewise.
12858         * io/fchmodat.c (fchmodat): Likewise.
12859         * io/fchown.c (__fchown): Likewise.
12860         * io/fchownat.c (fchownat): Likewise.
12861         * io/fcntl.c (__fcntl): Likewise.
12862         * io/flock.c (__flock): Likewise.
12863         * io/fts.c (fts_load): Likewise.
12864         (fts_close): Likewise.
12865         (fts_read): Likewise.
12866         (fts_set): Likewise.
12867         (fts_children): Likewise.
12868         (fts_build): Likewise.
12869         (fts_stat): Likewise.
12870         (fts_sort): Likewise.
12871         (fts_alloc): Likewise.
12872         (fts_lfree): Likewise.
12873         (fts_palloc): Likewise.
12874         (fts_padjust): Likewise.
12875         (fts_maxarglen): Likewise.
12876         (fts_safe_changedir): Likewise.
12877         * io/getwd.c (getwd): Likewise.
12878         * io/isatty.c (__isatty): Likewise.
12879         * io/lchown.c (__lchown): Likewise.
12880         * io/link.c (__link): Likewise.
12881         * io/linkat.c (linkat): Likewise.
12882         * io/lseek.c (__libc_lseek): Likewise.
12883         * io/mkdir.c (__mkdir): Likewise.
12884         * io/mkdirat.c (mkdirat): Likewise.
12885         * io/mkfifo.c (mkfifo): Likewise.
12886         * io/mkfifoat.c (mkfifoat): Likewise.
12887         * io/open.c (__libc_open): Likewise.
12888         * io/open64.c (__libc_open64): Likewise.
12889         * io/readlink.c (__readlink): Likewise.
12890         * io/readlinkat.c (readlinkat): Likewise.
12891         * io/rmdir.c (__rmdir): Likewise.
12892         * io/symlink.c (__symlink): Likewise.
12893         * io/symlinkat.c (symlinkat): Likewise.
12894         * io/ttyname.c (ttyname): Likewise.
12895         * io/ttyname_r.c (__ttyname_r): Likewise.
12896         * io/umask.c (__umask): Likewise.
12897         * io/unlink.c (__unlink): Likewise.
12898         * io/unlinkat.c (unlinkat): Likewise.
12899         * io/utime.c (utime): Likewise.
12900         * libio/clearerr.c (clearerr): Likewise.
12901         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12902         * libio/feof.c (_IO_feof): Likewise.
12903         * libio/feof_u.c (feof_unlocked): Likewise.
12904         * libio/ferror.c (_IO_ferror): Likewise.
12905         * libio/ferror_u.c (ferror_unlocked): Likewise.
12906         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12907         * libio/fileno.c (__fileno): Likewise.
12908         * libio/fputc.c (fputc): Likewise.
12909         * libio/fputc_u.c (fputc_unlocked): Likewise.
12910         * libio/fputwc.c (fputwc): Likewise.
12911         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12912         * libio/freopen.c (freopen): Likewise.
12913         * libio/freopen64.c (freopen64): Likewise.
12914         * libio/fseek.c (fseek): Likewise.
12915         * libio/fseeko.c (fseeko): Likewise.
12916         * libio/fseeko64.c (fseeko64): Likewise.
12917         * libio/ftello.c (__ftello): Likewise.
12918         * libio/ftello64.c (ftello64): Likewise.
12919         * libio/fwide.c (fwide): Likewise.
12920         * libio/genops.c (_IO_un_link): Likewise.
12921         (_IO_link_in): Likewise.
12922         (_IO_least_marker): Likewise.
12923         (_IO_switch_to_main_get_area): Likewise.
12924         (_IO_switch_to_backup_area): Likewise.
12925         (_IO_switch_to_get_mode): Likewise.
12926         (_IO_free_backup_area): Likewise.
12927         (_IO_switch_to_put_mode): Likewise.
12928         (__overflow): Likewise.
12929         (__underflow): Likewise.
12930         (__uflow): Likewise.
12931         (_IO_setb): Likewise.
12932         (_IO_doallocbuf): Likewise.
12933         (_IO_default_underflow): Likewise.
12934         (_IO_default_uflow): Likewise.
12935         (_IO_default_xsputn): Likewise.
12936         (_IO_sgetn): Likewise.
12937         (_IO_default_xsgetn): Likewise.
12938         (_IO_sync): Likewise.
12939         (_IO_default_setbuf): Likewise.
12940         (_IO_default_seekpos): Likewise.
12941         (_IO_default_doallocate): Likewise.
12942         (_IO_init): Likewise.
12943         (_IO_old_init): Likewise.
12944         (_IO_default_sync): Likewise.
12945         (_IO_default_finish): Likewise.
12946         (_IO_default_seekoff): Likewise.
12947         (_IO_sputbackc): Likewise.
12948         (_IO_sungetc): Likewise.
12949         (_IO_set_column): Likewise.
12950         (_IO_set_column): Likewise.
12951         (_IO_adjust_column): Likewise.
12952         (_IO_get_column): Likewise.
12953         (_IO_init_marker): Likewise.
12954         (_IO_remove_marker): Likewise.
12955         (_IO_marker_difference): Likewise.
12956         (_IO_marker_delta): Likewise.
12957         (_IO_seekmark): Likewise.
12958         (_IO_unsave_markers): Likewise.
12959         (_IO_nobackup_pbackfail): Likewise.
12960         (_IO_default_pbackfail): Likewise.
12961         (_IO_default_seek): Likewise.
12962         (_IO_default_stat): Likewise.
12963         (_IO_default_read): Likewise.
12964         (_IO_default_write): Likewise.
12965         (_IO_default_showmanyc): Likewise.
12966         (_IO_default_imbue): Likewise.
12967         (_IO_iter_next): Likewise.
12968         (_IO_iter_file): Likewise.
12969         * libio/getc.c (_IO_getc): Likewise.
12970         * libio/getwc.c (_IO_getwc): Likewise.
12971         * libio/iofclose.c (_IO_new_fclose): Likewise.
12972         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12973         * libio/iofflush.c (_IO_fflush): Likewise.
12974         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12975         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12976         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12977         * libio/iofgets.c (_IO_fgets): Likewise.
12978         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12979         * libio/iofgetws.c (fgetws): Likewise.
12980         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12981         * libio/iofopen64.c (_IO_fopen64): Likewise.
12982         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12983         (_IO_cookie_write): Likewise.
12984         (_IO_cookie_seek): Likewise.
12985         (_IO_cookie_close): Likewise.
12986         (_IO_cookie_seekoff): Likewise.
12987         (_IO_old_cookie_seek): Likewise.
12988         * libio/iofputs.c (_IO_fputs): Likewise.
12989         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12990         * libio/iofputws.c (fputws): Likewise.
12991         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12992         * libio/iofread.c (_IO_fread): Likewise.
12993         * libio/iofread_u.c (__fread_unlocked): Likewise.
12994         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12995         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12996         * libio/ioftell.c (_IO_ftell): Likewise.
12997         * libio/iofwrite.c (_IO_fwrite): Likewise.
12998         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12999         * libio/iogets.c (_IO_gets): Likewise.
13000         * libio/iopadn.c (_IO_padn): Likewise.
13001         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13002         (_IO_new_popen): Likewise.
13003         (_IO_new_proc_close): Likewise.
13004         * libio/ioputs.c (_IO_puts): Likewise.
13005         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13006         (_IO_seekoff): Likewise.
13007         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13008         (_IO_seekpos): Likewise.
13009         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13010         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13011         * libio/ioungetc.c (_IO_ungetc): Likewise.
13012         * libio/ioungetwc.c (ungetwc): Likewise.
13013         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13014         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13015         * libio/iowpadn.c (_IO_wpadn): Likewise.
13016         * libio/libc_fatal.c (__libc_fatal): Likewise.
13017         * libio/memstream.c (__open_memstream): Likewise.
13018         (_IO_mem_sync): Likewise.
13019         (_IO_mem_finish): Likewise.
13020         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13021         (_IO_old_file_close_it): Likewise.
13022         (_IO_old_file_finish): Likewise.
13023         (_IO_old_file_fopen): Likewise.
13024         (_IO_old_file_attach): Likewise.
13025         (_IO_old_file_setbuf): Likewise.
13026         (_IO_old_do_write): Likewise.
13027         (old_do_write): Likewise.
13028         (_IO_old_file_underflow): Likewise.
13029         (_IO_old_file_overflow): Likewise.
13030         (_IO_old_file_sync): Likewise.
13031         (_IO_old_file_seekoff): Likewise.
13032         (_IO_old_file_write): Likewise.
13033         (_IO_old_file_xsputn): Likewise.
13034         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13035         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13036         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13037         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13038         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13039         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13040         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13041         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13042         (_IO_old_popen): Likewise.
13043         (_IO_old_proc_close): Likewise.
13044         * libio/oldpclose.c (__old_pclose): Likewise.
13045         * libio/pclose.c (__new_pclose): Likewise.
13046         * libio/peekc.c (_IO_peekc_locked): Likewise.
13047         * libio/putc.c (_IO_putc): Likewise.
13048         * libio/putc_u.c (putc_unlocked): Likewise.
13049         * libio/putchar.c (putchar): Likewise.
13050         * libio/putchar_u.c (putchar_unlocked): Likewise.
13051         * libio/putwc.c (putwc): Likewise.
13052         * libio/putwc_u.c (putwc_unlocked): Likewise.
13053         * libio/putwchar.c (putwchar): Likewise.
13054         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13055         * libio/rewind.c (rewind): Likewise.
13056         * libio/setbuf.c (setbuf): Likewise.
13057         * libio/setlinebuf.c (setlinebuf): Likewise.
13058         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13059         * libio/vscanf.c (_IO_vscanf): Likewise.
13060         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13061         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13062         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13063         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13064         (_IO_switch_to_main_wget_area): Likewise.
13065         (_IO_switch_to_wbackup_area): Likewise.
13066         (_IO_wsetb): Likewise.
13067         (_IO_wdefault_pbackfail): Likewise.
13068         (_IO_wdefault_finish): Likewise.
13069         (_IO_wdefault_uflow): Likewise.
13070         (__woverflow): Likewise.
13071         (__wuflow): Likewise.
13072         (__wunderflow): Likewise.
13073         (_IO_wdefault_xsputn): Likewise.
13074         (_IO_wdefault_xsgetn): Likewise.
13075         (_IO_wdoallocbuf): Likewise.
13076         (_IO_wdefault_doallocate): Likewise.
13077         (_IO_switch_to_wget_mode): Likewise.
13078         (_IO_free_wbackup_area): Likewise.
13079         (_IO_switch_to_wput_mode): Likewise.
13080         (_IO_sputbackwc): Likewise.
13081         (_IO_sungetwc): Likewise.
13082         (_IO_adjust_wcolumn): Likewise.
13083         (_IO_init_wmarker): Likewise.
13084         (_IO_wmarker_delta): Likewise.
13085         (_IO_seekwmark): Likewise.
13086         (_IO_unsave_wmarkers): Likewise.
13087         * libio/wmemstream.c (open_wmemstream): Likewise.
13088         (_IO_wmem_sync): Likewise.
13089         (_IO_wmem_finish): Likewise.
13090         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13091         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13092         * locale/programs/simple-hash.c (init_hash): Likewise.
13093         (delete_hash): Likewise.
13094         (insert_entry): Likewise.
13095         (set_entry): Likewise.
13096         (next_prime): Likewise.
13097         (is_prime): Likewise.
13098         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13099         (xmalloc): Likewise.
13100         (xrealloc): Likewise.
13101         * locale/programs/xstrdup.c (xstrdup): Likewise.
13102         * localedata/collate-test.c (xstrcoll): Likewise.
13103         * localedata/xfrm-test.c (xstrcmp): Likewise.
13104         * login/getlogin_r.c (__getlogin_r): Likewise.
13105         * login/getpt.c (__posix_openpt): Likewise.
13106         * login/login_tty.c (login_tty): Likewise.
13107         * login/setlogin.c (setlogin): Likewise.
13108         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13109         (mach_msg_destroy_port): Likewise.
13110         (mach_msg_destroy_memory): Likewise.
13111         * malloc/mcheck.c (flood): Likewise.
13112         * misc/acct.c (acct): Likewise.
13113         * misc/brk.c (__brk): Likewise.
13114         * misc/chflags.c (chflags): Likewise.
13115         * misc/chroot.c (chroot): Likewise.
13116         * misc/fchflags.c (fchflags): Likewise.
13117         * misc/fstab.c (getfsspec): Likewise.
13118         (getfsfile): Likewise.
13119         * misc/fsync.c (fsync): Likewise.
13120         * misc/ftruncate.c (__ftruncate): Likewise.
13121         * misc/ftruncate64.c (__ftruncate64): Likewise.
13122         * misc/getdomain.c (getdomainname): Likewise.
13123         (getdomainname): Likewise.
13124         * misc/gethostname.c (__gethostname): Likewise.
13125         * misc/getpass.c (getpass): Likewise.
13126         * misc/getttyent.c (skip): Likewise.
13127         (value): Likewise.
13128         * misc/gtty.c (gtty): Likewise.
13129         * misc/hsearch.c (hsearch): Likewise.
13130         (hcreate): Likewise.
13131         * misc/hsearch_r.c (__hcreate_r): Likewise.
13132         (__hdestroy_r): Likewise.
13133         * misc/ioctl.c (__ioctl): Likewise.
13134         * misc/mkdtemp.c (mkdtemp): Likewise.
13135         * misc/mkostemp.c (mkostemp): Likewise.
13136         * misc/mkostemp64.c (mkostemp64): Likewise.
13137         * misc/mkostemps.c (mkostemps): Likewise.
13138         * misc/mkostemps64.c (mkostemps64): Likewise.
13139         * misc/mkstemp.c (mkstemp): Likewise.
13140         * misc/mkstemp64.c (mkstemp64): Likewise.
13141         * misc/mkstemps.c (mkstemps): Likewise.
13142         * misc/mkstemps64.c (mkstemps64): Likewise.
13143         * misc/mktemp.c (__mktemp): Likewise.
13144         * misc/preadv.c (preadv): Likewise.
13145         * misc/preadv64.c (preadv64): Likewise.
13146         * misc/pwritev.c (pwritev): Likewise.
13147         * misc/pwritev64.c (pwritev64): Likewise.
13148         * misc/readv.c (__readv): Likewise.
13149         * misc/revoke.c (revoke): Likewise.
13150         * misc/setdomain.c (setdomainname): Likewise.
13151         * misc/setegid.c (setegid): Likewise.
13152         * misc/seteuid.c (seteuid): Likewise.
13153         * misc/sethostid.c (sethostid): Likewise.
13154         * misc/sethostname.c (sethostname): Likewise.
13155         * misc/setregid.c (__setregid): Likewise.
13156         * misc/setreuid.c (__setreuid): Likewise.
13157         * misc/sstk.c (sstk): Likewise.
13158         * misc/stty.c (stty): Likewise.
13159         * misc/syscall.c (syscall): Likewise.
13160         * misc/syslog.c (setlogmask): Likewise.
13161         * misc/truncate.c (__truncate): Likewise.
13162         * misc/truncate64.c (truncate64): Likewise.
13163         * misc/ualarm.c (ualarm): Likewise.
13164         * misc/usleep.c (usleep): Likewise.
13165         * misc/ustat.c (ustat): Likewise.
13166         * misc/writev.c (__writev): Likewise.
13167         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13168         * nptl/old_pthread_cond_broadcast.c
13169         (__pthread_cond_broadcast_2_0): Likewise.
13170         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13171         Likewise.
13172         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13173         Likewise.
13174         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13175         Likewise.
13176         * nptl/pt-raise.c (raise): Likewise.
13177         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13178         Likewise.
13179         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13180         * nptl/pthread_barrierattr_destroy.c
13181         (pthread_barrierattr_destroy): Likewise.
13182         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13183         Likewise.
13184         * nptl/pthread_barrierattr_setpshared.c
13185         (pthread_barrierattr_setpshared): Likewise.
13186         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13187         Likewise.
13188         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13189         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13190         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13191         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13192         Likewise.
13193         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13194         Likewise.
13195         * nptl/pthread_condattr_getpshared.c
13196         (pthread_condattr_getpshared): Likewise.
13197         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13198         Likewise.
13199         * nptl/pthread_condattr_setpshared.c
13200         (pthread_condattr_setpshared): Likewise.
13201         * nptl/pthread_detach.c (pthread_detach): Likewise.
13202         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13203         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13204         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13205         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13206         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13207         Likewise.
13208         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13209         Likewise.
13210         * nptl/pthread_mutex_getprioceiling.c
13211         (pthread_mutex_getprioceiling): Likewise.
13212         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13213         Likewise.
13214         * nptl/pthread_mutexattr_getprotocol.c
13215         (pthread_mutexattr_getprotocol): Likewise.
13216         * nptl/pthread_mutexattr_getpshared.c
13217         (pthread_mutexattr_getpshared): Likewise.
13218         * nptl/pthread_mutexattr_getrobust.c
13219         (pthread_mutexattr_getrobust): Likewise.
13220         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13221         Likewise.
13222         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13223         Likewise.
13224         * nptl/pthread_mutexattr_setprioceiling.c
13225         (pthread_mutexattr_setprioceiling): Likewise.
13226         * nptl/pthread_mutexattr_setprotocol.c
13227         (pthread_mutexattr_setprotocol): Likewise.
13228         * nptl/pthread_mutexattr_setpshared.c
13229         (pthread_mutexattr_setpshared): Likewise.
13230         * nptl/pthread_mutexattr_setrobust.c
13231         (pthread_mutexattr_setrobust): Likewise.
13232         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13233         Likewise.
13234         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13235         Likewise.
13236         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13237         Likewise.
13238         * nptl/pthread_rwlockattr_getkind_np.c
13239         (pthread_rwlockattr_getkind_np): Likewise.
13240         * nptl/pthread_rwlockattr_getpshared.c
13241         (pthread_rwlockattr_getpshared): Likewise.
13242         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13243         Likewise.
13244         * nptl/pthread_rwlockattr_setkind_np.c
13245         (pthread_rwlockattr_setkind_np): Likewise.
13246         * nptl/pthread_rwlockattr_setpshared.c
13247         (pthread_rwlockattr_setpshared): Likewise.
13248         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13249         Likewise.
13250         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13251         Likewise.
13252         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13253         Likewise.
13254         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13255         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13256         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13257         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13258         * nptl/sem_close.c (sem_close): Likewise.
13259         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13260         * nptl/sem_init.c (__old_sem_init): Likewise.
13261         * nptl/sigaction.c (__sigaction): Likewise.
13262         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13263         * posix/_exit.c (_exit): Likewise.
13264         * posix/alarm.c (alarm): Likewise.
13265         * posix/confstr.c (confstr): Likewise.
13266         * posix/fpathconf.c (__fpathconf): Likewise.
13267         * posix/getgroups.c (__getgroups): Likewise.
13268         * posix/getpgid.c (__getpgid): Likewise.
13269         * posix/group_member.c (__group_member): Likewise.
13270         * posix/pathconf.c (__pathconf): Likewise.
13271         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13272         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13273         * posix/setgid.c (__setgid): Likewise.
13274         * posix/setpgid.c (__setpgid): Likewise.
13275         * posix/setuid.c (__setuid): Likewise.
13276         * posix/sleep.c (__sleep): Likewise.
13277         * posix/sysconf.c (__sysconf): Likewise.
13278         * posix/times.c (__times): Likewise.
13279         * posix/uname.c (__uname): Likewise.
13280         * posix/waitid.c (__waitid): Likewise.
13281         * pwd/getpw.c (__getpw): Likewise.
13282         * resolv/base64.c (b64_pton): Likewise.
13283         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13284         * resolv/gethnamaddr.c (Dprintf): Likewise.
13285         (gethostbyname): Likewise.
13286         (gethostbyname2): Likewise.
13287         (gethostbyaddr): Likewise.
13288         (_sethtent): Likewise.
13289         (_gethtbyname): Likewise.
13290         (_gethtbyname2): Likewise.
13291         (_gethtbyaddr): Likewise.
13292         (map_v4v6_address): Likewise.
13293         (map_v4v6_hostent): Likewise.
13294         (addrsort): Likewise.
13295         (ht_sethostent): Likewise.
13296         (ht_gethostbyname): Likewise.
13297         (ht_gethostbyaddr): Likewise.
13298         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13299         (inet_net_ntop_ipv4): Likewise.
13300         * resolv/inet_neta.c (inet_neta): Likewise.
13301         * resolv/inet_ntop.c (inet_ntop): Likewise.
13302         (inet_ntop4): Likewise.
13303         (inet_ntop6): Likewise.
13304         * resolv/inet_pton.c (__inet_pton): Likewise.
13305         (inet_pton4): Likewise.
13306         (inet_pton6): Likewise.
13307         * resolv/res_debug.c (loc_aton): Likewise.
13308         (loc_ntoa): Likewise.
13309         * resource/getpriority.c (__getpriority): Likewise.
13310         * resource/getrusage.c (__getrusage): Likewise.
13311         * resource/nice.c (nice): Likewise.
13312         * resource/setpriority.c (__setpriority): Likewise.
13313         * resource/setrlimit64.c (setrlimit64): Likewise.
13314         * resource/vlimit.c (vlimit): Likewise.
13315         * resource/vtimes.c (vtimes): Likewise.
13316         * rt/aio_error.c (aio_error): Likewise.
13317         * rt/aio_return.c (aio_return): Likewise.
13318         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13319         * signal/kill.c (__kill): Likewise.
13320         * signal/killpg.c (killpg): Likewise.
13321         * signal/raise.c (raise): Likewise.
13322         * signal/sigaction.c (__sigaction): Likewise.
13323         * signal/sigaddset.c (sigaddset): Likewise.
13324         * signal/sigaltstack.c (sigaltstack): Likewise.
13325         * signal/sigandset.c (sigandset): Likewise.
13326         * signal/sigblock.c (__sigblock): Likewise.
13327         * signal/sigdelset.c (sigdelset): Likewise.
13328         * signal/sigempty.c (sigemptyset): Likewise.
13329         * signal/sigfillset.c (sigfillset): Likewise.
13330         * signal/sighold.c (sighold): Likewise.
13331         * signal/sigignore.c (sigignore): Likewise.
13332         * signal/sigintr.c (siginterrupt): Likewise.
13333         * signal/sigisempty.c (sigisemptyset): Likewise.
13334         * signal/sigismem.c (sigismember): Likewise.
13335         * signal/signal.c (signal): Likewise.
13336         * signal/sigorset.c (sigorset): Likewise.
13337         * signal/sigpause.c (__sigpause): Likewise.
13338         * signal/sigpending.c (sigpending): Likewise.
13339         * signal/sigprocmask.c (__sigprocmask): Likewise.
13340         * signal/sigrelse.c (sigrelse): Likewise.
13341         * signal/sigreturn.c (__sigreturn): Likewise.
13342         * signal/sigset.c (sigset): Likewise.
13343         * signal/sigsetmask.c (__sigsetmask): Likewise.
13344         * signal/sigstack.c (sigstack): Likewise.
13345         * signal/sigsuspend.c (__sigsuspend): Likewise.
13346         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13347         * signal/sysv_signal.c (__sysv_signal): Likewise.
13348         * socket/accept.c (accept): Likewise.
13349         * socket/accept4.c (__libc_accept4): Likewise.
13350         * socket/bind.c (__bind): Likewise.
13351         * socket/connect.c (__connect): Likewise.
13352         * socket/getpeername.c (getpeername): Likewise.
13353         * socket/getsockname.c (__getsockname): Likewise.
13354         * socket/getsockopt.c (getsockopt): Likewise.
13355         * socket/listen.c (__listen): Likewise.
13356         * socket/recv.c (__recv): Likewise.
13357         * socket/recvmsg.c (__recvmsg): Likewise.
13358         * socket/send.c (__send): Likewise.
13359         * socket/sendmsg.c (__sendmsg): Likewise.
13360         * socket/shutdown.c (shutdown): Likewise.
13361         * socket/sockatmark.c (sockatmark): Likewise.
13362         * socket/socket.c (__socket): Likewise.
13363         * stdio-common/ctermid.c (ctermid): Likewise.
13364         * stdio-common/cuserid.c (cuserid): Likewise.
13365         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13366         * stdio-common/remove.c (remove): Likewise.
13367         * stdio-common/rename.c (rename): Likewise.
13368         * stdio-common/renameat.c (renameat): Likewise.
13369         * stdio-common/tempname.c (__gen_tempname): Likewise.
13370         * stdio-common/xbug.c (InitBuffer): Likewise.
13371         (AppendToBuffer): Likewise.
13372         (ReadFile): Likewise.
13373         * stdlib/a64l.c (a64l): Likewise.
13374         * stdlib/drand48_r.c (drand48_r): Likewise.
13375         * stdlib/getcontext.c (getcontext): Likewise.
13376         * stdlib/getenv.c (getenv): Likewise.
13377         * stdlib/l64a.c (l64a): Likewise.
13378         * stdlib/llabs.c (llabs): Likewise.
13379         * stdlib/lldiv.c (lldiv): Likewise.
13380         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13381         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13382         * stdlib/putenv.c (putenv): Likewise.
13383         * stdlib/random.c (__srandom): Likewise.
13384         (__initstate): Likewise.
13385         (__setstate): Likewise.
13386         * stdlib/random_r.c (__srandom_r): Likewise.
13387         (__setstate_r): Likewise.
13388         (__random_r): Likewise.
13389         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13390         * stdlib/setcontext.c (setcontext): Likewise.
13391         * stdlib/setenv.c (setenv): Likewise.
13392         (unsetenv): Likewise.
13393         * stdlib/srand48.c (srand48): Likewise.
13394         * stdlib/srand48_r.c (__srand48_r): Likewise.
13395         * stdlib/swapcontext.c (swapcontext): Likewise.
13396         * stdlib/system.c (__libc_system): Likewise.
13397         * stdlib/tst-strtod.c (expand): Likewise.
13398         * stdlib/tst-strtol.c (expand): Likewise.
13399         * stdlib/tst-strtoll.c (expand): Likewise.
13400         * streams/fattach.c (fattach): Likewise.
13401         * streams/fdetach.c (fdetach): Likewise.
13402         * streams/getmsg.c (getmsg): Likewise.
13403         * streams/isastream.c (isastream): Likewise.
13404         * string/ffs.c (__ffs): Likewise.
13405         * string/ffsll.c (ffsll): Likewise.
13406         * string/memcmp.c (memcmp_common_alignment): Likewise.
13407         (memcmp_not_common_alignment): Likewise.
13408         (MEMCMP): Likewise.
13409         * string/memcpy.c (memcpy): Likewise.
13410         * string/memmove.c (MEMMOVE): Likewise.
13411         * string/memset.c (memset): Likewise.
13412         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13413         * string/strchrnul.c (STRCHRNUL): Likewise.
13414         * string/strerror.c (strerror): Likewise.
13415         * string/strndup.c (__strndup): Likewise.
13416         * string/strverscmp.c (__strverscmp): Likewise.
13417         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13418         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13419         (clnttcp_freeres): Likewise.
13420         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13421         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13422         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13423         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13424         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13425         (xdr_callhdr): Likewise.
13426         * sunrpc/rpcinfo.c (udpping): Likewise.
13427         (tcpping): Likewise.
13428         (pstatus): Likewise.
13429         (pmapdump): Likewise.
13430         (brdcst): Likewise.
13431         (deletereg): Likewise.
13432         (getprognum): Likewise.
13433         (getvers): Likewise.
13434         (get_inet_address): Likewise.
13435         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13436         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13437         (svcudp_stat): Likewise.
13438         (svcudp_recv): Likewise.
13439         (svcudp_reply): Likewise.
13440         (svcudp_getargs): Likewise.
13441         (svcudp_freeargs): Likewise.
13442         (svcudp_destroy): Likewise.
13443         * sunrpc/xdr.c (xdr_bytes): Likewise.
13444         (xdr_netobj): Likewise.
13445         (xdr_string): Likewise.
13446         (xdr_wrapstring): Likewise.
13447         * sunrpc/xdr_float.c (xdr_float): Likewise.
13448         (xdr_double): Likewise.
13449         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13450         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13451         * sysvipc/ftok.c (ftok): Likewise.
13452         * sysvipc/msgctl.c (msgctl): Likewise.
13453         * sysvipc/msgget.c (msgget): Likewise.
13454         * sysvipc/msgrcv.c (msgrcv): Likewise.
13455         * sysvipc/msgsnd.c (msgsnd): Likewise.
13456         * sysvipc/semget.c (semget): Likewise.
13457         * sysvipc/semop.c (semop): Likewise.
13458         * sysvipc/shmat.c (shmat): Likewise.
13459         * sysvipc/shmctl.c (shmctl): Likewise.
13460         * sysvipc/shmdt.c (shmdt): Likewise.
13461         * sysvipc/shmget.c (shmget): Likewise.
13462         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13463         * termios/speed.c (cfgetospeed): Likewise.
13464         (cfgetispeed): Likewise.
13465         (cfsetospeed): Likewise.
13466         (cfsetispeed): Likewise.
13467         * termios/tcflow.c (tcflow): Likewise.
13468         * termios/tcflush.c (tcflush): Likewise.
13469         * termios/tcgetattr.c (__tcgetattr): Likewise.
13470         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13471         * termios/tcgetsid.c (tcgetsid): Likewise.
13472         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13473         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13474         * time/adjtime.c (__adjtime): Likewise.
13475         * time/dysize.c (dysize): Likewise.
13476         * time/ftime.c (ftime): Likewise.
13477         * time/getitimer.c (__getitimer): Likewise.
13478         * time/gettimeofday.c (__gettimeofday): Likewise.
13479         * time/gmtime.c (__gmtime_r): Likewise.
13480         (gmtime): Likewise.
13481         * time/localtime.c (__localtime_r): Likewise.
13482         (localtime): Likewise.
13483         * time/offtime.c (__offtime): Likewise.
13484         * time/settimeofday.c (__settimeofday): Likewise.
13485         * time/stime.c (stime): Likewise.
13486         * time/strftime_l.c (tm_diff): Likewise.
13487         (iso_week_days): Likewise.
13488         * time/strptime.c (strptime): Likewise.
13489         * time/time.c (time): Likewise.
13490         * time/timespec_get.c (timespec_get): Likewise.
13491         * time/tzset.c (tzset_internal): Likewise.
13492         (compute_change): Likewise.
13493         (__tz_compute): Likewise.
13494         * wcsmbs/btowc.c (__btowc): Likewise.
13495         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13496         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13497         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13498         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13499         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13500         * wcsmbs/wcscat.c (__wcscat): Likewise.
13501         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13502         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13503         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13504         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13505         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13506         * wcsmbs/wcslen.c (__wcslen): Likewise.
13507         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13508         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13509         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13510         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13511         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13512         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13513         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13514         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13515         * wcsmbs/wcstok.c (wcstok): Likewise.
13516         * wcsmbs/wctob.c (wctob): Likewise.
13517         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13518         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13519         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13520         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13521         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13522         * wcsmbs/wmemset.c (__wmemset): Likewise.
13523         * wctype/wcfuncs.c (__towlower): Likewise.
13524         (__towupper): Likewise.
13526         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13527         (lll_unlock_elision): Add adapt_count parameter.
13529 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13531         * sysdeps/nptl/configure.ac: Do not give errors based on the
13532         results of top-level configure tests.
13533         * sysdeps/nptl/configure: Regenerated.
13535         * configure.ac (libc_cv_Bgroup): Remove configure test.
13536         * configure: Regenerated.
13537         * config.make.in (have-Bgroup): Remove variable.
13539         * configure.ac (sizeof_long_double): Remove configure test.
13540         * configure: Regenerated.
13541         * config.make.in (sizeof-long-double): Remove variable.
13543         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13544         * configure: Regenerated.
13545         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13546         variable.
13547         (exceptions): Likewise.
13548         * sysdeps/arm/configure: Regenerated.
13549         * config.make.in (exceptions): Remove variable.
13550         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13551         $(exceptions).
13552         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13553         (CFLAGS-vdprintf_chk.c): Likewise.
13554         (CFLAGS-printf_chk.c): Likewise.
13555         (CFLAGS-fprintf_chk.c): Likewise.
13556         (CFLAGS-vprintf_chk.c): Likewise.
13557         (CFLAGS-vfprintf_chk.c): Likewise.
13558         (CFLAGS-gets_chk.c): Likewise.
13559         (CFLAGS-fgets_chk.c): Likewise.
13560         (CFLAGS-fgets_u_chk.c): Likewise.
13561         (CFLAGS-fread_chk.c): Likewise.
13562         (CFLAGS-fread_u_chk.c): Likewise.
13563         (CFLAGS-wprintf_chk.c): Likewise.
13564         (CFLAGS-fwprintf_chk.c): Likewise.
13565         (CFLAGS-vwprintf_chk.c): Likewise.
13566         (CFLAGS-vfwprintf_chk.c): Likewise.
13567         (CFLAGS-fgetws_chk.c): Likewise.
13568         (CFLAGS-fgetws_u_chk.c): Likewise.
13569         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13570         (CFLAGS-fputc.c): Likewise.
13571         (CFLAGS-fputwc.c): Likewise.
13572         (CFLAGS-freopen64.c): Likewise.
13573         (CFLAGS-freopen.c): Likewise.
13574         (CFLAGS-fseek.c): Likewise.
13575         (CFLAGS-fseeko64.c): Likewise.
13576         (CFLAGS-fseeko.c): Likewise.
13577         (CFLAGS-ftello64.c): Likewise.
13578         (CFLAGS-ftello.c): Likewise.
13579         (CFLAGS-fwide.c): Likewise.
13580         (CFLAGS-genops.c): Likewise.
13581         (CFLAGS-getc.c): Likewise.
13582         (CFLAGS-getchar.c): Likewise.
13583         (CFLAGS-getwc.c): Likewise.
13584         (CFLAGS-getwchar.c): Likewise.
13585         (CFLAGS-iofclose.c): Likewise.
13586         (CFLAGS-iofflush.c): Likewise.
13587         (CFLAGS-iofgetpos64.c): Likewise.
13588         (CFLAGS-iofgetpos.c): Likewise.
13589         (CFLAGS-iofgets.c): Likewise.
13590         (CFLAGS-iofgetws.c): Likewise.
13591         (CFLAGS-iofputs.c): Likewise.
13592         (CFLAGS-iofputws.c): Likewise.
13593         (CFLAGS-iofread.c): Likewise.
13594         (CFLAGS-iofsetpos64.c): Likewise.
13595         (CFLAGS-iofsetpos.c): Likewise.
13596         (CFLAGS-ioftell.c): Likewise.
13597         (CFLAGS-iofwrite.c): Likewise.
13598         (CFLAGS-iogetdelim.c): Likewise.
13599         (CFLAGS-iogetline.c): Likewise.
13600         (CFLAGS-iogets.c): Likewise.
13601         (CFLAGS-iogetwline.c): Likewise.
13602         (CFLAGS-ioputs.c): Likewise.
13603         (CFLAGS-ioseekoff.c): Likewise.
13604         (CFLAGS-ioseekpos.c): Likewise.
13605         (CFLAGS-iosetbuffer.c): Likewise.
13606         (CFLAGS-iosetvbuf.c): Likewise.
13607         (CFLAGS-ioungetc.c): Likewise.
13608         (CFLAGS-ioungetwc.c): Likewise.
13609         (CFLAGS-oldfileops.c): Likewise.
13610         (CFLAGS-oldiofclose.c): Likewise.
13611         (CFLAGS-oldiofgetpos64.c): Likewise.
13612         (CFLAGS-oldiofgetpos.c): Likewise.
13613         (CFLAGS-oldiofsetpos64.c): Likewise.
13614         (CFLAGS-oldiofsetpos.c): Likewise.
13615         (CFLAGS-peekc.c): Likewise.
13616         (CFLAGS-putc.c): Likewise.
13617         (CFLAGS-putchar.c): Likewise.
13618         (CFLAGS-putwc.c): Likewise.
13619         (CFLAGS-putwchar.c): Likewise.
13620         (CFLAGS-rewind.c): Likewise.
13621         (CFLAGS-wfileops.c): Likewise.
13622         (CFLAGS-wgenops.c): Likewise.
13623         (CFLAGS-oldiofopen.c): Likewise.
13624         (CFLAGS-iofopen.c): Likewise.
13625         (CFLAGS-iofopen64.c): Likewise.
13626         (CFLAGS-oldtmpfile.c): Likewise.
13627         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13628         (CFLAGS-fprintf.c): Likewise.
13629         (CFLAGS-printf.c): Likewise.
13630         (CFLAGS-vfwprintf.c): Likewise.
13631         (CFLAGS-vfscanf.c): Likewise.
13632         (CFLAGS-vfwscanf.c): Likewise.
13633         (CFLAGS-fscanf.c): Likewise.
13634         (CFLAGS-scanf.c): Likewise.
13635         (CFLAGS-isoc99_vfscanf.c): Likewise.
13636         (CFLAGS-isoc99_vscanf.c): Likewise.
13637         (CFLAGS-isoc99_fscanf.c): Likewise.
13638         (CFLAGS-isoc99_scanf.c): Likewise.
13639         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13640         (CFLAGS-isoc99_fwscanf.c): Likewise.
13641         (CFLAGS-isoc99_vwscanf.c): Likewise.
13642         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13644         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13645         after mkstemp64.
13646         * login/tst-utmp.c (do_prepare): Likewise.
13647         * rt/tst-aio.c (do_prepare): Likewise.
13648         * rt/tst-aio64.c (do_prepare): Likewise.
13650 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13652         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13653         (__lll_lock_elision): Remove adapt_count decrement...
13654         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13655         (__lll_trylock_elision): Likewise.
13656         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13657         (__lll_unlock_elision): ... to here. And utilize
13658         new adapt_count parameter.
13659         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13660         (__lll_unlock_elision): Update to include adapt_count
13661         parameter.
13662         (lll_unlock_elision): Pass pointer to adapt_count
13663         variable.
13665 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13667         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13668         Add elision adapt_count parameter to list of arguments.
13669         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13670         (lll_unlock_elision): Update with new parameter list
13671         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13672         (lll_unlock_elision): Likewise.
13673         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13674         (lll_unlock_elision): Likewise.
13676 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13678         [BZ #19122]
13679         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13680         attribute_hidden.
13682         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13683         attribute_hidden.
13684         [IS_IN (rtld)] (__strdup): Likewise.
13685         [IS_IN (rtld)] (__strerror_r): Likewise.
13686         [IS_IN (rtld)] (__strsep_g): Likewise.
13687         [IS_IN (rtld)] (memchr): Likewise.
13688         [IS_IN (rtld)] (memcmp): Likewise.
13689         [IS_IN (rtld)] (memcpy): Likewise.
13690         [IS_IN (rtld)] (memmove): Likewise.
13691         [IS_IN (rtld)] (memset): Likewise.
13692         [IS_IN (rtld)] (rawmemchr): Likewise.
13693         [IS_IN (rtld)] (stpcpy): Likewise.
13694         [IS_IN (rtld)] (strchr): Likewise.
13695         [IS_IN (rtld)] (strcmp): Likewise.
13696         [IS_IN (rtld)] (strlen): Likewise.
13697         [IS_IN (rtld)] (strnlen): Likewise.
13698         [IS_IN (rtld)] (strsep): Likewise.
13700         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13701         attribute_hidden.
13702         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13704         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13705         attribute_hidden.
13706         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13708         * include/setjmp.h (__longjmp): Add attribute_hidden.
13709         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13711         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13712         Add attribute_hidden.
13714         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13715         [IS_IN (rtld)] (__open): Likewise.
13716         [IS_IN (rtld)] (__fcntl): Likewise.
13718         * include/dirent.h (__opendirat): Add attribute_hidden.
13719         (__getdents): Likewise.
13720         (__getdents64): Likewise.
13721         (__alloc_dir): Likewise.
13722         [IS_IN (rtld)] (__closedir): Likewise.
13723         [IS_IN (rtld)] (__fdopendir): Likewise.
13724         [IS_IN (rtld)] (__readdir): Likewise.
13725         [IS_IN (rtld)] (__readdir64): Likewise.
13726         [IS_IN (rtld)] (__rewinddir): Likewise.
13728         * include/dlfcn.h (_dl_catch_error): Moved to ...
13729         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13730         attribute_hidden.
13732         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13733         (_itoa_word): Likewise.
13735         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13736         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13737         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13738         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13739         (_dl_higher_prime_number): Likewise.
13740         (_dl_debug_printf_c): Likewise.
13741         (_dl_signal_cerror): Likewise.
13742         (_dl_receive_error): Likewise.
13743         (_dl_reloc_bad_type): Likewise.
13744         (_dl_resolve_conflicts): Likewise.
13745         (_dl_check_all_versions): Likewise.
13746         (_dl_check_map_versions): Likewise.
13747         (_dl_sort_fini): Likewise.
13748         (_dl_debug_initialize): Likewise.
13749         (_dl_init_paths): Likewise.
13750         (_dl_show_auxv): Likewise.
13751         (_dl_next_ld_env_entry): Likewise.
13752         (_dl_important_hwcaps): Likewise.
13753         (_dl_load_cache_lookup): Likewise.
13754         (_dl_update_slotinfo): Likewise.
13755         (_dl_show_scope): Likewise.
13757         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13758         attribute_hidden.
13759         (_wordcopy_fwd_dest_aligned): Likewise.
13760         (_wordcopy_bwd_aligned): Likewise.
13761         (_wordcopy_bwd_dest_aligned): Likewise.
13763         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13764         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13765         Likewise.
13766         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13767         Likewise.
13768         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13770 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13772         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13773         GCC 5 requirement.
13775 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13777         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13778         test.
13779         * sysdeps/i386/configure: Regenerated.
13780         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13781         code unconditional.
13783         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13784         test.
13785         (libc_cv_asm_popsection_directive): Likewise.
13786         * configure: Regenerated.
13787         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13788         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13789         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13790         (__make_section_unallocated): Make definition unconditional.
13791         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13792         Remove conditional definition.
13793         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13794         (__make_section_unallocated): Likewise.
13796         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13797         * configure: Regenerated.
13798         * config.make.in (static-libgcc): Remove variable.
13799         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13800         $(static-libgcc).
13801         (build-module-helper): Likewise.
13803         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13804         * configure: Regenerated.
13806 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13808         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13809         (struct char_buffer): New type.
13810         (char_buffer_start, char_buffer_size, char_buffer_error)
13811         (char_buffer_rewind, char_buffer_add): New functions.
13812         (ADDW): Remove macro, replaced by the char_buffer_add function.
13813         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13814         of extend_alloca.  Make control flow more explicit.
13816 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13818         [BZ #19137]
13819         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13820         Add -fomit-frame-pointer.
13821         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13823 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13825         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13826         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13827         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13828         only if !__GNUC_PREREQ (5,0).
13829         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13830         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13831         (INTERNAL_SYSCALL_NCS): Likewise.
13832         (LOADREGS_0): New macro for GCC 5.
13833         (ASMARGS_0): Likewise.
13834         (LOADREGS_1): Likewise.
13835         (ASMARGS_1): Likewise.
13836         (LOADREGS_2): Likewise.
13837         (ASMARGS_2): Likewise.
13838         (LOADREGS_3): Likewise.
13839         (ASMARGS_3): Likewise.
13840         (LOADREGS_4): Likewise.
13841         (ASMARGS_4): Likewise.
13842         (LOADREGS_5): Likewise.
13843         (ASMARGS_5): Likewise.
13844         (LOADREGS_6): Likewise.
13845         (ASMARGS_6): Likewise.
13847 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13849         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13850         -fomit-frame-pointer.
13851         (CFLAGS-mmap64.c): Likewise.
13852         (CFLAGS-semtimedop.c): Likewise.
13853         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13854         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13855         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13856         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13858 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13860         [BZ #18928]
13861         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13862         _dl_pointer_guard member.
13863         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13864         initializer.
13865         (security_init): Always set up pointer guard.
13866         (process_envvars): Do not process LD_POINTER_GUARD.
13868 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13870         [BZ #19134]
13871         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13872         (.LC2): Likewise.
13873         (.LC3): Likewise.
13874         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13876 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13878         [BZ #19129]
13879         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13880         r0 and r1.
13882 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13884         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13886 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13888         * include/stap-probe.h: Fix macro definition formatting.
13890 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13892         [BZ #19074]
13893         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13894         load and store num_ifs.
13896 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13898         [BZ #18822]
13899         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13900         (__sched_getaffinity_new): Add libc_hidden_proto and
13901         libc_hidden_def.
13903 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13905         [BZ #19007]
13906         * scripts/localplt.awk: Also allow GOT references.
13907         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13908         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13909         with "+ REL R_386_GLOB_DAT".
13910         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13911         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13913 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13915         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13916         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13917         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13918         Likewise.
13919         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13920         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13921         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13922         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13923         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13924         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13925         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13926         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13927         Likewise.
13928         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13930 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13932         [BZ #19125]
13933         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13934         <math_private.h> and <stdint.h>.
13935         (__llround): Avoid conversions to and from long long int, and
13936         subtractions, where those might raise spurious exceptions.
13937         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13938         <math_private.h> and <stdint.h>.
13939         (__llroundf): Avoid conversions to and from long long int, and
13940         subtractions, where those might raise spurious exceptions.
13942 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13944         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13945         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13946         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13947         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13948         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13949         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13950         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13951         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13952         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13953         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13954         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13955         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13956         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13957         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13958         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13959         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13960         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13961         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13962         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13963         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13964         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13965         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13966         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13967         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13968         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13969         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13970         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13971         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13972         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13973         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13974         (__xstat64_conv): Likewise.
13975         (__xstat32_conv): Likewise.
13977 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13979         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13980         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13981         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13982         <sysdeps/unix/sysv/linux/sysdep.h>.
13983         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13984         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13985         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13986         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13987         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13988         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13989         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13990         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13991         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13995         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13996         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13997         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13999         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14000         (sysdep-dl-routines): Add sysdep.
14001         [$(subdir) == nptl] (libpthread-routines): Likewise.
14002         [$(subdir) == rt] (librt-routines): Likewise.
14003         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14004         PIC when branching to SYSCALL_ERROR_LABEL.
14005         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14007         <sysdeps/unix/sysv/linux/sysdep.h>.
14008         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14009         (SYSCALL_ERROR_ERRNO): Removed.
14010         (SYSCALL_ERROR_HANDLER): Changed to empty.
14011         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14012         (__syscall_error): New prototype.
14013         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14014         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14016 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14018         [BZ #19124]
14019         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14020         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14021         _dl_runtime_resolve_avx.
14022         (_dl_runtime_profile_avx512): Make it a hidden alias of
14023         _dl_runtime_profile_avx.
14025 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14027         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14028         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14029         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14030         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14032         [BZ #16422]
14033         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14034         New configure test.
14035         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14036         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14037         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14038         <math_private.h> and <stdint.h>.
14039         (__llrint): Avoid conversions to long long int where those might
14040         raise spurious exceptions.
14041         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14042         <math_private.h> and <stdint.h>.
14043         (__llrintf): Avoid conversions to long long int where those might
14044         raise spurious exceptions.
14046 2015-10-12  Andreas Schwab  <schwab@suse.de>
14048         [BZ #18969]
14049         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14050         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14051         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14052         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14053         $(gen-locales).
14054         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14055         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14056         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14057         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14058         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14059         $(gen-locales).
14060         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14061         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14062         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14063         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14064         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14065         ($(objpfx)tst-ftell-active-handler.out)
14066         ($(objpfx)tst-ftell-append.out)
14067         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14068         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14069         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14070         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14071         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14072         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14073         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14074         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14075         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14076         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14077         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14078         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14079         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14080         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14081         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14082         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14083         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14084         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14085         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14086         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14087         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14088         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14089         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14090         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14091         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14092         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14093         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14094         $(gen-locales).
14095         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14096         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14097         $(gen-locales).
14098         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14099         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14100         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14101         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14102         $(gen-locales).
14103         * libio/tst_wprintf2.c (main): Use explicit locale.
14104         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14106 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14108         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14109         __msg_sig_post.
14110         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14112 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14114         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14115         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14117         * sysdeps/arm/libm-test-ulps: Regenerated.
14119         [BZ #15470]
14120         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14122         [BZ #16399]
14123         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14124         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14125         and <fix-fp-int-convert-overflow.h>.
14126         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14127         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14128         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14129         and <fix-fp-int-convert-overflow.h>.
14130         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14131         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14132         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14133         <fix-fp-int-convert-overflow.h>.
14134         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14135         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14136         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14137         <fix-fp-int-convert-overflow.h>.
14138         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14139         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14140         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14141         and <fix-fp-int-convert-overflow.h>.
14142         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14143         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14144         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14145         <limits.h> and <fix-fp-int-convert-overflow.h>.
14146         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14147         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14148         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14149         and <fix-fp-int-convert-overflow.h>.
14150         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14151         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14152         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14153         and <fix-fp-int-convert-overflow.h>.
14154         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14155         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14156         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14158 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14160         [BZ #18589]
14161         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14162         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14163         $(gen-locales).
14165 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14166             Phil Blundell <pb@pbcl.net>
14168         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14169         * nptl/tst-cancel26.c: New file.
14170         * nptl/tst-cancel27.c: Likewise.
14172 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14174         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14175         __ILP32__ isn't defined.
14176         (lrint): Likewise.
14177         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14178         (lrintf): Likewise.
14179         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14180         (lrintl): Likewise.
14181         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14182         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14183         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14185 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14187         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14188         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14190         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14191         file.
14192         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14193         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14195 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14197         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14198         configure test.
14199         * sysdeps/i386/configure: Regenerated.
14200         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14201         configure test.
14202         * sysdeps/x86_64/configure: Regenerated.
14203         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14204         Make code unconditional.
14206         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14207         test.
14208         * sysdeps/i386/configure: Regenerated.
14209         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14210         test.
14211         * sysdeps/x86_64/configure: Regenerated.
14212         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14213         Make code unconditional.
14214         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14215         Likewise.
14216         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14217         Likewise.
14218         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14219         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14220         code unconditional.
14221         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14222         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14223         code unconditional.
14224         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14225         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14226         code unconditional.
14227         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14228         code unconditional.
14229         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14230         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14231         code unconditional.
14232         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14233         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14234         code unconditional.
14235         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14236         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14237         code unconditional.
14238         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14239         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14240         code unconditional.
14241         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14242         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14244         [BZ #19095]
14245         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14246         mantissa to long int before shifting left.
14248 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14250         [BZ #19094]
14251         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14252         <limits.h>.
14253         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14254         when result overflows but exception would not result from cast.
14255         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14256         <limits.h>.
14257         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14258         when result overflows but exception would not result from cast.
14259         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14260         <limits.h>.
14261         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14262         when result overflows but exception would not result from cast.
14263         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14264         <limits.h>.
14265         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14266         when result overflows but exception would not result from cast.
14267         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14268         <limits.h>.
14269         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14270         when result overflows but exception would not result from cast.
14271         * math/libm-test.inc (lrint_test_data): Add more tests.
14272         (llrint_test_data): Likewise.
14274 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14276         [BZ #18872]
14277         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14278         Move out from under [$(run-built-tests) = yes] conditional.
14279         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14280         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14282 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14284         [BZ #18589]
14285         * string/Makefile (tests): Add bug-strcoll2.
14286         (LOCALES): Add cs_CZ.UTF-8.
14287         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14289         [BZ #18589]
14290         * string/bug-strcoll2.c: New file.
14291         * locale/categories.def: Revert commit
14292         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14293         * locale/langinfo.h: Likewise.
14294         * locale/localeinfo.h: Likewise.
14295         * locale/C-collate.c: Likewise.
14296         * locale/programs/ld-collate.c (collate_output): Likewise.
14297         * string/strcoll_l.c (STRDIFF): Likewise.
14298         (STRCOLL): Likewise.
14299         * wcsmbs/wcscoll_l.c: Likewise.
14301 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14303         * math/libm-test.inc (lround_test_data): Do not expect the absence
14304         of "inexact" for some tests with non-integer arguments.
14305         (llround_test_data): Likewise.
14307         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14308         test.
14309         (libc_cv_cc_sse2avx): Likewise.
14310         * sysdeps/i386/configure: Regenerated.
14311         * sysdeps/i386/i686/multiarch/Makefile
14312         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14313         [$(subdir) = math].
14314         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14315         code unconditional.
14316         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14317         Likewise.
14318         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14319         Likewise.
14320         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14321         Likewise.
14322         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14323         test.
14324         (libc_cv_cc_sse2avx): Likewise.
14325         * sysdeps/x86_64/configure: Regenerated.
14326         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14327         unconditional.
14328         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14329         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14330         unconditional.
14331         (_dl_runtime_profile)
14332         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14333         conditional code.
14334         * sysdeps/x86_64/fpu/multiarch/Makefile
14335         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14336         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14337         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14338         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14339         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14340         * sysdeps/x86_64/fpu/multiarch/e_log.c
14341         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14342         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14343         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14344         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14345         Likewise.
14346         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14347         Likewise.
14348         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14349         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14350         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14351         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14352         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14353         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14354         (HAVE_SSE2AVX_SUPPORT): Likewise.
14356 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14358         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14359         instead of #pragma optimize.
14361 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14363         [BZ #17195]
14364         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14365         as is similarly done in systrim and _int_free already.
14367 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14369         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14371 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14373         [BZ #19088]
14374         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14375         <limits.h>.
14376         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14377         overflows but exception would not result from cast.
14378         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14379         and <limits.h>.
14380         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14381         overflows but exception would not result from cast.
14382         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14383         <limits.h>.
14384         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14385         overflows but exception would not result from cast.
14386         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14387         <limits.h>.
14388         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14389         overflows but exception would not result from cast.
14390         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14391         <limits.h>.
14392         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14393         overflows but exception would not result from cast.
14394         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14395         <limits.h>.
14396         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14397         overflows but exception would not result from cast.
14398         * math/libm-test.inc (lround_test_data): Add more tests.
14399         (llround_test_data): Likewise.
14401 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14403         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14404         (CFLAGS-ialloc.c): Ditto.
14405         (CFLAGS-scheck.c): Ditto.
14407 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14409         [BZ #19086]
14410         * manual/filesys.texi (Storage Allocation): Fix argument order for
14411         posix_fallocate64.
14413 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14415         [BZ #19085]
14416         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14417         exponent below 48 inside case for non-overflowing exponent.
14418         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14420 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14422         * iconvdata/cp737.h (from_idx): Add const.
14423         * iconvdata/cp775.h (from_idx): Likewise.
14425 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14427         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14428         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14429         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14431         [BZ #19079]
14432         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14433         file, conditioned on [!_LP64].
14434         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14435         [!_LP64] (__lround): Do not define as function or alias.
14436         [!_LP64] (lround): Likewise.
14437         [!_LP64] (__lroundl): Likewise.
14438         [!_LP64] (lroundl): Likewise.
14439         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14440         macro.
14441         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14442         Likewise.
14444 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14446         * math/libm-test.inc (lrint_test_data): Add more tests.
14447         (llrint_test_data): Likewise.
14448         (lround_test_data): Likewise.
14449         (llround_test_data): Likewise.
14451         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14452         (llrint_test_data): Add tests used for lrint.
14454         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14455         test.
14456         * sysdeps/i386/configure: Regenerated.
14457         * sysdeps/i386/i686/multiarch/Makefile
14458         [$(config-cflags-sse4) = yes]: Make code unconditional.
14459         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14460         Likewise.
14461         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14462         Likewise.
14463         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14464         test.
14465         * sysdeps/x86_64/configure: Regenerated.
14466         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14467         Make code unconditional.
14468         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14469         Likewise.
14470         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14471         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14473         * scripts/rpm2dynsym.sh: Remove file.
14475 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14477         * configure.ac (libc_cv_cxx_thread_local): Define.
14478         * configure: Regenerate.
14479         * config.make.in (have-cxx-thread_local): Define.
14480         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14481         (LDLIBS-tst-thread_local1): Define.
14482         (tests): Add tst-thread_local1.
14483         [have-cxx-thread_local != yes] (tests-unsupported): Add
14484         tst-thread_local1.
14485         * nptl/tst-thread_local1.cc: New file.
14487 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14489         [BZ #19078]
14490         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14491         (u_thres): Likewise.
14492         (__expl): Determine whether to call __kernel_standard_l based on
14493         value of result, not argument.
14495         * math/libm-test.inc (scalb_test_data): Add more expectations for
14496         the "inexact" exception.
14498         [BZ #19077]
14499         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14500         0.0L for argument 1.0L.
14502         [BZ #19076]
14503         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14504         constant 0.0L when computing infinite result.
14506 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14508         [BZ #10432]
14509         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14510         malloc_usable_size.
14512 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14514         [BZ #19018]
14515         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14516         Mangle function pointer before storing it.
14517         (__call_tls_dtors): Demangle function pointer before calling it.
14519 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14521         [BZ #19012]
14522         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14523         Clean up on failure.
14525 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14527         [BZ #19071]
14528         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14529         long int variable to store possibly incremented high part of
14530         mantissa.
14531         * math/libm-test.inc (lround_test_data): Add tests used for
14532         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14533         for tests requiring 64-bit long.  Do not condition tests on
14534         [TEST_FLOAT] unnecessarily.
14535         (llround_test_data): Add tests used for lround.  Add another
14536         expectation for the "inexact" exception.  Do not condition tests
14537         on [TEST_FLOAT] unnecessarily.
14539         [BZ #887]
14540         [BZ #19049]
14541         [BZ #19050]
14542         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14543         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14544         <fix-int-fp-convert-zero.h>.
14545         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14546         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14547         <fix-int-fp-convert-zero.h>.
14548         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14549         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14550         <fix-int-fp-convert-zero.h>.
14551         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14552         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14553         <fix-int-fp-convert-zero.h>.
14554         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14555         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14556         <fix-int-fp-convert-zero.h>.
14557         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14558         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14559         <fix-int-fp-convert-zero.h>.
14560         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14561         * sysdeps/ieee754/flt-32/s_erff.c: Include
14562         <fix-int-fp-convert-zero.h>.
14563         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14564         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14565         <fix-int-fp-convert-zero.h>.
14566         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14567         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14568         <fix-int-fp-convert-zero.h>.
14569         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14571         <fix-int-fp-convert-zero.h>.
14572         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14573         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14574         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14575         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14576         file.
14577         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14579 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14583 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14585         [BZ #19059]
14586         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14587         overflowing computation.
14588         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14589         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14591         Likewise.
14592         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14593         Likewise.
14594         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14595         Likewise.
14596         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14597         Likewise.
14598         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14599         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14600         Likewise.
14601         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14602         Likewise.
14603         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14605         * nss/rewrite_field.c (__nss_rewrite_field): Use
14606         internal_function.
14607         * nss/valid_field.c (__nss_valid_field): Likewise.
14608         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14610 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14612         [BZ #18724]
14613         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14614         (__nss_invalid_field_characters, __nss_valid_field)
14615         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14616         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14617         tst-field.c: New file.
14618         * nss/Makefile (routines): Add valid_field, rewrite_field.
14619         (tests-static): Define unconditionally.
14620         (tests): Include tests-static.
14621         [build-static-nss] (tests-static): Use append.
14622         [build-static-nss] (tests): Remove modification.
14623         * nss/getent.c (print_group): Call putgrent.  Report error.
14624         (print_gshadow): Call putsgent.  Report error.
14625         (print_passwd): Call putpwent.  Report error.
14626         (print_shadow): Call putspent.  Report error.
14627         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14628         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14629         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14630         name, password, directory, shell fields for valid syntax.  Rewrite
14631         GECOS field to match syntax.
14632         * pwd/Makefile (tests): Add tst-putpwent.
14633         * pwd/tst-putpwent.c: New file.
14634         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14635         Check grName, grpasswd, gr_mem fields for valid syntax.
14636         Change loop variable i to size_t.
14637         * grp/Makefile (tests): Add tst-putgrent.
14638         * grp/tst-putgrent.c: New file.
14639         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14640         valid syntax.
14641         * shadow/Makefile (tests): Add tst-putspent.
14642         * shadow/tst-putspent.c: New file.
14643         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14644         sg_mem fields for valid syntax.
14645         * gshadow/Makefile (tests): Add tst-putsgent.
14646         * gshadow/tst-putsgent.c: New file.
14648 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14650         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14651         assembly instructions.
14653 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14655         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14656         prefix from operands.
14658 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14660         [BZ #16347]
14661         [BZ #19046]
14662         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14663         <libc-internal.h>.
14664         (MAXLGM): Do not use diagnostic control macros.
14665         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14666         threshold for ldbl-128ibm.
14667         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14668         instead of multiplying by log then subtracting.
14669         * math/auto-libm-test-in: Add more tests of lgamma.
14670         * math/auto-libm-test-out: Regenerated.
14672         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14673         (TYPE_HEX_DIG): Likewise.
14674         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14675         precisions when printing floating-point numbers.
14676         (check_float_internal): Likewise.
14678 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14680         [BZ #16620]
14681         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14682         of log (10) rounded downward to 48 bits.
14683         (log10_low): Use corresponding low part of log (10).
14685         [BZ #19032]
14686         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14687         compute result as (x - x) / (x - x) not as 0 / 0.
14688         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14689         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14691         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14692         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14693         and expm1.
14694         * math/auto-libm-test-out: Regenerated.
14695         * math/libm-test.inc (acos_test_data): Add more tests.
14696         (asin_test_data): Likewise.
14697         (asinh_test_data): Likewise.
14698         (atan_test_data): Likewise.
14699         (atanh_test_data): Likewise.
14700         (atan2_test_data): Likewise.
14701         (cbrt_test_data): Likewise.
14702         (ceil_test_data): Likewise.
14703         (copysign_test_data): Likewise.
14704         (cos_test_data): Likewise.
14705         (cosh_test_data): Likewise.
14706         (erf_test_data): Likewise.
14707         (erfc_test_data): Likewise.
14708         (exp_test_data): Likewise.
14709         (exp10_test_data): Likewise.
14710         (exp2_test_data): Likewise.
14711         (expm1_test_data): Likewise.
14712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14714 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14716         [BZ #19006]
14717         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14718         to ...
14719         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14720         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14721         to ...
14722         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14723         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14724         to ...
14725         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14726         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14727         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14728         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14729         to ...
14730         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14731         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14732         Moved to ...
14733         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14734         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14735         Moved to ...
14736         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14737         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14738         to ...
14739         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14740         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14741         Moved to ...
14742         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14743         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14744         to ...
14745         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14746         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14747         Removed.
14748         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14749         Likewise.
14750         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14751         Likewise.
14752         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14753         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14754         Likewise.
14755         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14756         Likewise.
14757         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14758         Likewise.
14759         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14760         Likewise.
14761         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14762         Likewise.
14763         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14764         Likewise.
14765         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14766         Likewise.
14767         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14768         Likewise.
14769         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14770         Likewise.
14771         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14772         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14773         Likewise.
14774         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14775         Likewise.
14776         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14777         Likewise.
14778         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14779         Likewise.
14780         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14781         Likewise.
14782         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14783         Replace ../i486/pthread_cond_timedwait.S with
14784         ../pthread_cond_timedwait.S.
14786 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14788         * math/libm-test.inc (acos_test_data): Refine expectations for
14789         errno and "inexact" exceptions.
14790         (acosh_test_data): Likewise.
14791         (asin_test_data): Likewise.
14792         (asinh_test_data): Likewise.
14793         (atan_test_data): Likewise.
14794         (atanh_test_data): Likewise.
14795         (atan2_test_data): Likewise.
14796         (cbrt_test_data): Likewise.
14797         (ceil_test_data): Likewise.
14798         (copysign_test_data): Likewise.
14799         (cosh_test_data): Likewise.
14800         (erf_test_data): Likewise.
14801         (erfc_test_data): Likewise.
14802         (exp_test_data): Likewise.
14803         (exp10_test_data): Likewise.
14804         (exp2_test_data): Likewise.
14805         (expm1_test_data): Likewise.
14806         (fabs_test_data): Likewise.
14807         (floor_test_data): Likewise.
14808         (fma_test_data): Likewise.
14809         (fmax_test_data): Likewise.
14810         (fmin_test_data): Likewise.
14811         (fmod_test_data): Likewise.
14812         (fpclassify_test_data): Likewise.
14813         (frexp_test_data): Likewise.
14814         (hypot_test_data): Likewise.
14815         (ilogb_test_data): Likewise.
14816         (isgreater_test_data): Likewise.
14817         (isgreaterequal_test_data): Likewise.
14818         (isinf_test_data): Likewise.
14819         (isless_test_data): Likewise.
14820         (islessequal_test_data): Likewise.
14821         (islessgreater_test_data): Likewise.
14822         (isnan_test_data): Likewise.
14823         (isnormal_test_data): Likewise.
14824         (issignaling_test_data): Likewise.
14825         (isunordered_test_data): Likewise.
14826         (j0_test_data): Likewise.
14827         (j1_test_data): Likewise.
14828         (jn_test_data): Likewise.
14829         (lgamma_test_data): Likewise.
14830         (lrint_test_data): Likewise.
14831         (llrint_test_data): Likewise.
14832         (log_test_data): Likewise.
14833         (log10_test_data): Likewise.
14834         (log1p_test_data): Likewise.
14835         (log2_test_data): Likewise.
14836         (logb_test_data): Likewise.
14837         (lround_test_data): Likewise.
14838         (llround_test_data): Likewise.
14839         (modf_test_data): Likewise.
14840         (nearbyint_test_data): Likewise.
14841         (nextafter_test_data): Likewise.
14842         (nexttoward_test_data): Likewise.
14843         (pow_test_data): Likewise.
14844         (remainder_test_data): Likewise.
14845         (remquo_test_data): Likewise.
14846         (rint_test_data): Likewise.
14847         (round_test_data): Likewise.
14848         (signbit_test_data): Likewise.
14849         (sinh_test_data): Likewise.
14850         (sqrt_test_data): Likewise.
14851         (tanh_test_data): Likewise.
14852         (tgamma_test_data): Likewise.
14853         (trunc_test_data): Likewise.
14854         (y0_test_data): Likewise.
14855         (y1_test_data): Likewise.
14856         (yn_test_data): Likewise.
14857         (significand_test_data): Likewise.
14859 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14861         * manual/filesys.texi (Storage Allocation): Document that
14862         posix_fallocate emulation fails when fd is open with O_WRONLY.
14864 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14866         [BZ #19016]
14867         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14868         allow more cases with X^2 + Y^2 >= 0.5.
14869         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14870         normal element in sum instead of special-casing based on values of
14871         arguments.
14872         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14873         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14874         -1 as normal element in sum instead of special-casing based on
14875         values of arguments.
14876         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14877         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14878         (__x2y2m1): Update comment.
14879         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14880         as normal element in sum instead of special-casing based on values
14881         of arguments.
14882         * math/s_clog.c (__clog): Handle more cases using log1p without
14883         hypot.
14884         * math/s_clog10.c (__clog10): Likewise.
14885         * math/s_clog10f.c (__clog10f): Likewise.
14886         * math/s_clog10l.c (__clog10l): Likewise.
14887         * math/s_clogf.c (__clogf): Likewise.
14888         * math/s_clogl.c (__clogl): Likewise.
14889         * math/auto-libm-test-in: Add more tests of clog and clog10.
14890         * math/auto-libm-test-out: Regenerated.
14891         * sysdeps/i386/fpu/libm-test-ulps: Update.
14892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14894 2015-09-28  Martin Sebor  <msebor@redhat.com>
14896         [BZ #18969]
14897         * string/Makefile (LOCALES): Define.
14898         (gen-locales.mk): Include.
14899         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14900         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14901         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14902         on setlocale failure.
14904 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14906         [BZ #18985]
14907         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14908         (__strftime_internal): Likewise.
14909         * time/tst-strftime.c (do_bz18985): New test.
14910         (do_test): Call it.
14912 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14914         [BZ #18956]
14915         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14916         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14917         extracting high part.
14918         * math/auto-libm-test-in: Add another test of pow.
14919         * math/auto-libm-test-out: Regenerated.
14920         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14922 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14924         [BZ #18825]
14925         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14926         New macro.
14927         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14928         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14929         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14930         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14931         DBL_NARROW_EVAL, reloading the PIC register as needed.
14932         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14933         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14934         FLT_NARROW_EVAL.  Use separate return path for case when first
14935         argument is NaN.
14936         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14937         DEFINE_LDBL_MIN.
14938         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14939         PIC register.
14940         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14941         math_check_force_underflow_nonneg.
14942         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14943         underflow for subnormal result.
14944         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14946         math_check_force_underflow_nonneg.
14947         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14948         math_check_force_underflow.
14949         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14950         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14951         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14952         DEFINE_LDBL_MIN.
14953         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14954         * math/auto-libm-test-in: Add more tests of pow.
14955         * math/auto-libm-test-out: Regenerated.
14957 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14959         * nss/bug17079.c (init_test_items): Add diagnostic for
14960         inconsistent entries.
14961         (test_buffer_size): Skip inconsistent entries.
14963 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14965         [BZ #13304]
14966         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14967         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14968         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14970         [BZ #13304]
14971         * sysdeps/microblaze/s_fma.c: New file.
14972         * sysdeps/microblaze/s_fmaf.c: Likewise.
14973         * sysdeps/microblaze/sfp-machine.h: Likewise.
14975 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14977         [BZ #17250]
14978         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14979         member.
14981 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14983         [BZ #18803]
14984         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14985         (MO): New macro.
14986         (__ieee754_hypot) [PIC]: Load PIC register.
14987         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14988         DBL_NARROW_EVAL.
14989         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14990         math_check_force_underflow_nonneg in case where result might be
14991         tiny.
14992         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14993         Likewise.
14994         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14995         Likewise.
14996         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14997         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14998         * math/auto-libm-test-in: Add more tests of hypot.
14999         * math/auto-libm-test-out: Regenerated.
15001 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15003         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15005 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15007         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15008         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15009         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15010         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15011         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15012         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15013         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15015         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15016         LOAD_PIC_REG.
15018         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15019         (FLT_CHECK_FORCE_UFLOW): Likewise.
15020         (DBL_CHECK_FORCE_UFLOW): Likewise.
15021         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15022         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15023         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15024         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15025         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15026         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15027         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15028         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15029         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15030         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15031         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15032         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15033         (flt_min): Replace with use of DEFINE_FLT_MIN.
15034         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15035         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15036         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15037         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15038         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15039         (flt_min): Replace with use of DEFINE_FLT_MIN.
15040         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15041         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15042         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15043         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15044         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15045         (flt_min): Replace with use of DEFINE_FLT_MIN.
15046         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15047         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15048         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15049         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15050         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15051         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15052         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15053         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15054         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15055         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15056         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15057         (flt_min): Replace with use of DEFINE_FLT_MIN.
15058         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15059         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15060         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15061         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15062         main computation.
15063         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15064         (flt_min): Replace with use of DEFINE_FLT_MIN.
15065         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15066         main computation.
15067         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15068         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15069         (MO): New macro.
15070         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15071         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15072         (flt_min): Replace with use of DEFINE_FLT_MIN.
15073         (MO): New macro.
15074         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15075         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15076         (__log1pl): Use MO.
15078         [BZ #19003]
15079         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15080         $(config-cflags-nofma).
15082 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15084         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15086 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15088         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15089         (TWO127): Likewise.
15091         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15092         (min_of_type): Likewise.
15093         (math_check_force_underflow): Likewise.
15094         (math_check_force_underflow_nonneg): Likewise.
15095         (math_check_force_underflow_complex): Likewise.
15096         * math/e_exp2l.c (__ieee754_exp2l): Use
15097         math_check_force_underflow_nonneg.
15098         * math/k_casinh.c (__kernel_casinh): Likewise.
15099         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15100         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15101         * math/s_catan.c (__catan): Use
15102         math_check_force_underflow_complex.
15103         * math/s_catanf.c (__catanf): Likewise.
15104         * math/s_catanh.c (__catanh): Likewise.
15105         * math/s_catanhf.c (__catanhf): Likewise.
15106         * math/s_catanhl.c (__catanhl): Likewise.
15107         * math/s_catanl.c (__catanl): Likewise.
15108         * math/s_ccosh.c (__ccosh): Likewise.
15109         * math/s_ccoshf.c (__ccoshf): Likewise.
15110         * math/s_ccoshl.c (__ccoshl): Likewise.
15111         * math/s_cexp.c (__cexp): Likewise.
15112         * math/s_cexpf.c (__cexpf): Likewise.
15113         * math/s_cexpl.c (__cexpl): Likewise.
15114         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15115         * math/s_clog10.c (__clog10): Likewise.
15116         * math/s_clog10f.c (__clog10f): Likewise.
15117         * math/s_clog10l.c (__clog10l): Likewise.
15118         * math/s_clogf.c (__clogf): Likewise.
15119         * math/s_clogl.c (__clogl): Likewise.
15120         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15121         * math/s_csinf.c (__csinf): Likewise.
15122         * math/s_csinh.c (__csinh): Likewise.
15123         * math/s_csinhf.c (__csinhf): Likewise.
15124         * math/s_csinhl.c (__csinhl): Likewise.
15125         * math/s_csinl.c (__csinl): Likewise.
15126         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15127         * math/s_csqrtf.c (__csqrtf): Likewise.
15128         * math/s_csqrtl.c (__csqrtl): Likewise.
15129         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15130         * math/s_ctanf.c (__ctanf): Likewise.
15131         * math/s_ctanh.c (__ctanh): Likewise.
15132         * math/s_ctanhf.c (__ctanhf): Likewise.
15133         * math/s_ctanhl.c (__ctanhl): Likewise.
15134         * math/s_ctanl.c (__ctanl): Likewise.
15135         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15136         instead of volatile.
15137         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15138         math_check_force_underflow.
15139         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15140         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15141         volatile when forcing underflow.
15142         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15143         math_check_force_underflow_nonneg.
15144         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15145         Likewise.
15146         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15147         math_check_force_underflow.
15148         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15149         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15150         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15151         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15152         math_check_force_underflow_nonneg.
15153         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15154         math_check_force_underflow.
15155         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15157         instead of volatile.
15158         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15159         math_check_force_underflow.
15160         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15161         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15162         math_check_force_underflow_nonneg.
15163         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15164         math_check_force_underflow.
15165         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15166         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15167         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15168         math_check_force_underflow_nonneg.
15169         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15170         Likewise.
15171         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15172         math_check_force_underflow.
15173         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15174         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15175         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15176         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15177         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15178         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15179         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15180         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15181         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15182         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15183         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15184         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15185         Likewise.
15186         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15187         math_check_force_underflow_nonneg.
15188         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15189         Likewise.
15190         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15191         math_check_force_underflow.
15192         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15193         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15194         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15195         Likewise.
15196         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15197         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15198         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15199         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15200         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15201         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15203         instead of volatile.
15204         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15205         math_check_force_underflow.
15206         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15207         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15208         math_check_force_underflow.
15209         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15210         Likewise.
15211         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15212         Use math_check_force_underflow_nonneg.
15213         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15214         math_check_force_underflow.
15215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15216         Likewise.
15217         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15218         Likewise.
15219         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15220         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15221         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15222         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15223         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15224         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15225         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15226         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15227         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15228         math_check_force_underflow_nonneg.
15229         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15230         math_check_force_underflow.
15231         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15232         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15233         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15234         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15235         math_check_force_underflow_nonneg.
15236         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15237         math_check_force_underflow.
15238         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15239         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15240         instead of volatile.
15241         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15242         math_check_force_underflow.
15244         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15245         * stdlib/strtod_l.c: Include <math_private.h>.
15246         (overflow_value): Use math_narrow_eval.
15247         (underflow_value): Likewise.
15248         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15249         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15250         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15251         (__ieee754_gamma_r): Likewise.
15252         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15253         Likewise.
15254         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15255         Likewise.
15256         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15257         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15258         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15259         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15260         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15261         (__ieee754_gammaf_r): Likewise.
15262         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15263         Likewise.
15264         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15265         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15266         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15267         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15268         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15269         volatile.
15270         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15271         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15272         math_narrow_eval.
15273         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15274         Likewise.
15275         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15276         Likewise.
15277         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15278         Likewise.
15279         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15280         volatile.
15281         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15282         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15283         math_narrow_eval.
15284         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15285         Likewise.
15286         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15287         Likewise.
15289 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15291         * nptl/Versions: Remove ignored symbols.
15293 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15295         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15296         * nss/Makefile (tests): Update.
15298 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15300         * nss/bug18287.c: New file.
15301         * nss/Makefile (tests): Add bug18287.
15303 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15305         * mach/Versions (__mach_host_self_): Add symbol.
15307 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15309         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15310         vm_page_size.
15312 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15314         Really fix sysdeps/i386/fpu/s_scalbn.S build
15316         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15317         (libc: GLIBC_2_22): Remove unused version set.
15319 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15321         * config.make.in (enable-timezone-tools): New variable.
15322         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15323         (enable_timezone_tools): Export to generated files.
15324         * configure: Regenerate.
15325         * INSTALL: Regenerate.
15326         * manual/install.texi (--disable-timezone-tools): Document new flag.
15327         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15328         ifeq ($(enable-timezone-tools),yes) check.
15330 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15332         * timezone/Makefile: Revert previous change.
15334         [BZ #18980]
15335         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15336         (DEFINE_DBL_MIN): Likewise.
15337         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15338         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15339         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15340         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15341         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15342         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15343         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15344         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15345         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15346         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15347         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15348         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15349         (flt_min): Replace with use of DEFINE_FLT_MIN.
15350         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15351         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15352         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15353         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15354         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15355         (flt_min): Replace with use of DEFINE_FLT_MIN.
15356         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15357         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15358         (flt_min): Replace with use of DEFINE_FLT_MIN.
15359         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15360         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15361         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15362         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15363         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15364         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15365         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15366         (__ieee754_pow): Use DBL_NARROW_EVAL.
15367         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15368         (__ieee754_powf): Use FLT_NARROW_EVAL.
15369         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15370         (__ieee754_expf_sse2): Convert double-precision result to single
15371         precision.
15372         * sysdeps/i386/fpu/libm-test-ulps: Update.
15374 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15376         * timezone/Makefile: Ignore unused variable errors due to private.h
15377         (time_t_min) and (time_t_max).
15378         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15379         Likewise.
15381 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15383         [BZ #18981]
15384         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15385         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15386         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15387         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15388         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15389         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15390         (__scalbn): Use DBL_NARROW_EVAL.
15391         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15392         (__scalbnf): Use FLT_NARROW_EVAL.
15394 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15396         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15397         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15398         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15399         * stdio-common/printf_fp.c (___printf_fp):
15400         Use signbit to get the sign. Use isinf macro to allow inlining.
15401         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15402         * stdio-common/printf_size.c (__printf_size): Likewise.
15404 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15406         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15408 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15410         [BZ #18980]
15411         * sysdeps/generic/math_private.h: Include <float.h>.
15412         (math_narrow_eval): New macro.
15413         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15414         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15415         math_narrow_eval on overflowing return value.
15416         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15417         Likewise.
15418         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15419         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15420         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15421         Likewise.
15422         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15424 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15426         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15427         * math/Makefile: Remove isinf_ns.c.
15428         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15429         * math/multc3.c (__multc3): Likewise.
15430         * math/s_casin.c (__casin): Likewise.
15431         * math/s_casinf.c (__casinf): Likewise.
15432         * math/s_casinl.c (__casinl): Likewise.
15433         * math/s_cproj.c (__cproj): Likewise.
15434         * math/s_cprojf.c (__cprojf): Likewise.
15435         * math/s_cprojl.c (__cprofl): Likewise.
15436         * math/s_ctan.c (__ctan): Likewise.
15437         * math/s_ctanf.c (__ctanf): Likewise.
15438         * math/s_ctanh.c (__ctanh): Likewise.
15439         * math/s_ctanhf.c (__ctanhf): Likewise.
15440         * math/s_ctanhl.c (__ctanhl): Likewise.
15441         * math/s_ctanl.c (__ctanl): Likewise.
15442         * math/w_fmod.c (__fmod): Likewise.
15443         * math/w_fmodf.c (__fmodf): Likewise.
15444         * math/w_fmodl.c (_fmodl): Likewise.
15445         * math/w_remainder.c (__remainder): Likewise.
15446         * math/w_remainderf.c (__remainderf): Likewise.
15447         * math/w_remainderl.c (__remainderl): Likewise.
15448         * math/w_scalb.c (__scalb): Likewise.
15449         * math/w_scalbf.c (__scalbf): Likewise.
15450         * math/w_scalbl.c (__scalbl): Likewise.
15451         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15452         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15453         with isinf.
15454         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15456         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15457         __isinf_nsf with isinf.
15458         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15459         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15460         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15461         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15462         with isinf.
15463         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15464         __isinf_nsl with isinf.
15465         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15466         with isinf.
15467         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15468         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15469         __isinf_nsl with isinf.
15470         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15471         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15472         with isinf.
15474 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15476         * resolv/base64.c (rcsid): Remove unused static.
15477         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15478         static.  (tqpi1): Likewise.
15479         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15480         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15481         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15482         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15484         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15485         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15486         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15487         Likewise.
15489 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15491         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15492         <nptl/pthreadP.h>.
15493         (_longjmp_unwind): Use __libc_ptf_call.
15494         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15496 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15498         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15499         * sysdeps/arm/__longjmp.S: Likewise.
15501 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15503         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15504         Use __builtin_signbit.
15505         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15506         Use __builtin_signbitf.
15507         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15508         Use __builtin_signbitl.
15509         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15510         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15512 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15514         [BZ #15367]
15515         [BZ #17441]
15517         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15518         * math/math.h (fpclassify): Use __builtin_fpclassify when
15519         available.  (signbit): Use __builtin_signbit(f/l).
15520         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15521         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15522         (isinf): Use __builtin_isinf_sign.
15524 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15526         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15527         * benchtests/bench-math-inlines.c: New benchmark.
15528         * benchtests/bench-util.h: New file.
15529         * benchtests/bench-util.c: New file.
15530         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15532 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15534         * elf/tst-dlmopen1.c: Define TEST_SO.
15535         (do_test): Use TEST_SO.
15537         * elf/dl-load.c: Include libc-internal.h.
15538         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15540 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15542         [BZ #17887]
15543         * time/strptime_l.c (__strptime_internal): Make %z accept
15544         [+-]HH:MM time zones.
15546 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15548         [BZ #17886]
15549         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15550         valid time zone.
15552 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15554         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15555         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15556         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15557         (__ASSUME_FDATASYNC): Delete.
15559 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15561         * conform/linknamespace.pl: Require weak undefined symbols to be
15562         in the standard namespace.
15563         (%strong_syms): Rename to %seen_syms.
15564         (%strong_seen): Rename to %seen_where.
15566 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15568         [BZ #18970]
15569         * misc/error.c (error): Replace pthread_setcancelstate with
15570         __pthread_setcancelstate.
15571         (error_at_line): Likewise.
15572         * posix/wordexp.c (parse_comm): Likewise.
15573         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15574         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15575         (__pthread_setcancelstate): This.
15576         (pthread_setcancelstate): Add an alias.
15577         * nptl/nptl-init.c (pthread_functions): Replace
15578         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15579         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15580         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15581         hidden_proto.
15582         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15583         it with hidden_def.
15584         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15585         (pthread_setcancelstate): Renamed to ...
15586         (__pthread_setcancelstate): This.
15587         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15588         __libc_ptf_call with __pthread_setcancelstate.
15590 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15591             Andreas Schwab  <schwab@suse.de>
15593         [BZ #17118]
15594         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15595         result when imaginary part of argument is infinite using sine and
15596         cosine.
15597         * math/s_ctanf.c (__ctanf): Likewise.
15598         * math/s_ctanl.c (__ctanl): Likewise.
15599         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15600         of result when real part of argument is infinite using sine and
15601         cosine.
15602         * math/s_ctanhf.c (__ctanhf): Likewise.
15603         * math/s_ctanhl.c (__ctanhl): Likewise.
15604         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15605         (ctanh_test_data): Add more tests of ctanh.
15607 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15609         [BZ #15384]
15610         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15611         bit-mask as in subtraction.
15612         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15613         Likewise.
15614         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15615         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15616         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15618         [BZ #18951]
15619         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15620         underflow exception for small results.
15621         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15622         Likewise.
15623         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15624         Likewise.
15625         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15626         Likewise.
15627         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15628         Likewise.
15629         * math/auto-libm-test-in: Add more tests of tgamma.
15630         * math/auto-libm-test-out: Regenerated.
15632 2015-09-17  Andreas Schwab  <schwab@suse.de>
15634         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15636 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15638         [BZ #18977]
15639         * math/bits/mathcalls.h
15640         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15641         not declare.
15642         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15643         Likewise.
15644         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15645         Likewise.
15646         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15647         Likewise.
15648         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15649         Likewise.
15650         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15651         Likewise.
15652         * conform/data/math.h-data
15653         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15654         function.
15655         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15656         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15657         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15658         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15659         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15660         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15661         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15662         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15663         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15664         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15665         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15667         [BZ #6803]
15668         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15669         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15670         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15671         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15672         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15673         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15674         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15675         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15676         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15678         Likewise.
15679         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15680         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15681         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15682         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15683         long_double_symbol calls.
15684         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15685         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15686         strong alias of __ldexpl.
15687         (scalbnl): Define using long_double_symbol.
15688         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15689         Remove alias.
15690         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15691         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15692         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15693         (scalbln_test_data): Add more errno expectations.
15695 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15697         Cache the host port like we cache the task port.  This way we do not
15698         need to call the kernel just to get the port.  Furthermore, we no
15699         longer increase the reference count on every invocation of
15700         `mach_host_self'.
15702         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15703         Protect declarations against the macro expansion.
15704         * mach/mach_init.c (__mach_host_self_): New variable.
15705         (mach_init): Initialize `__mach_host_self_'.
15706         * mach/mach_init.h (__mach_host_self_): New declaration.
15707         (__mach_host_self, mach_host_self): New macros.
15708         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15709         Release reference.
15711 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15713         [BZ #4404]
15714         * po/de.po: Update from Translation Project.
15716         [BZ #16415]
15717         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15718         (__expm1l): Remove code to handle positive infinity and overflow.
15719         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15720         variable.
15721         (__expm1l): Remove code to handle positive infinity and overflow.
15723 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15724             Paul Pluzhnikov  <ppluzhnikov@google.com>
15726         [BZ #18872]
15727         * stdio-common/Makefile (tst-printf-bz18872): New test.
15728         (tst-printf-bz18872-mem.out): Likewise.
15729         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15730         * stdio-common/vfprintf.c: Fix memory leaks.
15732 2015-09-16  Andreas Schwab  <schwab@suse.de>
15734         [BZ #17244]
15735         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15736         Remove extra va_start/va_end calls.
15738         [BZ #17243]
15739         * posix/execl.c (execl): Add missing va_end.
15740         * posix/execle.c (execle): Likewise.
15741         * posix/execlp.c (execlp): Likewise.
15743 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15745         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15746         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15748 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15750         [BZ #18967]
15751         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15752         undefine around includes of <bits/mathcalls.h>.
15753         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15754         not declare function.
15755         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15756         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15757         (scalb): Likewise.
15758         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15759         not define macro.
15760         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15761         variable.
15762         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15763         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15764         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15766         [BZ #18857]
15767         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15768         return non-finite argument without doing ordered comparisons on
15769         it.
15771         [BZ #16296]
15772         * math/fenv.h (fegetround): Use __attribute_pure__.
15773         * include/fenv.h (__fegetround): Likewise.
15775         [BZ #18595]
15776         * math/s_ctan.c (__ctan): Force underflow exception for results
15777         whose real or imaginary part has small absolute value.
15778         * math/s_ctanf.c (__ctanf): Likewise.
15779         * math/s_ctanh.c (__ctanh): Likewise.
15780         * math/s_ctanhf.c (__ctanhf): Likewise.
15781         * math/s_ctanhl.c (__ctanhl): Likewise.
15782         * math/s_ctanl.c (__ctanl): Likewise.
15783         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15784         and ctanh.  Add more tests of ctan and ctanh.
15786         [BZ #15918]
15787         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15788         handling of cases where one argument is an infinity.
15790         [BZ #18875]
15791         [BZ #18966]
15792         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15793         (MO): New macro.
15794         (__ieee754_exp10): For small results, force underflow exception
15795         and remove excess range and precision from return value.
15796         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15797         (MO): New macro.
15798         (__ieee754_exp10f): For small results, force underflow exception
15799         and remove excess range and precision from return value.
15800         * math/auto-libm-test-in: Add more tests of exp10.
15801         * math/auto-libm-test-out: Regenerated.
15803 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15805         [BZ #18875]
15806         [BZ #18961]
15807         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15808         (MO): New macro.
15809         (__ieee754_exp): For small results, force underflow exception and
15810         remove excess range and precision from return value.
15811         (__exp_finite): Likewise.
15812         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15813         (MO): New macro.
15814         (__ieee754_expf): For small results, force underflow exception and
15815         remove excess range and precision from return value.
15816         (__expf_finite): Likewise.
15817         * math/auto-libm-test-in: Add more tests of exp.
15818         * math/auto-libm-test-out: Regenerated.
15820         [BZ #16521]
15821         [BZ #18875]
15822         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15823         small results.
15824         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15825         (MO): New macro.
15826         (__ieee754_exp2): For small results, force underflow exception and
15827         remove excess range and precision from return value.
15828         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15829         (MO): New macro.
15830         (__ieee754_exp2f): For small results, force underflow exception
15831         and remove excess range and precision from return value.
15832         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15833         (MO): New macro.
15834         (__ieee754_exp2l): Force underflow exception for small results.
15835         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15836         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15837         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15838         (MO): New macro.
15839         (__ieee754_exp2l): Force underflow exception for small results.
15840         * math/auto-libm-test-in: Add more tests or exp2.
15841         * math/auto-libm-test-out: Regenerated.
15843 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15845         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15847         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15848         /dev/null.
15850 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15852         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15853         io fs process)): Drop spurious backslash.
15855 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15857         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15858         Use sysinfo system call instead of parsing /proc/meminfo.
15859         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15860         Likewise.
15862 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15864         [BZ #16985]
15865         * programs/localedef.c (main): Display argv[remaining] when
15866         output_path is NULL.
15868 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15870         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15871         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15872         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15873         tanh.
15874         * math/auto-libm-test-out: Regenerated.
15875         * sysdeps/i386/fpu/libm-test-ulps: Update.
15876         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15877         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15880 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15882         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15883         Use 'override' keyword to freeze the value here, preventing
15884         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15886 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15888         [BZ #14912]
15889         * sysdeps/aarch64/bits/atomic.h: Move to ...
15890         * sysdeps/aarch64/atomic-machine.h: ...here.
15891         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15892         _AARCH64_ATOMIC_MACHINE_H.
15893         * sysdeps/alpha/bits/atomic.h: Move to ...
15894         * sysdeps/alpha/atomic-machine.h: ...here.
15895         * sysdeps/arm/bits/atomic.h: Move to ...
15896         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15897         * bits/atomic.h: Move to ...
15898         * sysdeps/generic/atomic-machine.h: ...here.
15899         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15900         * sysdeps/i386/bits/atomic.h: Move to ...
15901         * sysdeps/i386/atomic-machine.h: ...here.
15902         * sysdeps/ia64/bits/atomic.h: Move to ...
15903         * sysdeps/ia64/atomic-machine.h: ...here.
15904         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15905         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15906         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15907         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15908         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15909         * sysdeps/microblaze/bits/atomic.h: Move to ...
15910         * sysdeps/microblaze/atomic-machine.h: ...here.
15911         * sysdeps/mips/bits/atomic.h: Move to ...
15912         * sysdeps/mips/atomic-machine.h: ...here.
15913         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15914         * sysdeps/powerpc/bits/atomic.h: Move to ...
15915         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15916         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15917         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15918         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15919         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15920         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15921         <atomic-machine.h> instead of <bits/atomic.h>.
15922         * sysdeps/s390/bits/atomic.h: Move to ...
15923         * sysdeps/s390/atomic-machine.h: ...here.
15924         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15925         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15926         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15927         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15928         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15929         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15930         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15931         * sysdeps/tile/bits/atomic.h: Move to ...
15932         * sysdeps/tile/atomic-machine.h: ...here.
15933         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15934         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15935         <sysdeps/tile/atomic-machine.h> instead of
15936         <sysdeps/tile/bits/atomic.h>.
15937         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15938         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15939         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15940         <sysdeps/tile/atomic-machine.h> instead of
15941         <sysdeps/tile/bits/atomic.h>.
15942         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15943         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15944         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15945         <sysdeps/arm/atomic-machine.h> instead of
15946         <sysdeps/arm/bits/atomic.h>.
15947         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15948         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15949         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15950         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15951         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15952         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15953         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15954         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15955         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15956         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15957         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15958         * sysdeps/x86_64/bits/atomic.h: Move to ...
15959         * sysdeps/x86_64/atomic-machine.h: ...here.
15960         * include/atomic.h: Include <atomic-machine.h> instead of
15961         <bits/atomic.h>.
15963         * sysdeps/mips/mips32/libm-test-ulps: Update.
15964         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15966         [BZ #18952]
15967         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15968         not convert non-integer negative arguments to int to determine the
15969         value of signgam.
15970         * math/auto-libm-test-in: Add more tests of lgamma.
15971         * math/auto-libm-test-out: Regenerated.
15973         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15974         cosh, csqrt, erfc, expm1 and lgamma.
15975         * math/auto-libm-test-out: Regenerated.
15976         * sysdeps/i386/fpu/libm-test-ulps: Update.
15977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15979 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15981         [BZ #2542]
15982         [BZ #2543]
15983         [BZ #2558]
15984         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15985         __lgamma_neg for arguments from -28.0 to -2.0.
15986         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15987         __lgamma_negf for arguments from -15.0 to -2.0.
15988         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15989         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15990         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15991         Call __lgamma_negl for arguments from -33.0 to -2.0.
15992         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15993         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15994         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15995         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15996         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15997         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15998         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15999         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16000         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16001         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16002         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16003         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16004         (__lgamma_neg): Likewise.
16005         (__lgamma_negl): Likewise.
16006         (__lgamma_product): Likewise.
16007         (__lgamma_productl): Likewise.
16008         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16009         * math/auto-libm-test-in: Add more tests of lgamma.
16010         * math/auto-libm-test-out: Regenerated.
16011         * sysdeps/i386/fpu/libm-test-ulps: Update.
16012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16014 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16016         [BZ #18675]
16017         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16019 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16021         [BZ #14912]
16022         * bits/libc-lock.h: Move to ...
16023         * sysdeps/generic/libc-lock.h: ...here.
16024         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16025         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16026         * sysdeps/mach/hurd/libc-lock.h: ...here.
16027         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16028         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16029         * sysdeps/mach/bits/libc-lock.h: Move to ...
16030         * sysdeps/mach/libc-lock.h: ...here.
16031         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16032         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16033         * sysdeps/nptl/libc-lock.h: ...here.
16034         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16035         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16036         * sysdeps/nptl/libc-lockP.h: ...here.
16037         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16038         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16039         <bits/libc-lock.h>.
16040         * dirent/scandir-tail.c: Likewise.
16041         * dlfcn/dlerror.c: Likewise.
16042         * elf/dl-close.c: Likewise.
16043         * elf/dl-iteratephdr.c: Likewise.
16044         * elf/dl-lookup.c: Likewise.
16045         * elf/dl-open.c: Likewise.
16046         * elf/dl-support.c: Likewise.
16047         * elf/dl-writev.h: Likewise.
16048         * elf/rtld.c: Likewise.
16049         * grp/fgetgrent.c: Likewise.
16050         * gshadow/fgetsgent.c: Likewise.
16051         * gshadow/sgetsgent.c: Likewise.
16052         * iconv/gconv_conf.c: Likewise.
16053         * iconv/gconv_db.c: Likewise.
16054         * iconv/gconv_dl.c: Likewise.
16055         * iconv/gconv_int.h: Likewise.
16056         * iconv/gconv_trans.c: Likewise.
16057         * include/link.h: Likewise.
16058         * inet/getnameinfo.c: Likewise.
16059         * inet/getnetgrent.c: Likewise.
16060         * inet/getnetgrent_r.c: Likewise.
16061         * intl/bindtextdom.c: Likewise.
16062         * intl/dcigettext.c: Likewise.
16063         * intl/finddomain.c: Likewise.
16064         * intl/gettextP.h: Likewise.
16065         * intl/loadmsgcat.c: Likewise.
16066         * intl/localealias.c: Likewise.
16067         * intl/textdomain.c: Likewise.
16068         * libidn/idn-stub.c: Likewise.
16069         * libio/libioP.h: Likewise.
16070         * locale/duplocale.c: Likewise.
16071         * locale/freelocale.c: Likewise.
16072         * locale/newlocale.c: Likewise.
16073         * locale/setlocale.c: Likewise.
16074         * login/getutent_r.c: Likewise.
16075         * login/getutid_r.c: Likewise.
16076         * login/getutline_r.c: Likewise.
16077         * login/utmp-private.h: Likewise.
16078         * login/utmpname.c: Likewise.
16079         * malloc/mtrace.c: Likewise.
16080         * misc/efgcvt.c: Likewise.
16081         * misc/error.c: Likewise.
16082         * misc/fstab.c: Likewise.
16083         * misc/getpass.c: Likewise.
16084         * misc/mntent.c: Likewise.
16085         * misc/syslog.c: Likewise.
16086         * nis/nis_call.c: Likewise.
16087         * nis/nis_callback.c: Likewise.
16088         * nis/nss-default.c: Likewise.
16089         * nis/nss_compat/compat-grp.c: Likewise.
16090         * nis/nss_compat/compat-initgroups.c: Likewise.
16091         * nis/nss_compat/compat-pwd.c: Likewise.
16092         * nis/nss_compat/compat-spwd.c: Likewise.
16093         * nis/nss_nis/nis-alias.c: Likewise.
16094         * nis/nss_nis/nis-ethers.c: Likewise.
16095         * nis/nss_nis/nis-grp.c: Likewise.
16096         * nis/nss_nis/nis-hosts.c: Likewise.
16097         * nis/nss_nis/nis-network.c: Likewise.
16098         * nis/nss_nis/nis-proto.c: Likewise.
16099         * nis/nss_nis/nis-pwd.c: Likewise.
16100         * nis/nss_nis/nis-rpc.c: Likewise.
16101         * nis/nss_nis/nis-service.c: Likewise.
16102         * nis/nss_nis/nis-spwd.c: Likewise.
16103         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16104         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16105         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16106         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16107         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16108         * nis/nss_nisplus/nisplus-network.c: Likewise.
16109         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16110         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16111         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16112         * nis/nss_nisplus/nisplus-service.c: Likewise.
16113         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16114         * nis/ypclnt.c: Likewise.
16115         * nptl/libc_pthread_init.c: Likewise.
16116         * nss/getXXbyYY.c: Likewise.
16117         * nss/getXXent.c: Likewise.
16118         * nss/getXXent_r.c: Likewise.
16119         * nss/nss_db/db-XXX.c: Likewise.
16120         * nss/nss_db/db-netgrp.c: Likewise.
16121         * nss/nss_db/nss_db.h: Likewise.
16122         * nss/nss_files/files-XXX.c: Likewise.
16123         * nss/nss_files/files-alias.c: Likewise.
16124         * nss/nsswitch.c: Likewise.
16125         * posix/regex_internal.h: Likewise.
16126         * posix/wordexp.c: Likewise.
16127         * pwd/fgetpwent.c: Likewise.
16128         * resolv/res_hconf.c: Likewise.
16129         * resolv/res_libc.c: Likewise.
16130         * shadow/fgetspent.c: Likewise.
16131         * shadow/lckpwdf.c: Likewise.
16132         * shadow/sgetspent.c: Likewise.
16133         * socket/opensock.c: Likewise.
16134         * stdio-common/reg-modifier.c: Likewise.
16135         * stdio-common/reg-printf.c: Likewise.
16136         * stdio-common/reg-type.c: Likewise.
16137         * stdio-common/vfprintf.c: Likewise.
16138         * stdio-common/vfscanf.c: Likewise.
16139         * stdlib/abort.c: Likewise.
16140         * stdlib/cxa_atexit.c: Likewise.
16141         * stdlib/fmtmsg.c: Likewise.
16142         * stdlib/random.c: Likewise.
16143         * stdlib/setenv.c: Likewise.
16144         * string/strsignal.c: Likewise.
16145         * sunrpc/auth_none.c: Likewise.
16146         * sunrpc/bindrsvprt.c: Likewise.
16147         * sunrpc/create_xid.c: Likewise.
16148         * sunrpc/key_call.c: Likewise.
16149         * sunrpc/rpc_thread.c: Likewise.
16150         * sysdeps/arm/backtrace.c: Likewise.
16151         * sysdeps/generic/ldsodefs.h: Likewise.
16152         * sysdeps/generic/stdio-lock.h: Likewise.
16153         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16154         * sysdeps/i386/backtrace.c: Likewise.
16155         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16156         * sysdeps/m68k/backtrace.c: Likewise.
16157         * sysdeps/mach/hurd/cthreads.c: Likewise.
16158         * sysdeps/mach/hurd/dirstream.h: Likewise.
16159         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16160         * sysdeps/nptl/malloc-machine.h: Likewise.
16161         * sysdeps/nptl/stdio-lock.h: Likewise.
16162         * sysdeps/posix/dirstream.h: Likewise.
16163         * sysdeps/posix/getaddrinfo.c: Likewise.
16164         * sysdeps/posix/system.c: Likewise.
16165         * sysdeps/pthread/aio_suspend.c: Likewise.
16166         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16167         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16168         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16169         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16170         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16171         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16172         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16173         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16174         * sysdeps/unix/sysv/linux/system.c: Likewise.
16175         * sysdeps/x86_64/backtrace.c: Likewise.
16176         * time/alt_digit.c: Likewise.
16177         * time/era.c: Likewise.
16178         * time/tzset.c: Likewise.
16179         * wcsmbs/wcsmbsload.c: Likewise.
16180         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16181         instead of <bits/libc-lock.h> in comment.
16183 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16185         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16186         Only use .set mips2 if the current ISA is below mips2.
16187         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16188         Likewise.
16189         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16190         mips32r2 if the current ISA is below mips32r2.
16191         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16192         (TLS_IE): Updated to use the TLD_RDHWR macro.
16193         (TLS_LE): Likewise.
16194         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16195         __ASSEMBLER__ condition.
16197 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16199         Fix parallel build of before-compile targets.
16201         * sysdeps/mach/Makefile ($(patsubst
16202         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16203         mach-before-compile target.
16204         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16205         io fs process)): Move rule to dedicated hurd-before-compile target.
16207 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16209         Fix rules generating headers in hurd/ and mach/ when initial make call
16210         has subdir= explicitly set.
16212         * sysdeps/mach/Makefile ($(patsubst
16213         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16214         calling $(MAKE).
16215         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16216         io fs process)): Force subdir to hurd when calling $(MAKE).
16217         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16218         subdir to mach when calling $(MAKE).
16220 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16222         Check sysheaders when looking for Mach and Hurd headers
16224         * sysdeps/mach/configure.ac: Add sysheaders check.
16225         * sysdeps/mach/configure: Regenerate.
16226         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16227         * sysdeps/mach/hurd/configure: Regenerate.
16229 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16231         [BZ #18921]
16232         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16233         Fix inverted sense of test of 'o_directory_works' value.
16234         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16235         Bernhard Voelker <mail@bernhard-voelker.de>.
16237 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16239         [BZ #14912]
16240         * bits/linkmap.h: Move to ...
16241         * sysdeps/generic/linkmap.h: ...here.
16242         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16243         * sysdeps/aarch64/linkmap.h: ...here.
16244         * sysdeps/arm/bits/linkmap.h: Move to ...
16245         * sysdeps/arm/linkmap.h: ...here.
16246         * sysdeps/hppa/bits/linkmap.h: Move to ...
16247         * sysdeps/hppa/linkmap.h: ...here.
16248         * sysdeps/ia64/bits/linkmap.h: Move to ...
16249         * sysdeps/ia64/linkmap.h: ...here.
16250         * sysdeps/mips/bits/linkmap.h: Move to ...
16251         * sysdeps/mips/linkmap.h: ...here.
16252         * sysdeps/s390/bits/linkmap.h: Move to ...
16253         * sysdeps/s390/linkmap.h: ...here.
16254         * sysdeps/sh/bits/linkmap.h: Move to ...
16255         * sysdeps/sh/linkmap.h: ...here.
16256         * sysdeps/x86/bits/linkmap.h: Move to ...
16257         * sysdeps/x86/linkmap.h: ...here.
16258         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16260 2015-09-04  Andreas Schwab  <schwab@suse.de>
16262         [BZ #18635]
16263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16264         (__makecontext): Terminate FDE before return label.
16265         (__novec_makecontext): Likewise.
16267 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16269         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16270         first member of struct sv in syscall macro.
16272 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16274         [BZ #14912]
16275         * bits/stdio-lock.h: Move to ...
16276         * sysdeps/generic/stdio-lock.h: ...here.
16277         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16278         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16279         * sysdeps/nptl/stdio-lock.h: ...here.
16280         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16281         * include/libio.h: Include <stdio-lock.h> instead of
16282         <bits/stdio-lock.h>.
16283         * sysdeps/nptl/fork.c: Likewise.
16284         * sysdeps/pthread/flockfile.c: Likewise.
16285         * sysdeps/pthread/ftrylockfile.c: Likewise.
16286         * sysdeps/pthread/funlockfile.c: Likewise.
16288         [BZ #14912]
16289         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16290         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16291         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16292         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16293         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16294         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16295         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16297 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16299         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16300         (test-xfail-tst-protected1b): New variable.
16302 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16304         [BZ #14912]
16305         * bits/libc-tsd.h: Move to ...
16306         * sysdeps/generic/libc-tsd.h: ...here.
16307         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16308         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16309         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16310         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16311         * include/ctype.h: Include <libc-tsd.h> instead of
16312         <bits/libc-tsd.h>.
16313         * include/rpc/rpc.h: Likewise.
16314         * locale/localeinfo.h: Likewise.
16315         * sunrpc/rpc_thread.c: Likewise.
16316         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16317         * sysdeps/nptl/malloc-machine.h: Likewise.
16319         * Makefile (headers): Remove bits/libc-lock.h.
16320         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16322         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16323         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16324         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16325         <bits/stdio-lock.h>.
16326         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16327         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16329 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16331         [BZ #18757]
16332         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16333         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16334         BZ #18757.
16336 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16338         * malloc/mtrace.pl: Filter out NULL entries.
16340 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16342         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16343         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16344         macro.
16346         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16347         (TCP_CC_INFO): Likewise.
16348         (TCP_SAVE_SYN): Likewise.
16349         (TCP_SAVED_SYN): Likewise.
16351 2015-08-31  Brett Neumeier <brett@neumeier.us>
16353         [BZ #18870]
16354         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16356 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16358         [BZ #18873]
16359         Fix broken overflow check in posix_fallocate
16360         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16361         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16362         Fix parenthesization typo.
16364 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16366         [BZ #18887]
16367         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16368         tst-mntent-blank-passno.
16369         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16370         * misc/tst-mntent-blank-corrupt.c: New test.
16371         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16372         * misc/tst-mntent.c (do_test): ... here.
16374 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16376         [BZ #4404]
16377         * po/de.po: Fix SIGALRM typo.
16379 2015-08-28  James Perkins  <james@loowit.net>
16381         * time/tst-strptime2.c (tests): Replace short list of test
16382         strings for strptime %z specifier with code which exhaustively
16383         tests every combination of sign and 0 to 5 digits. Tests for
16384         rejection of invalid strings.
16386 2015-08-28  James Perkins  <james@loowit.net>
16388         [BZ #16141]
16389         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16390         calculation, removing incorrect decimal time rounding, so that
16391         all minute values result in a valid seconds value.
16392         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16393         offset range limits to UTC-99:59 through UTC+99:59 to parse
16394         current and historical use cases.
16395         * time/tst-strptime2.c (tests): Modify and add tests for the
16396         strptime %z input field descriptor, specifically conversion of
16397         minutes to seconds and validating an offset range of -9959 to
16398         +9959.
16400 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16401             Dmitry V. Levin  <ldv@altlinux.org>
16403         [BZ #18877]
16404         * posix/Makefile (tests): Add tst-mmap-offset.
16405         * posix/tst-mmap.c: New file.
16406         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16407         offset calculation for negative values.
16409 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16411         * sysdeps/i386/init-arch.h: New file.
16412         * sysdeps/i386/i586/init-arch.h: Likewise.
16413         * sysdeps/i386/i686/init-arch.h: Likewise.
16414         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16415         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16416         * sysdeps/x86/cpu-features.h (bit_I586): New.
16417         (bit_I686): Likewise.
16418         (bit_CX8): Likewise.
16419         (bit_CMOV): Likewise.
16420         (index_CX8): Likewise.
16421         (index_CMOV): Likewise.
16422         (index_I586): Likewise.
16423         (index_I686): Likewise.
16424         (reg_CX8): Likewise.
16425         (reg_CMOV): Likewise.
16426         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16427         available at compile-time.
16428         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16429         available at compile-time.
16430         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16431         (USE_I686): Likewise.
16433 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16435         * sysdeps/i386/bcopy.S: New file.
16436         * sysdeps/i386/bzero.S: Likewise.
16437         * sysdeps/i386/memcpy.S: Likewise.
16438         * sysdeps/i386/memmove.S: Likewise.
16439         * sysdeps/i386/mempcpy.S: Likewise.
16440         * sysdeps/i386/memset.S: Likewise.
16441         * sysdeps/i386/bzero.c: Removed.
16442         * sysdeps/i386/memset.c: Likewise.
16443         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16444         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16445         * sysdeps/i386/i586/memset_chk.S: Likewise.
16446         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16447         * sysdeps/i386/memcpy_chk.S: Here.
16448         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16449         * sysdeps/i386/memmove_chk.S: Here.
16450         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16451         * sysdeps/i386/mempcpy_chk.S: Likewise.
16452         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16453         * sysdeps/i386/memset_chk.S: Likewise.
16455 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16457         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16458         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16459         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16460         * soft-fp/fmadf4.c: Ditto.
16461         * soft-fp/fmatf4.c: Ditto.
16463 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16465         * sysdeps/i386/i586/Implies: Removed.
16466         * sysdeps/i386/i686/Implies: Likewise.
16468 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16470         * sysdeps/i386/i486/strlen.S: Moved to ...
16471         * sysdeps/i386/strlen.S: Here.
16473 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16475         * sysdeps/i386/i486/strcat.S: Moved to ...
16476         * sysdeps/i386/strcat.S: Here.
16478 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16480         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16481         * sysdeps/i386/pthread_spin_trylock.S: Here.
16482         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16483         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16485 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16487         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16488         * sysdeps/i386/string-inlines.c: Here.
16490 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16492         * sysdeps/i386/i486/htonl.S: Moved ...
16493         * sysdeps/i386/htonl.S: here.
16495 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16497         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16498         * sysdeps/i386/bits/atomic.h: Here.
16500 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16502         * sysdeps/i386/i486/Versions: Removed.
16504 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16506         [BZ #2898]
16507         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16508         Based on patch by Aurelien Jarno.
16510 2015-08-26  Stan Shebs  <stanshebs@google.com>
16512         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16513         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16515 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16517         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16518         * sysdeps/powerpc/dl-procinfo.c:
16519         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16520         feature so it shows when LD_SHOW_AUXV=1.
16522 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16524         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16525         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16526         definition.  ISA 2.07B no longer requires full sync.
16528 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16530         [BZ #18863]
16531         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16532         (si_call_addr): Define.
16533         (si_syscall): Define.
16534         (si_arch): Define.
16536 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16538         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16539         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16540         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16541         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16542         (__memset_zero_constant_len_parameter): New.
16543         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16544         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16545         (__memset_zero_constant_len_parameter): Don't define if
16546         __memset_chk or USE_AS_BZERO are defined.
16548         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16549         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16550         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16552         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16553         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16554         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16555         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16556         comments.
16557         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16558         -mno-mmx for $(all-rtld-routines).
16559         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16560         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16561         i386.
16563 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16565         * sysdeps/generic/unwind.h
16566         (_Unwind_Word): Use __mode__(__unwind_word__)
16567         instead of __mode__(__word__).
16568         (_Unwind_Sword): Likewise.
16570         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16571         (MAX_NEEDED_INPUT): New define.
16572         (MAX_NEEDED_OUTPUT): New define.
16574         * NEWS: New item for IBM z13 string optimizations.
16576         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16577         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16578         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16579         * sysdeps/s390/multiarch/Makefile
16580         (sysdep_routines): Add memrchr functions.
16581         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16582         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16584         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16585         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16586         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16587         * sysdeps/s390/multiarch/Makefile
16588         (sysdep_routines): Add wmemcmp functions.
16589         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16590         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16591         * benchtests/bench-wmemcmp.c: New File.
16592         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16594         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16595         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16596         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16597         * sysdeps/s390/multiarch/Makefile
16598         (sysdep_routines): Add wmemset functions.
16599         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16600         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16601         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16602         * string/test-memset.c: Add wmemset support.
16603         * wcsmbs/test-wmemset.c: New File.
16604         * wcsmbs/Makefile (strop-tests): Add wmemset.
16605         * benchtests/bench-memset.c: Add wmemset support.
16606         * benchtests/bench-wmemset.c: New File.
16607         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16609         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16610         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16611         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16612         * sysdeps/s390/multiarch/Makefile
16613         (sysdep_routines): Add memccpy functions.
16614         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16615         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16616         * string/memccpy.c: Use MEMCCPY if defined.
16618         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16619         * sysdeps/s390/multiarch/memchr.c: Likewise.
16620         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16621         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16622         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16623         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16624         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16625         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16626         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16627         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16628         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16629         and rawmemchr functions.
16630         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16631         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16632         and wmemchr.
16633         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16634         * string/test-memchr.c: Add wmemchr support.
16635         * wcsmbs/test-wmemchr.c: New File.
16636         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16637         * benchtests/bench-memchr.c: Add wmemchr support.
16638         * benchtests/bench-wmemchr.c: New File.
16639         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16641         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16642         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16643         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16644         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16645         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16646         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16647         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16648         wcscspn functions.
16649         * sysdeps/s390/multiarch/ifunc-impl-list.c
16650         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16651         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16652         * string/test-strcspn.c: Add wcscspn support.
16653         * wcsmbs/test-wcscspn.c: New File.
16654         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16655         * benchtests/bench-strcspn.c: Add wcscspn support.
16656         * benchtests/bench-wcscspn.c: New File.
16657         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16659         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16660         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16661         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16662         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16663         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16664         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16665         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16666         wcspbrk functions.
16667         * sysdeps/s390/multiarch/ifunc-impl-list.c
16668         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16669         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16670         * string/test-strpbrk.c: Add wcspbrk support.
16671         * wcsmbs/test-wcspbrk.c: New File.
16672         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16673         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16674         * benchtests/bench-wcspbrk.c: New File.
16675         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16677         * sysdeps/s390/multiarch/strspn-c.c: New File.
16678         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16679         * sysdeps/s390/multiarch/strspn.c: Likewise.
16680         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16681         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16682         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16683         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16684         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16685         wcsspn functions.
16686         * sysdeps/s390/multiarch/ifunc-impl-list.c
16687         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16688         * string/test-strspn.c: Add wcsspn support.
16689         * wcsmbs/test-wcsspn.c: New File.
16690         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16691         * benchtests/bench-strspn.c: Add wcsspn support.
16692         * benchtests/bench-wcsspn.c: New File.
16693         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16695         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16696         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16697         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16698         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16699         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16700         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16701         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16702         wcsrchr functions.
16703         * sysdeps/s390/multiarch/ifunc-impl-list.c
16704         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16705         * benchtests/bench-wcsrchr.c: New File.
16706         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16708         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16709         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16710         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16711         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16712         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16713         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16714         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16715         wcschrnul functions.
16716         * sysdeps/s390/multiarch/ifunc-impl-list.c
16717         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16718         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16719         * string/test-strchr.c: Add wcschrnul support.
16720         * wcsmbs/test-wcschrnul.c: New File.
16721         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16722         * benchtests/bench-strchr.c: Add wcschrnul support.
16723         * benchtests/bench-wcschrnul.c: New File.
16724         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16726         * sysdeps/s390/multiarch/strchr-c.c: New File.
16727         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16728         * sysdeps/s390/multiarch/strchr.c: Likewise.
16729         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16730         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16731         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16732         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16733         wcschr functions.
16734         * sysdeps/s390/multiarch/ifunc-impl-list.c
16735         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16736         * string/strchr.c (STRCHR): Define and use macro.
16737         * benchtests/bench-wcschr.c: New File.
16738         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16740         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16741         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16742         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16743         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16744         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16745         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16746         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16747         wcsncmp functions.
16748         * sysdeps/s390/multiarch/ifunc-impl-list.c
16749         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16750         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16751         * benchtests/bench-strncmp.c: Add wcsncmp support.
16752         * benchtests/bench-wcsncmp.c: New File.
16753         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16755         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16756         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16757         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16758         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16759         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16760         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16761         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16762         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16763         wcscmp functions.
16764         * sysdeps/s390/multiarch/ifunc-impl-list.c
16765         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16766         * string/strcmp.c (STRCMP): Define and use macro.
16767         * benchtests/bench-wcscmp.c: New File.
16768         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16769         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16770         instead of _HAVE_STRING_ARCH_memchr.
16772         * sysdeps/s390/multiarch/strncat-c.c: New File.
16773         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16774         * sysdeps/s390/multiarch/strncat.c: Likewise.
16775         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16776         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16777         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16778         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16779         wcsncat functions.
16780         * sysdeps/s390/multiarch/ifunc-impl-list.c
16781         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16782         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16783         * string/test-strncat.c: Add wcsncat support.
16784         * wcsmbs/test-wcsncat.c: New File.
16785         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16786         * benchtests/bench-strncat.c: Add wcsncat support.
16787         * benchtests/bench-wcsncat.c: New File.
16788         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16790         * sysdeps/s390/multiarch/strcat-c.c: New File.
16791         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16792         * sysdeps/s390/multiarch/strcat.c: Likewise.
16793         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16794         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16795         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16796         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16797         wcscat functions.
16798         * sysdeps/s390/multiarch/ifunc-impl-list.c
16799         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16800         * string/strcat.c (STRCAT): Define and use macro.
16801         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16802         * string/test-strcat.c: Add wcscat support.
16803         * wcsmbs/test-wcscat.c: New File.
16804         * wcsmbs/Makefile (strop-tests): Add wcscat.
16805         * benchtests/bench-strcat.c: Add wcscat support.
16806         * benchtests/bench-wcscat.c: New File.
16807         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16809         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16810         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16811         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16812         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16813         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16814         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16815         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16816         wcpncpy functions.
16817         * sysdeps/s390/multiarch/ifunc-impl-list.c
16818         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16819         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16820         * string/test-stpncpy.c: Add wcpncpy support.
16821         * wcsmbs/test-wcpncpy.c: New File.
16822         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16823         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16824         * benchtests/bench-wcpncpy.c: New File.
16825         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16827         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16828         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16829         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16830         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16831         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16832         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16833         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16835         wcsncpy functions.
16836         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16837         * sysdeps/s390/multiarch/ifunc-impl-list.c
16838         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16839         * string/test-strncpy.c: Add wcsncpy support.
16840         * wcsmbs/test-wcsncpy.c: New File.
16841         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16842         * benchtests/bench-strncpy.c: Add wcsncpy support.
16843         * benchtests/bench-wcsncpy.c: New File.
16844         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16846         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16847         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16848         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16849         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16850         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16851         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16852         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16853         wcpcpy functions.
16854         * string/stpcpy.c: Use STPCPY if defined.
16855         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16856         * sysdeps/s390/multiarch/ifunc-impl-list.c
16857         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16858         * string/test-stpcpy.c: Add wcpcpy support.
16859         * wcsmbs/test-wcpcpy.c: New File.
16860         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16861         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16862         * benchtests/bench-wcpcpy.c: New File.
16863         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16865         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16866         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16867         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16868         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16869         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16870         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16871         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16872         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16873         wcscpy functions.
16874         * sysdeps/s390/multiarch/ifunc-impl-list.c
16875         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16876         * benchtests/bench-wcscpy.c: New File.
16877         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16879         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16880         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16881         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16882         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16883         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16884         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16885         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16886         wcsnlen functions.
16887         * sysdeps/s390/multiarch/ifunc-impl-list.c
16888         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16889         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16890         * string/test-strnlen.c: Add wcsnlen support.
16891         * wcsmbs/test-wcsnlen.c: New File.
16892         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16893         * benchtests/bench-strnlen.c: Add wcsnlen support.
16894         * benchtests/bench-wcsnlen.c: New File.
16895         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16897         * sysdeps/s390/multiarch/Makefile: New File.
16898         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16899         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16900         * sysdeps/s390/multiarch/strlen.c: Likewise.
16901         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16902         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16903         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16904         * string/strlen.c (STRLEN): Define and use macro.
16905         * sysdeps/s390/multiarch/ifunc-impl-list.c
16906         (IFUNC_VX_IMPL): New macro function.
16907         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16908         * benchtests/Makefile (wcsmbs-bench): New variable.
16909         (string-bench-all): Added wcsmbs-bench.
16910         * benchtests/bench-wcslen.c: New File.
16912         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16913         s390_vx_libc_ifunc2): New macro function.
16915         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16916         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16917         assembler support.
16918         * sysdeps/s390/configure: Regenerated.
16920         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16921         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16923         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16924         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16925         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16927         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16928         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16929         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16930         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16931         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16932         (memcmp, bcmp): Use __memcmp_default as alias source.
16933         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16934         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16935         Rename to __memcmp_default.
16936         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16937         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16938         (memcpy): Use __memcpy_default as alias source.
16939         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16940         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16941         Rename to __memcpy_default.
16942         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16943         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16944         (memset): Use __memset_default as alias source.
16945         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16946         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16947         Rename to __memset_default.
16948         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16949         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16950         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16951         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16952         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16953         (memcmp, bcmp): Use __memcmp_default as alias source.
16954         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16955         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16956         Rename to __memcmp_default.
16957         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16958         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16959         (memcpy): Use __memcpy_default as alias source.
16960         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16961         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16962         Rename to __memcpy_default.
16963         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16964         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16965         (memset): Use __memset_default as alias source.
16966         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16967         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16968         Rename to __memset_default.
16969         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16970         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16972         [BZ #18610]
16973         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16974         __ieee_instruction_pointer to __unused.
16975         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16976         __ieee_instruction_pointer.
16977         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16978         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16979         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16980         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16981         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16982         Mark dxc-field as reserved.
16984 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16986         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16987         if the weak reference is not null.
16989 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16991         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16993         [BZ #11214]
16994         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16996 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16998         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16999         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17000         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17001         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17002         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17003         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17004         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17005         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17006         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17007         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17008         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17009         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17010         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17011         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17012         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17013         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17014         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17015         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17017 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17019         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17020         register other than r0 for tabort, it has special meaning.
17021         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17022         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17023         transaction before starting syscall.
17025 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17027         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17029 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17031         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17033         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17034         * sysdeps/x86_64/rtld-memset.S: Likewise.
17035         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17036         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17037         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17038         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17040         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17042 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17044         * debug/strcpy_chk.c: Improve performance.
17045         * debug/stpcpy_chk.c: Likewise.
17046         * sysdeps/x86_64/strcpy_chk.S: Remove.
17047         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17049         [BZ #18240]
17050         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17052 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17054         [BZ #15128]
17055         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17056         ifuncmain8.
17057         (modules-names): Add ifuncmod8.
17058         ($(objpfx)ifuncmain8): New rule.
17059         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17060         <cpuid.h>.
17061         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17062         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17063         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17064         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17065         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17066         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17067         * sysdeps/x86_64/ifuncmain8.c: New file.
17068         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17069         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17070         Removed.
17071         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17072         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17073         Change rtld_savespace_sse to __glibc_unused2.
17074         (RTLD_CHECK_FOREIGN_CALL): Removed.
17075         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17076         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17077         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17079 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17081         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17083 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17085         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17086         Unconditionally set __fpcr to avoid uninialized warning.
17087         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17089 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17091         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17092         is corrupt.
17094         * malloc/arena.c (arena_get2): Drop unused argument.
17095         (arena_lock): Adjust.
17096         (arena_get_retry): Likewise.
17098 2015-08-24  Andreas Schwab  <schwab@suse.de>
17100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17101         Don't define.
17102         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17103         (__ASSUME_IPC64): Don't undef.
17104         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17105         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17106         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17107         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17108         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17109         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17110         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17111         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17112         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17113         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17114         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17115         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17116         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17117         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17118         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17119         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17120         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17121         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17122         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17123         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17124         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17126 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17128         * manual/Makefile (install): Only build manual when perl is available.
17130 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17132         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17133         '#undef memcpy' by '#undef memchr'.
17135 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17137         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17138         memchr not point to the internal __GI_memchr implementation.
17140 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17142         * timezone/Makefile (CFLAGS-zdump.c): Remove
17143         -Wno-strict-prototypes.
17144         (CFLAGS-zic.c): Likewise.
17145         (CFLAGS-ialloc.c): Likewise.
17146         (CFLAGS-scheck.c): Likewise.
17148         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17149         -Wno-error=undef.
17151 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17153         * i386/i686/multiarch/strcasestr-c.c: Removed.
17154         * x86_64/multiarch/strcasestr.c: Likewise.
17155         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17156         Remove strcasestr.
17158 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17160         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17162         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17163         variables for high and low parts before possibly modifying them.
17165 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17167         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17168         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17169         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17170         of "multiarch/init-arch.h".
17171         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17172         * sysdeps/x86/init-arch.h: This.
17174 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17176         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17177         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17179 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17181         [BZ #17787]
17182         * manual/macros.texi: Add twoexp macro.
17183         * manual/filesys.texi: Fix exponents.
17184         * manual/llio.texi: Likewise.
17185         * manual/stdio.texi: Likewise.
17187 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17189         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17190         incorrect use.
17192 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17194         [BZ #18370]
17195         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17196         whose real or imaginary part has small absolute value.
17197         * math/s_csqrtf.c (__csqrtf): Likewise.
17198         * math/s_csqrtl.c (__csqrtl): Likewise.
17199         * math/auto-libm-test-in: Add more tests of csqrt.
17200         * math/auto-libm-test-out: Regenerated.
17201         * sysdeps/i386/fpu/libm-test-ulps: Update.
17203 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17205         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17206         __ppc_set_ppr_very_low): New functions.
17207         * manual/platform.texi: Add documentation about
17208         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17210 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17212         * string/stpncpy.c (stpncpy): Improve performance using
17213         __strnlen/memcpy/memset.
17215 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17217         [BZ #18796]
17218         * scripts/test-installation.pl: Don't add -lmvec to build options if
17219         libmvec wasn't built.
17221 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17223         [BZ #14341]
17224         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17225         case when there is a gap between DT_REL and DT_JMPREL sections.
17226         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17227         (LDFLAGS-tst-split-dynreloc): New.
17228         (tst-split-dynreloc-ENV): Likewise.
17229         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17230         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17232 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17234         [BZ #18822]
17235         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17236         attribute_hidden.
17237         (__xstat64_conv): Likewise.
17238         (__xstat32_conv): Likewise.
17240 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17242         [BZ #18822]
17243         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17244         Don't load %ebx when calling __setcontext.  Call __setcontext
17245         with HIDDEN_JUMPTARGET.
17246         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17247         libc_hidden_def.
17249 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17251         * sysdeps/i386/i686/Makefile
17252         [$(subdir) == string] (sysdep_routines): Moved to ...
17253         * sysdeps/i386/Makefile: Here.
17254         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17255         * sysdeps/i386/cacheinfo.c: Here.
17256         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17257         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17258         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17259         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17261 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17263         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17264         __i586__ is defined.
17265         (HAS_I686): Defined to 1 if __i686__ is defined.
17267 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17269         * elf/Makefile [$(have-z-execstack) = yes]
17270         (CPPFLAGS-tst-execstack.c): New variable.
17272         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17273         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17274         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17275         UTMPX || _HAVE_UT_TV].
17276         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17277         UTMPX || _HAVE_UT_TV - 0].
17279 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17281         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17282         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17283         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17285 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17287         * sysdeps/powerpc/dl-procinfo.c:
17288         (_dl_powerpc_cap_flags): Added missing strings for some
17289         hwcap features.
17290         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17292 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17294         Port the 0x7efe...feff pattern to GCC 6.
17295         See Steve Ellcey's bug report in:
17296         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17297         * string/memrchr.c (MEMRCHR):
17298         * string/rawmemchr.c (RAWMEMCHR):
17299         * string/strchr.c (strchr):
17300         * string/strchrnul.c (STRCHRNUL):
17301         Rewrite code to avoid issues with signed shift overflow.
17303 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17305         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17306         whether cpuid is available only if HAS_CPUID is 0.
17307         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17308         (HAS_I586): Likewise.
17309         (HAS_I686): Likewise.
17311 2015-08-18  Zack Weinberg  <zackw@panix.com>
17313         * misc/Versions (libc): Add GLIBC_2.23.
17315 2015-08-18  Alan Modra  <amodra@gmail.com>
17317         [BZ #18421]
17318         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17319         .Lp__global.
17320         (_start): Load %dp via .Lp__global.
17321         [!SHARED]: Use .section .rodata.
17323 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17325         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17326         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17328 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17330         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17331         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17333 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17335         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17336         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17338 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17340         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17341         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17343 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17345         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17346         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17348 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17350         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17351         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17353 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17355         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17357 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17359         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17360         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17361         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17362         (__ASSUME_LWS_CAS): Delete.
17364 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17366         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17367         * sysdeps/hppa/configure: Regenerated.
17368         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17369         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17370         * sysdeps/hppa/nptl/tls.h: Likewise.
17372 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17374         [BZ #18823]
17375         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17376         for scaling up small arguments.
17377         * math/s_csqrtf.c (__csqrtf): Likewise.
17378         * math/s_csqrtl.c (__csqrtl): Likewise.
17379         * math/auto-libm-test-in: Add more tests of csqrt.
17380         * math/auto-libm-test-out: Regenerated.
17382 2015-08-17  Andreas Schwab  <schwab@suse.de>
17384         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17385         version set GLIBC_2.19.
17387 2015-08-16  Zack Weinberg  <zackw@panix.com>
17389         [BZ #18681]
17390         * misc/regexp.h: This interface is no longer supported.
17391         Remove all contents, leaving only an #error directive.
17392         * misc/regexp.c (loc1, loc2, locs, step, advance):
17393         Demote to compatibility symbols.
17395 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17397         [BZ #18084]
17398         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17399         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17400         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17401         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17402         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17403         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17404         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17405         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17406         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17408 2015-08-15  Zack Weinberg  <zackw@panix.com>
17410         [BZ #18795]
17411         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17412         buffer length is known to be too large, not if it's known to be
17413         small enough.
17414         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17415         overflow at runtime, involving a length parameter, twice: once
17416         with a compile-time constant length parameter, once without.
17418 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17420         [BZ #18824]
17421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17422         scaling x * y up instead of down.
17423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17425         * math/auto-libm-test-in: Add more tests of fma.
17426         * math/auto-libm-test-out: Regenerated.
17428 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17430         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17432 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17434         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17435         unnecessary movq.
17436         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17437         Likewise.
17439 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17441         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17442         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17443         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17444         and tgamma.
17445         * math/auto-libm-test-out: Regenerated.
17446         * sysdeps/i386/fpu/libm-test-ulps: Update.
17447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17449         [BZ #16520]
17450         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17451         (__tanh): Force underflow exception for arguments with small
17452         absolute value.
17453         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17454         (__tanhf): Force underflow exception for arguments with small
17455         absolute value.
17456         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17457         (__tanhl): Force underflow exception for arguments with small
17458         absolute value.
17459         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17460         (__tanhl): Force underflow exception for arguments with small
17461         absolute value.
17462         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17463         (__tanhl): Force underflow exception for arguments with small
17464         absolute value.
17465         * math/auto-libm-test-in: Add more tests of tanh.
17466         * math/auto-libm-test-out: Regenerated.
17467         * sysdeps/i386/fpu/libm-test-ulps: Update.
17469 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17471         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17472         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17474 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17476         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17477         <cpuid.h>.
17479 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17481         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17482         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17484 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17486         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17487         Remove $(objpfx)init-arch.o.
17488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17489         init-arch.
17490         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17491         (INIT_ARCH_EXT): Defined as empty.
17492         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17493         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17494         __init_cpu_features call.  Replace HAS_XXX with
17495         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17496         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17497         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17498         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17499         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17500         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17501         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17502         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17503         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17504         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17505         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17506         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17507         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17508         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17509         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17510         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17511         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17514         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17515         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17516         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17517         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17518         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17519         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17520         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17521         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17522         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17523         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17524         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17525         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17526         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17527         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17528         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17529         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17530         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17532 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17534         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17535         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17536         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17537         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17538         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17539         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17540         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17541         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17542         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17543         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17544         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17545         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17546         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17547         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17548         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17549         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17550         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17551         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17552         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17553         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17554         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17555         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17556         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17557         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17558         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17559         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17560         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17561         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17562         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17563         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17564         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17565         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17566         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17567         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17568         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17569         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17570         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17571         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17572         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17573         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17574         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17575         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17576         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17578 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17580         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17581         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17582         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17583         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17584         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17585         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17586         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17587         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17588         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17589         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17590         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17591         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17592         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17593         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17594         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17595         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17596         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17597         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17598         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17599         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17601         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17602         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17603         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17604         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17605         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17606         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17607         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17608         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17609         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17610         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17611         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17612         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17613         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17614         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17615         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17616         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17617         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17618         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17619         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17620         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17621         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17622         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17624 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17626         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17627         (dl_platform_init): Call init_cpu_features.
17628         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17629         * sysdeps/i386/i686/cacheinfo.c
17630         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17631         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17632         * sysdeps/i386/i686/multiarch/Versions: Removed.
17633         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17634         Removed.
17635         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17636         * sysdeps/unix/sysv/linux/x86/Makefile
17637         (libpthread-sysdep_routines): Remove init-arch.
17638         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17639         <sysdeps/x86_64/dl-procinfo.c> instead of
17640         sysdeps/generic/dl-procinfo.c>.
17641         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17642         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17643         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17644         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17645         [$(subdir) == elf] (tests-static): Add
17646         tst-get-cpu-features-static.
17647         * sysdeps/x86/Versions: New file.
17648         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17649         * sysdeps/x86/cpu-features.c: Likewise.
17650         * sysdeps/x86/cpu-features.h: Likewise.
17651         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17652         * sysdeps/x86/libc-start.c: Likewise.
17653         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17654         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17655         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17656         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17657         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17658         Assume USE_MULTIARCH is defined and don't check it.
17659         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17660         (is_amd): Likewise.
17661         (max_cpuid): Likewise.
17662         (intel_check_word): Likewise.
17663         (__cache_sysconf): Don't call __init_cpu_features.
17664         (__x86_preferred_memory_instruction): Removed.
17665         (init_cacheinfo): Don't call __init_cpu_features. Replace
17666         __cpu_features with GLRO(dl_x86_cpu_features).
17667         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17668         (dl_platform_init): Call init_cpu_features.
17669         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17670         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17671         * sysdeps/x86_64/multiarch/Versions: Removed.
17672         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17673         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17674         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17675         Removed.
17676         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17678 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17680         [BZ #18820]
17681         * libio/Makefile (test-fmemopen-mem): New test.
17682         * libio/test-fmemopen.c (do_bz18820): New test.
17683         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17684         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17686 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17688         [BZ #16734]
17689         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17690         (FREE_BUF): Delete.
17691         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17692         * libio/genops.c (_IO_setb): Use malloc and free directly.
17693         (_IO_default_doallocate, _IO_default_finish): Likewise.
17694         ( _IO_unbuffer_all): Likewise.
17695         ( libc_freeres_fn): Likewise.
17696         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17697         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17698         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17699         (_IO_wdefault_doallocate): Likewise.
17701 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17703         [BZ #18086]
17704         * sysdeps/posix/nice.c (nice): Restore old errno.
17705         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17707 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17711 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17713         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17714         __bcopy and add a weak_alias to bcopy.
17715         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17716         for static build.
17718         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17719         cleanup macro usage.
17720         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17721         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17722         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17723         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17724         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17725         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17726         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17727         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17728         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17729         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17730         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17731         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17732         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17733         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17734         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17735         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17736         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17737         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17738         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17740         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17741         libc_hidden_def.
17742         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17744         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17745         (sysdep_routines): Add strstr-ppc64.
17746         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17748 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17750         [BZ #18778]
17751         * elf/Makefile (tests): Add Add tst-nodelete2.
17752         (modules-names): Add tst-nodelete2mod.
17753         (tst-nodelete2mod.so-no-z-defs): New.
17754         ($(objpfx)tst-nodelete2): Likewise.
17755         ($(objpfx)tst-nodelete2.out): Likewise.
17756         (LDFLAGS-tst-nodelete2): Likewise.
17757         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17758         out of loop through all loaded libraries.
17759         * elf/tst-nodelete2.c: New file.
17760         * elf/tst-nodelete2mod.c: Likewise.
17761         * elf/tst-znodelete-zlib.cc: Delete.
17763 2015-08-11  Andreas Schwab  <schwab@suse.de>
17765         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17766         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17767         (__openat64_nocancel): Likewise.
17769 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17771         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17772         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17773         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17774         * math/auto-libm-test-out: Regenerated.
17775         * sysdeps/i386/fpu/libm-test-ulps: Update.
17776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17778 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17780         [BZ #18790]
17781         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17782         threshold for returning +/- 1.
17783         * math/auto-libm-test-in: Add more tests of tanh.
17784         * math/auto-libm-test-out: Regenerated.
17785         * sysdeps/i386/fpu/libm-test-ulps: Update.
17787 2015-08-10  Andreas Schwab  <schwab@suse.de>
17789         [BZ #18781]
17790         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17791         MORE_OFLAGS to oflag.
17792         * io/test-lfs.c (do_test): Test openat64.
17794 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17796         [BZ #18789]
17797         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17798         smaller threshold for returning the argument.
17799         * math/auto-libm-test-in: Add more tests of sinh.
17800         * math/auto-libm-test-out: Regenerated.
17801         * sysdeps/i386/fpu/libm-test-ulps: Update.
17803 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17805         [BZ #18674]
17806         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17807         break.
17809 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17811         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17812         (generated): Don't add $(addprefix z.,$(tzfiles)).
17814 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17816         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17817         * scripts/sysd-rules.awk: Likewise.
17819 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17821         * iconvdata/tst-tables.sh: Change echo -n to printf.
17822         * nss/db-Makefile: Likewise.
17823         * posix/tst-getconf.sh: Likewise.
17824         * stdio-common/tst-unbputc.sh: Likewise.
17826 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17828         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17829         MADV_*_PAGES defines behind this feature check.
17831 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17833         [BZ #18480]
17834         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17835         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17836         Define.
17837         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17838         LOAD_REGS_5, LOAD_REGS_6): Update.
17839         (INTERNAL_SYSCALL): Update using new LOAD defines.
17840         (INTERNAL_SYSCALL_NCS): Likewise.
17841         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17843 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17845         [BZ #16734]
17846         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17848 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17850         [BZ #17905]
17851         * catgets/Makefile (tst-catgets-mem): New test.
17852         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17853         * catgets/open_catalog.c (__open_catalog): Likewise.
17854         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17856 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17858         [BZ #18787]
17859         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17860         clobber registers.
17861         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17862         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17863         Cast return to __typeof (oldval).
17865 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17867         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17868         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17869         and delete sys/syscall.h include.
17871 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17873         [BZ #16517]
17874         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17875         (tan): Force underflow exception for arguments with small absolute
17876         value.
17877         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17878         (__kernel_tanf): Force underflow exception for arguments with
17879         small absolute value.
17880         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17881         (__kernel_tanl): Force underflow exception for arguments with
17882         small absolute value.
17883         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17884         (__kernel_tanl): Force underflow exception for arguments with
17885         small absolute value.
17886         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17887         (__kernel_tanl): Force underflow exception for arguments with
17888         small absolute value.
17889         * math/auto-libm-test-in: Add more tests of tan.
17890         * math/auto-libm-test-out: Regenerated.
17892 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17894         Fix sysdeps/i386/fpu/s_scalbn.S build
17896         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17898 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17900         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17902 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17904         Fix gcrt0.o compilation
17906         When static-start-installed-name is different from
17907         start-installed-name, we must not use the shared objects.
17909         * csu/Makefile
17910         (extra-objs): Add gmon-start.o when building shared library and
17911         $(static-start-installed-name) is different from
17912         $(start-installed-name).
17913         $(objpfx)g$(static-start-installed-name): When building shared
17914         library and $(static-start-installed-name) is different from
17915         $(static-start-installed-name), revert to non-shared rule,
17916         i.e. using $(objpfx)% and gmon-start.o.
17918 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17920         [BZ #16519]
17921         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17922         (__ieee754_sinh): Force underflow exception for arguments with
17923         small absolute value.
17924         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17925         (__ieee754_sinhf): Force underflow exception for arguments with
17926         small absolute value.
17927         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17928         (__ieee754_sinhl): Force underflow exception for arguments with
17929         small absolute value.
17930         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17931         (__ieee754_sinhl): Force underflow exception for arguments with
17932         small absolute value.
17933         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17934         (__ieee754_sinhl): Force underflow exception for arguments with
17935         small absolute value.
17936         * math/auto-libm-test-in: Add more tests of sinh.
17937         * math/auto-libm-test-out: Regenerated.
17938         * sysdeps/i386/fpu/libm-test-ulps: Update.
17940 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17942         * libio/oldfileops.c: Include unistd.h.
17944 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17946         * stdlib/isomac.c: Include ctype.h.
17948 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17950         * dirent/tst-seekdir.c (main): Converted to ...
17951         (do_test): ... this.
17952         (TEST_FUNCTION): New macro.
17953         Include test-skeleton.c.
17954         * elf/tst-dlmodcount.c (main): Converted to ...
17955         (do_test): ... this.
17956         (TEST_FUNCTION): New macro.
17957         Include test-skeleton.c.
17958         * elf/tst-order-main.c (main): Converted to ...
17959         (do_test): ... this.
17960         (TEST_FUNCTION): New macro.
17961         Include test-skeleton.c.
17962         * elf/tst-pie2.c (main): Converted to ...
17963         (do_test): ... this.
17964         (TEST_FUNCTION): New macro.
17965         Include test-skeleton.c.
17966         * inet/tst-ether_aton.c (main): Converted to ...
17967         (do_test): ... this.
17968         (TEST_FUNCTION): New macro.
17969         Include test-skeleton.c.
17970         * misc/tst-mntent.c (main): Converted to ...
17971         (do_test): ... this.
17972         (TEST_FUNCTION): New macro.
17973         Include test-skeleton.c.
17974         * misc/tst-tsearch.c (main): Converted to ...
17975         (do_test): ... this.
17976         (TEST_FUNCTION): New macro.
17977         Include test-skeleton.c.
17978         * posix/tst-regexloc.c (main): Converted to ...
17979         (do_test): ... this.
17980         (TEST_FUNCTION): New macro.
17981         Include test-skeleton.c.
17982         * resolv/tst-aton.c (main): Converted to ...
17983         (do_test): ... this.
17984         (TEST_FUNCTION): New macro.
17985         Include test-skeleton.c.
17986         * stdio-common/test-fwrite.c (main): Converted to ...
17987         (do_test): ... this.
17988         (TEST_FUNCTION): New macro.
17989         Include test-skeleton.c.
17990         * stdio-common/tst-ferror.c (main): Converted to ...
17991         (do_test): ... this.
17992         (TEST_FUNCTION): New macro.
17993         Include test-skeleton.c.
17994         * stdio-common/tst-printf.c (main): Converted to ...
17995         (do_test): ... this.
17996         (TEST_FUNCTION): New macro.
17997         Include test-skeleton.c.
17998         * stdio-common/tst-printfsz.c (main): Converted to ...
17999         (do_test): ... this.
18000         (TEST_FUNCTION): New macro.
18001         Include test-skeleton.c.
18002         * stdlib/tst-strtod.c (main): Converted to ...
18003         (do_test): ... this.
18004         (TEST_FUNCTION): New macro.
18005         Include test-skeleton.c.
18006         * string/tst-strlen.c (main): Converted to ...
18007         (do_test): ... this.
18008         (TEST_FUNCTION): New macro.
18009         Include test-skeleton.c.
18010         * string/tst-svc.c (main): Converted to ...
18011         (do_test): ... this.
18012         (TEST_FUNCTION): New macro.
18013         Include test-skeleton.c.
18014         * time/tst-strptime.c (main): Converted to ...
18015         (do_test): ... this.
18016         (TEST_FUNCTION): New macro.
18017         Include test-skeleton.c.
18018         * timezone/tst-timezone.c (main): Converted to ...
18019         (do_test): ... this.
18020         (TEST_FUNCTION): New macro.
18021         Include test-skeleton.c.
18023 2015-08-05  Zack Weinberg  <zackw@panix.com>
18025         * misc/regexp.h: Update comments.
18027 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18029         [BZ #18635]
18030         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18031         before return label.
18033 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18035         [BZ #18661]
18036         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18037         when calling __errno_location.
18038         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18039         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18041 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18043         [BZ #18661]
18044         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18045         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18046         __gettimeofday.
18048 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18050         [BZ #18661]
18051         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18052         (__start_context): Don't use pop to restore %rdi so that stack
18053         is aligned to 16 bytes when calling __setcontext.
18055 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18057         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18058         only for libc.
18059         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18061 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18063         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18064         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18065         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18067 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18069         * string/memccpy.c (memccpy):
18070         Improve performance by using memchr/memcpy/__mempcpy.
18072 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18074         * string/strncpy.c (strncpy):
18075         Improve performance by using __strnlen/memcpy.
18077 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18079         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18080         Optimize to avoid an unnecessary FPCR read.
18082 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18084         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18085         Optimize to reduce FPCR/FPSR accesses.
18087 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18089         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18090         dead->data[category] != NULL.
18092 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18094         [BZ #18647]
18095         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18096         and |x| close to 1, use absolute value of x when computing log.
18097         * math/auto-libm-test-in: Add more tests of pow.
18098         * math/auto-libm-test-out: Regenerated.
18100 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18102         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18103         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18104         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18106 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18108         [BZ #18525]
18109         * locales/km_KH: Remove timezone definition.
18110         * locales/lo_LA: Likewise.
18111         * locales/my_MM: Likewise.
18112         * locales/nan_TW@latin: Likewise.
18113         * locales/th_TH: Likewise.
18114         * locales/uk_UA: Likewise.
18116 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18118         [BZ #18265]
18119         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18120         (wcsncat): Likewise.
18121         (wcscmp): Likewise.
18122         (wcsncmp): Likewise.
18124 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18126         * test-skeleton.c (usage): New function.
18127         (main): Call usage when opt is '?'.
18129 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18131         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18132         before first use.
18134 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18136         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18137         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18138         in there too.
18140 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18142         * version.h (RELEASE): Set to "development".
18143         (VERSION): Set to "2.22.90"
18145         * version.h (RELEASE): Set to "stable".
18146         (VERSION): Set to "2.22"
18147         * include/features.h (__GLIBC_MINOR__): Set to 22.
18149 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18151         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18152         Restructure macro to avoid "value computed is not used" warning.
18153         (atomic_compare_and_exchange_val_acq): Likewise.
18155 2015-08-04  Andreas Schwab  <schwab@suse.de>
18157         [BZ #18635]
18158         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18159         ret.
18160         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18162 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18164         * po/pl.po: Updated translation.
18165         * po/uk.po: Likewise.
18166         * po/fi.po: Likewise.
18167         * po/ko.po: Likewise.
18168         * po/ru.po: Likewise.
18169         * po/vi.po: Likewise.
18171 2015-07-31  Zack Weinberg  <zackw@panix.com>
18173         [BZ #18681]
18174         * regexp.h: Add unconditional #warning stating that this header
18175         will be removed soon.  Revise banner comment to match.
18176         (compile): Consistently use ERROR instead of RETURN to report
18177         errors (partial fix for bz#18681).
18178         * regexp.c: Don't include regexp.h. Remove some unnecessary
18179         declarations.
18181 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18183         * po/libc.pot: Regenerated.
18185 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18187         [BZ #18740]
18188         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18189         float-vlen4-arch-ext-cflags): Removed.
18190         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18191         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18193 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18195         [BZ #14113]
18196         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18197         aligned to __aligned__.
18198         (pthread_cond_t, pthread_rwlock_t): Likewise.
18200 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18202         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18204 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18206         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18207         (struct sigaction): Change sa_flags from a long to an int, and add
18208         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18210 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18212         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18213         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18214         sysdeps/generic/sysdep.h include.
18215         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18216         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18217         sysdeps/hppa/sysdep.h.
18218         (ENTRY, PSEUDO): Undefine before defining.
18220 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18222         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18223         from scratch to use INTERNAL_SYSCALL.
18225 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18227         [BZ #18078]
18228         * scripts/check-localplt.awk: Support alternate relocations.
18229         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18230         sections.
18231         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18232         malloc entries with + REL R_386_GLOB_DAT.
18233         * sysdeps/x86_64/localplt.data: New file.
18235 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18237         [BZ #18731]
18238         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18239         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18240         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18242 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18244         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18246 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18248         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18249         directly in terms of __sync_fetch_and_add and delete (int) cast.
18251 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18253         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18254         the -D_ASM_IA64_CURRENT_H flag.
18256 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18258         [BZ #18641]
18259         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18261 2015-07-27  Andreas Schwab  <schwab@suse.de>
18263         * conform/conformtest.pl (checknamespace): Filter out string
18264         literals while tokenizing.
18266 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18268         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18269         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18270         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18272 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18274         * nptl/tst-join7mod.c: Add #include <string.h>.
18276 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18278         * sysdeps/nios2/libm-test-ulps: Update.
18280 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18282         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18283         Fix order of arguments to the rt_sigprocmask syscall.
18284         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18285         Likewise.
18287 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18289         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18291 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18293         [BZ #18457]
18294         * nptl/Makefile (tests): New test case tst-join7.
18295         (modules-names): New test case module tst-join7mod.
18296         * nptl/tst-join7.c: New file.
18297         * nptl/tst-join7mod.c: New file.
18298         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18299         all translation units in libc.so, libpthread.so and rtld.
18301 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18305 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18307         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18308         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18309         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18310         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18311         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18313         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18314         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18315         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18316         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18317         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18318         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18319         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18320         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18321         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18322         implementation.
18324 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18326         [BZ #17711]
18327         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18328         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18329         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18330         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18331         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18332         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18334 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18336         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18337         instead of just saying load lock in the comments.
18339 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18341         * sysdeps/unix/Subdirs: Moved ...
18342         * sysdeps/posix/Subdirs: ... here.
18343         * login/pty.h (struct termios, struct winsize): Add forward decls.
18344         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18345         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18346         * sysdeps/arm/nacl/libc.abilist: Updated.
18347         * sysdeps/nacl/libutil.abilist: New file.
18349         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18350         (SIGWINCH): New macro.
18352         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18353         * sysdeps/arm/nacl/libc.abilist: Add it.
18355 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18357         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18359 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18361         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18362         Swap __glibc_reserved0 and sa_flags order.
18364 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18366         [BZ #18657]
18367         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18368         are pending TLS destructor calls.
18369         * include/link.h (struct link_map): Add concurrency note for
18370         L_TLS_DTOR_COUNT.
18371         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18372         Don't touch the link map flag.  Atomically increment
18373         l_tls_dtor_count.
18374         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18375         Avoid taking the load lock and don't touch the link map flag.
18376         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18377         * stdlib/Makefile (tests): Use it.
18378         * stdlib/tst-tls-atexit.c (do_test): dlopen
18379         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18380         to allow tst-tls-atexit-nodelete test case to use it.
18382 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18384         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18385         to bits/types.h.
18386         (msgqnum_t): New typedef.
18387         (msglen_t): Likewise.
18388         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18389         and msg_qbytes type to msglen_t.
18391 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18393         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18394         pad0 to __glibc_reserved0.
18395         (struct stat64): Likewise.
18397 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18399         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18400         Change sa_flags from a long to an int and add __glibc_reserved0 before
18401         it for padding.
18403 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18405         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18406         anonymous by deleting "siginfo" name.
18408 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18410         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18411         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18412         rather than __nacl_irt_filename.
18413         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18415         * NEWS: New item for arm-nacl port.
18416         * sysdeps/arm/nacl/libc.abilist: New file.
18417         * sysdeps/nacl/ld.abilist: New file.
18418         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18419         * sysdeps/nacl/libanl.abilist: New file.
18420         * sysdeps/nacl/libcrypt.abilist: New file.
18421         * sysdeps/nacl/libdl.abilist: New file.
18422         * sysdeps/nacl/libm.abilist: New file.
18423         * sysdeps/nacl/libpthread.abilist: New file.
18424         * sysdeps/nacl/libresolv.abilist: New file.
18425         * sysdeps/nacl/librt.abilist: New file.
18427 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18429         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18430         __startcontext to initialize the new context.
18431         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18432         up CFI directive to forbid further backtracing.
18434 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18436         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18437         reference.
18438         * charmaps/ANSI_X3.4-1968: Likewise.
18439         * charmaps/BS_4730: Likewise.
18440         * charmaps/BS_VIEWDATA: Likewise.
18441         * charmaps/CP1250: Likewise.
18442         * charmaps/CP1251: Likewise.
18443         * charmaps/CP1252: Likewise.
18444         * charmaps/CP1253: Likewise.
18445         * charmaps/CP1254: Likewise.
18446         * charmaps/CP1255: Likewise.
18447         * charmaps/CP1256: Likewise.
18448         * charmaps/CSN_369103: Likewise.
18449         * charmaps/EBCDIC-DK-NO: Likewise.
18450         * charmaps/GB_1988-80: Likewise.
18451         * charmaps/GREEK-CCITT: Likewise.
18452         * charmaps/GREEK7: Likewise.
18453         * charmaps/INIS-8: Likewise.
18454         * charmaps/ISIRI-3342: Likewise.
18455         * charmaps/ISO_2033-1983: Likewise.
18456         * charmaps/ISO_5427-EXT: Likewise.
18457         * locales/POSIX: Likewise.
18458         * locales/ar_SA: Likewise.
18459         * locales/be_BY: Likewise.
18460         * locales/be_BY@latin: Likewise.
18461         * locales/ca_ES: Likewise.
18462         * locales/cs_CZ: Likewise.
18463         * locales/da_DK: Likewise.
18464         * locales/de_BE: Likewise.
18465         * locales/de_CH: Likewise.
18466         * locales/de_LU: Likewise.
18467         * locales/en_AU: Likewise.
18468         * locales/en_BW: Likewise.
18469         * locales/en_CA: Likewise.
18470         * locales/en_DK: Likewise.
18471         * locales/en_GB: Likewise.
18472         * locales/en_IE: Likewise.
18473         * locales/en_NZ: Likewise.
18474         * locales/en_ZA: Likewise.
18475         * locales/en_ZW: Likewise.
18476         * locales/es_AR: Likewise.
18477         * locales/es_BO: Likewise.
18478         * locales/es_CL: Likewise.
18479         * locales/es_CO: Likewise.
18480         * locales/es_DO: Likewise.
18481         * locales/es_EC: Likewise.
18482         * locales/es_ES: Likewise.
18483         * locales/es_HN: Likewise.
18484         * locales/es_MX: Likewise.
18485         * locales/es_PA: Likewise.
18486         * locales/es_PE: Likewise.
18487         * locales/es_PY: Likewise.
18488         * locales/es_SV: Likewise.
18489         * locales/es_US: Likewise.
18490         * locales/es_UY: Likewise.
18491         * locales/es_VE: Likewise.
18492         * locales/et_EE: Likewise.
18493         * locales/fa_IR: Likewise.
18494         * locales/fo_FO: Likewise.
18495         * locales/fr_CA: Likewise.
18496         * locales/fr_CH: Likewise.
18497         * locales/gv_GB: Likewise.
18498         * locales/he_IL: Likewise.
18499         * locales/hr_HR: Likewise.
18500         * locales/id_ID: Likewise.
18501         * locales/is_IS: Likewise.
18502         * locales/it_CH: Likewise.
18503         * locales/iw_IL: Likewise.
18504         * locales/kl_GL: Likewise.
18505         * locales/ko_KR: Likewise.
18506         * locales/kw_GB: Likewise.
18507         * locales/lg_UG: Likewise.
18508         * locales/lt_LT: Likewise.
18509         * locales/lv_LV: Likewise.
18510         * locales/mi_NZ: Likewise.
18511         * locales/nhn_MX: Likewise.
18512         * locales/nl_BE: Likewise.
18513         * locales/pl_PL: Likewise.
18514         * locales/sk_SK: Likewise.
18515         * locales/sl_SI: Likewise.
18516         * locales/sv_FI: Likewise.
18517         * locales/tl_PH: Likewise.
18518         * locales/tr_TR: Likewise.
18519         * locales/vi_VN: Likewise.
18521 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18523         [BZ #17475]
18524         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18525         of tu_IN and bh_IN.
18527 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18529         [BZ #18694]
18530         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18531         bits/wordsize.h.
18532         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18534 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18536         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18537         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18538         (spawn_thread): New function.
18539         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18540         (do_test): ... here.  Use IS_LOADED to test for its
18541         availability.
18543 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18545         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18547 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18549         [BZ #18696]
18550         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18551         si_addr_bnd.
18552         (si_lower): New.
18553         (si_upper): Likewise.
18555 2015-07-16  David S. Miller  <davem@davemloft.net>
18557         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18559 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18561         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18562         buffer.
18563         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18564         fail output information.
18566 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18569         and strstr-ppc64..
18570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18571         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18572         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18573         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18574         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18576 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18578         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18579         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18580         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18581         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18583 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18585         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18586         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18587         rtld_hidden_proto.
18588         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18590 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18592         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18593         the test can fail.
18595         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18597         [BZ #18676]
18598         * elf/tst-nodelete-opened.c: New test case.
18599         * elf/tst-nodelete-opened-lib.c: New test case module.
18600         * elf/Makefile (tests, modules-names): Use them.
18601         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18602         early.
18604 2015-07-15  David S. Miller  <davem@davemloft.net>
18606         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18607         futex-intenal.h
18608         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18609         * sysdeps/sparc/sparc64/Makefile: Likewise.
18610         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18611         Remove space from macro define.
18612         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18614 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18616         [BZ #17475]
18617         * locale/iso-639.def: Update Bhili and Tulu language codes as
18618         per iso639-3.
18620 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18622         * elf/tst-leaks1.c (main): Converted to ...
18623         (do_test): ... this.
18624         (TEST_FUNCTION): New macro.
18625         Include test-skeleton.c.
18626         * localedata/tst-langinfo.c (main): Converted to ...
18627         (do_test): ... this.
18628         (TEST_FUNCTION): New macro.
18629         Include test-skeleton.c.
18630         * math/test-fpucw.c (main): Converted to ...
18631         (do_test): ... this.
18632         (TEST_FUNCTION): New macro.
18633         Include test-skeleton.c.
18634         * math/test-tgmath.c (main): Converted to ...
18635         (do_test): ... this.
18636         (TEST_FUNCTION): New macro.
18637         Include test-skeleton.c.
18638         * math/test-tgmath2.c (main): Converted to ...
18639         (do_test): ... this.
18640         (TEST_FUNCTION): New macro.
18641         Include test-skeleton.c.
18642         * setjmp/tst-setjmp.c (main): Converted to ...
18643         (do_test): ... this.
18644         (TEST_FUNCTION): New macro.
18645         Include test-skeleton.c.
18646         * stdio-common/tst-sscanf.c (main): Converted to ...
18647         (do_test): ... this.
18648         (TEST_FUNCTION): New macro.
18649         Include test-skeleton.c.
18650         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18651         (do_test): ... this.
18652         (TEST_FUNCTION): New macro.
18653         Include test-skeleton.c.
18655         * elf/tst-audit9.c (main): Converted to ...
18656         (do_test): ... this.
18657         (TEST_FUNCTION): New macro.
18658         Include test-skeleton.c.
18660 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18662         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18664 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18666         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18667         New variable.
18669 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18671         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18673 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18675         * sysdeps/generic/dl-fileid.h: New file.
18676         * sysdeps/posix/dl-fileid.h: New file.
18677         * sysdeps/nacl/dl-fileid.h: New file.
18678         * include/link.h: Include <dl-fileid.h>.
18679         (struct link_map): Replace l_dev and l_ino with l_file_id.
18680         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18681         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18682         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18684 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18686         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18688 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18690         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18691         Add iff $CXX is set.
18692         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18693         Likewise.
18694         (tst-nodelete-zmodiff): Likewise.
18695         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18697 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18699         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18701 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18703         * sysdeps/aarch64/fpu/math_private.h
18704         (define math_opt_barrier): Add AArch64 version.
18705         (math_force_eval): Likewise.
18707 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18709         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18711 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18713         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18714         %ld with %jd and cast to intmax_t.
18715         (do_test_length_zero): Likewise.
18717 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18719         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18721 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18723         * sysdeps/tile/libm-test-ulps: Regenerated.
18725         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18726         Comment out the whole function, not just its body.
18728 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18730         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18731         locks.
18733         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18735 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18737         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18738         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18740 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18742         * sysdeps/nptl/futex-internal.h: New file.
18743         * sysdeps/nacl/futex-internal.h: New file.
18744         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18745         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18746         error checking.
18747         (setxid_unmark_thread): Likewise.
18748         (__nptl_setxid): Likewise.
18749         (__wait_lookup_done): Likewise.
18750         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18751         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18752         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18753         * nptl/pthread_once.c (clear_once_control): Likewise.
18754         (__pthread_once_slow): Likewise.
18755         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18756         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18757         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18758         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18759         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18760         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18761         Likewise.
18762         (__pthread_rwlock_rdlock): Likewise.
18763         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18764         Likewise.
18765         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18766         Likewise.
18767         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18768         Likewise.
18769         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18770         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18771         Likewise.
18772         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18773         __ASSUME_PRIVATE_FUTEX check.
18774         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18775         Check that shared futexes are supported.
18776         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18777         wrappers with error checking.
18778         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18779         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18780         * nptl/pthread_barrierattr_setpshared.c
18781         (pthread_barrierattr_setpshared): Check that shared futexes are
18782         supported.
18783         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18784         Likewise.
18785         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18786         Likewise.
18787         * nptl/sem_init.c (futex_private_if_supported): Remove.
18788         (__new_sem_init): Adapt and check that shared futexes are supported.
18789         * nptl/sem_open.c (sem_open): Likewise.
18790         * nptl/sem_post.c (futex_wake): Remove.
18791         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18792         (do_futex_wait): Use futex wrappers with error checking.
18793         * nptl/sem_wait.c: Include lowlevellock.h.
18794         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18795         Use futex_supports_pshared.
18796         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18797         Use futex wrappers with error checking.
18798         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18799         Likewise.
18800         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18801         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18802         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18803         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18804         (futex_wake): Likewise.
18805         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18806         (do_futex_wait): Use futex wrappers with error checking.
18807         (__new_sem_wait_slow): Update EINTR handling.
18808         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18810 2015-07-09  Martin Sebor  <msebor@redhat.com>
18812         [BZ #18435]
18813         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18814         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18815         * nptl/Makefile (test-xfail-tst-once5): Define.
18817 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18819         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18820         * elf/dl-minimal.c: For readability, reorder some definitions and
18821         introduce more page breaks.  Include <stdio.h>.
18822         (__libc_fatal): New function.
18824         * include/unistd.h: Add rtld_hidden_proto for _exit.
18825         * posix/_exit.c: Add rtld_hidden_def.
18826         * sysdeps/mach/hurd/_exit.c: Likewise.
18827         * sysdeps/nacl/_exit.c: Likewise.
18828         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18829         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18831 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18833         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18834         bndmov encoding with zero displacement.
18836 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18837             H.J. Lu  <hongjiu.lu@intel.com>
18839         [BZ #18134]
18840         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18841         * sysdeps/i386/configure: Regenerated.
18842         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18843         (_dl_runtime_profile): Save and restore Intel MPX return bound
18844         registers when calling _dl_call_pltexit.  Add
18845         PRESERVE_BND_REGS_PREFIX before return.
18846         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18847         (LRV_BND1_OFFSET): Likewise.
18848         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18849         lrv_bnd1.
18850         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18851         typo in bndmov encoding.
18852         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18853         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18854         branch instructions to preserve bounds.
18856 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18859         [GLIBC_2.22]: Add fmemopen.
18861 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18863         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18864         returns an error, also try to use host port from __mach_host_self for
18865         the __vm_wire call.
18866         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18868 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18870         [BZ #18400]
18871         [BZ #18648]
18872         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18873         Fix pr_uid and pr_gid members.
18874         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18875         definition to elf_greg_t.
18877 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18879         [BZ #18383]
18880         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18881         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18882         * sysdeps/arm/configure: Regenerated.
18883         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18884         (test-xfail-tst-tlsalign-static): Variable removed.
18886         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18887         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18888         rather than explicit 'ln -s'.
18890         * resolv/rpc/netdb.h: New file.
18891         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18893 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18895         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18896         length buffers.
18897         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18898         test-skeleton.c.
18900         [BZ #6544]
18901         [BZ #11216]
18902         [BZ #12836]
18903         [BZ #13151]
18904         [BZ #13152]
18905         [BZ #14292]
18906         * include/stdio.h (fmemopen): Remove hidden prototype.
18907         (__fmemopen): Add new hidden prototype.
18908         * libio/Makefile: Add oldfmemopen object.
18909         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18910         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18911         compliance.
18912         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18913         symbol compatibility.
18914         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18915         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18916         fmemopen.
18917         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18918         on append and read mode.
18919         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18920         fmemopen.
18921         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18922         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18923         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18924         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18925         Likewise.
18926         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18927         [GLIBC_2.22]: Likewise.
18928         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18929         Likewise.
18930         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18931         Likewise.
18932         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18933         [GLIBC_2.22]: Likewise.
18934         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18935         [GLIBC_2.22]: Likewise.
18936         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18937         [GLIBC_2.22]: Likewise.
18938         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18939         [GLIBC_2.22]: Likewise.
18940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18941         [GLIBC_2.22]: Likewise.
18942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18943         [GLIBC_2.22]: Likewise.
18944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18945         [GLIBC_2.22]: Likewise.
18946         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18947         Likewise.
18948         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18949         Likewise.
18950         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18951         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18952         [GLIBC_2.22]: Likewise.
18953         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18954         [GLIBC_2.22]: Likewise.
18955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18956         [GLIBC_2.22]: Likewise.
18957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18958         [GLIBC_2.22]: Likewise.
18959         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18960         Likewise.
18961         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18962         Likewise.
18963         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18964         Likewise.
18965         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18966         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18968 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18970         [BZ #18643]
18971         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18972         IPV6_PATHMTU, and IPV6_DONTFRAG.
18974 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18976         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18977         and _IO_UNBUFFERED.
18978         * libio/oldfileops.c: Likewise.
18979         * libio/wfileops.c: Likewise.
18981 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18983         * nscd/selinux.c: Delete selinux/flask.h include.
18985 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18987         [BZ #18641]
18988         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18989         (putpwent): Likewise.
18990         (getpwnam): Likewise.
18991         (getpwent_r): Likewise.
18992         (getpwuid_r): Likewise.
18993         (getpwnam_r): Likewise.
18994         (fgetpwent_r): Likewise.
18996 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18998         [BZ #18557]
18999         * inet/rcmd.c (__validuser2_sa): Check user first to
19000         short-circuit host check.
19002 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19003             Mikhail Ilin  <m.ilin@samsung.com>
19005         [BZ #17833]
19006         * elf/Makefile (tests): Add tst-nodelete.
19007         (modules-names): Add tst-nodelete-uniquemod.
19008         (tst-nodelete-uniquemod.so-no-z-defs): New.
19009         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19010         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19011         ($(objpfx)tst-nodelete): Likewise.
19012         ($(objpfx)tst-nodelete.out): Likewise.
19013         (LDFLAGS-tst-nodelete): Likewise.
19014         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19015         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19016         implement forced object deletion.
19017         (_dl_close): Pass false to _dl_close_worker.
19018         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19019         * elf/tst-nodelete.cc: New file.
19020         * elf/tst-nodeletelib.cc: Likewise.
19021         * elf/tst-znodeletelib.cc: Likewise.
19022         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19024 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19026         [BZ #18508]
19027         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19028         Depend on $(libdl).
19029         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19030         is not called infinitely times.
19031         (backtrace_helper): New function.
19032         (trace_arg): New struct.
19033         (st1): Enlarge stack size.
19034         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19035         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19036         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19037         Likewise.
19039 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19041         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19043 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19045         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19046         Include sys/types.h instead of bits/types.h.
19047         Remove inclusion of bits/wordsize.h.
19049 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19051         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19052         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19053         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19054         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19055         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19056         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19058 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19060         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19061         link-defines.sym.
19062         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19063         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19064         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19065         and LR_SIZE.
19066         * sysdeps/i386/link-defines.sym: New file.
19068 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19070         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19071         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19072         ($(objpfx)tst-audit3): New rule.
19073         ($(objpfx)tst-audit3.out): Likewise.
19074         * sysdeps/i386/tst-audit3.c: New file.
19075         * sysdeps/i386/tst-audit3.h: Likewise.
19076         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19077         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19079 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19081         [BZ #18633]
19082         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19083         pointer in C code.
19084         (__strcat_c): Likewise.
19085         (__strcat_g): Likewise.
19087 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19089         [BZ #18592]
19090         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19092 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19094         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19095         New function.  (__ieee754_sqrtf): New function.
19096         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19097         New function.
19098         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19099         New function.
19101 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19103         * sysdeps/ieee754/support.c: Remove unused file.
19105 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19107         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19108         registers instead of d ones so the layout is kernel abi compatible.
19109         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19110         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19111         Likewise.
19113 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19115         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19117 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19119         [BZ #18619]
19120         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19121         and return argument in case of subnormal argument.
19123 2015-07-01  Martin Sebor  <msebor@redhat.com>
19125         [BZ #18435]
19126         * nptl/Makefile: Add tst-once5.cc.
19127         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19128         Remove macro redefinitions.
19129         * nptl/tst-once5.cc: New test.
19131 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19133         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19135         * sysdeps/arm/libm-test-ulps: Regenerated.
19137         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19138         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19140 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19142         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19143         lll_lock_wait_private and lll_futex_wake probes.
19145         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19146         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19147         Likewise.
19148         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19149         atomic_spin_nop.
19150         * sysdeps/x86_64/bits/atomic.h: Likewise.
19151         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19152         to atomic_spin_nop and move ...
19153         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19154         ... here and ...
19155         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19156         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19157         atomic_spin_nop instead of BUSY_WAIT_NOP.
19158         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19159         Likewise.
19160         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19161         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19162         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19163         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19164         instead of atomic_delay.
19166 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19168         [BZ #18613]
19169         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19170         X_ADJ not X when adjusting exponent.
19171         (__ieee754_gamma_r): Do intermediate computations in
19172         round-to-nearest then adjust overflowing and underflowing results
19173         as needed.
19174         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19175         of X_ADJ not X when adjusting exponent.
19176         (__ieee754_gammaf_r): Do intermediate computations in
19177         round-to-nearest then adjust overflowing and underflowing results
19178         as needed.
19179         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19180         log of X_ADJ not X when adjusting exponent.
19181         (__ieee754_gammal_r): Do intermediate computations in
19182         round-to-nearest then adjust overflowing and underflowing results
19183         as needed.  Use 1.0L not 1.0f as numerator of division.
19184         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19185         log of X_ADJ not X when adjusting exponent.
19186         (__ieee754_gammal_r): Do intermediate computations in
19187         round-to-nearest then adjust overflowing and underflowing results
19188         as needed.  Use 1.0L not 1.0f as numerator of division.
19189         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19190         of X_ADJ not X when adjusting exponent.
19191         (__ieee754_gammal_r): Do intermediate computations in
19192         round-to-nearest then adjust overflowing and underflowing results
19193         as needed.  Use 1.0L not 1.0f as numerator of division.
19194         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19195         to auto-libm-test-in.
19196         (tgamma_test): Use ALL_RM_TEST.
19197         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19198         tests of tgamma with spurious-overflow.
19199         * math/auto-libm-test-out: Regenerated.
19200         * math/gen-libm-have-vector-test.sh: Do not check for START.
19201         * sysdeps/i386/fpu/libm-test-ulps: Update.
19202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19204         [BZ #18612]
19205         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19206         arguments, just return 0.5 times the argument, with underflow
19207         forced as needed.
19208         * math/auto-libm-test-in: Add more tests of j1.
19209         * math/auto-libm-test-out: Regenerated.
19211         [BZ #16559]
19212         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19213         (__ieee754_j1): Force underflow exception for small results.
19214         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19215         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19216         (__ieee754_j1f): Force underflow exception for small results.
19217         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19218         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19220         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19221         (__ieee754_j1l): Force underflow exception for small results.
19222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19223         * math/auto-libm-test-in: Add more tests of j1 and jn.
19224         * math/auto-libm-test-out: Regenerated.
19226         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19227         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19228         (PF_MPLS): Likewise.
19229         (AF_IB): Likewise.
19230         (AF_MPLS): Likewise.
19231         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19232         value and macro.
19233         (MS_RMT_MASK): Include MS_LAZYTIME.
19235 2015-06-26  Mel Gorman  <mgorman@suse.de>
19237         [BZ #18502]
19238         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19239         already minimal.
19241 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19243         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19244         (DT_MIPS_NUM): Update.
19245         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19246         DT_MIPS_RLD_MAP_REL.
19248 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19250         [BZ #16559]
19251         [BZ #18602]
19252         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19253         round-to-nearest internally then recompute results that
19254         underflowed to zero in the original rounding mode.
19255         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19256         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19258         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19259         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19260         * sysdeps/i386/fpu/libm-test-ulps: Update.
19261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19263 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19265         * NEWS: Fixed description of link with vector math library.
19267 2015-06-25  Andreas Schwab  <schwab@suse.de>
19269         [BZ #18549]
19270         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19271         * libio/test-fmemopen.c (do_test): Add test for it.
19273 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19275         [BZ #17841]
19276         * Makeconfig (no-pie-ldflag): New.
19277         (+link): Set to $(+link-pie) if default to PIE.
19278         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19279         * config.make.in (build-pie-default): New.
19280         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19281         is default.  AC_SUBST.
19282         * configure: Regenerated.
19283         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19285 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19287         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19288         to 'unsigned int'.
19290         * resolv/gai_misc.h (struct waitlist): Change type of field
19291         counterp to 'volatile unsigned int *'.
19292         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19293         FUTEXADDR and OLDVAL.
19294         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19295         Give local variable TOTAL type 'volatile unsigned int'.
19296         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19297         * resolv/gai_suspend.c (gai_suspend):
19298         Give local variable CNTR type 'unsigned int'.
19300         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19301         counterp to 'volatile unsigned int *'.
19302         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19303         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19304         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19305         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19306         Give local variable TOTAL type 'volatile unsigned int'.
19307         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19309 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19311         [BZ #18383]
19312         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19313         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19314         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19315         comment for i386/x86-64.
19316         (test-xfail-tst-tlsalign-extern-static): Removed.
19318 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19320         * math/test-double.h: New file.
19321         * math/test-float.h: Likewise.
19322         * math/test-ldouble.h: Likewise.
19323         * math/test-math-inline.h: Likewise.
19324         * math/test-math-no-inline.h: Likewise.
19325         * math/test-math-scalar.h: Likewise.
19326         * math/test-math-vector.h: Likewise.
19327         * math/test-vec-loop.h: Remove file.  Contents moved into
19328         test-math-vector.h.
19329         * math/libm-test.inc (MATHCONST): Do not document macro.
19330         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19331         and test-math-scalar.h.
19332         (FUNC): Remove macro.
19333         (FUNC_TEST): Likewise.
19334         (FLOAT): Likewise.
19335         (MATHCONST): Likewise.
19336         (PRINTF_EXPR): Likewise.
19337         (PRINTF_XEXPR): Likewise.
19338         (PRINTF_NEXPR): Likewise.
19339         (TEST_DOUBLE): Likewise.
19340         (TEST_MATHVEC): Likewise.
19341         (__NO_MATH_INLINES): Likewise.
19342         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19343         and test-math-scalar.h.
19344         (FUNC): Remove macro.
19345         (FUNC_TEST): Likewise.
19346         (FLOAT): Likewise.
19347         (MATHCONST): Likewise.
19348         (PRINTF_EXPR): Likewise.
19349         (PRINTF_XEXPR): Likewise.
19350         (PRINTF_NEXPR): Likewise.
19351         (TEST_FLOAT): Likewise.
19352         (TEST_MATHVEC): Likewise.
19353         (__NO_MATH_INLINES): Likewise.
19354         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19355         and 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_DOUBLE): Likewise.
19364         (TEST_MATHVEC): Likewise.
19365         (TEST_INLINE): Likewise.
19366         (__NO_MATH_INLINES): Likewise.
19367         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19368         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_FLOAT): Likewise.
19377         (TEST_MATHVEC): Likewise.
19378         (TEST_INLINE): Likewise.
19379         (__NO_MATH_INLINES): Likewise.
19380         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19381         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         (TEST_INLINE): Likewise.
19392         (__NO_MATH_INLINES): Likewise.
19393         * math/test-ldouble.c: Include test-ldouble.h,
19394         test-math-no-inline.h and test-math-scalar.h.
19395         (FUNC): Remove macro.
19396         (FUNC_TEST): Likewise.
19397         (FLOAT): Likewise.
19398         (MATHCONST): Likewise.
19399         (PRINTF_EXPR): Likewise.
19400         (PRINTF_XEXPR): Likewise.
19401         (PRINTF_NEXPR): Likewise.
19402         (TEST_LDOUBLE): Likewise.
19403         (TEST_MATHVEC): Likewise.
19404         (__NO_MATH_INLINES): Likewise.
19405         * math/test-double-vlen2.h: Include test-double.h,
19406         test-math-no-inline.h and test-math-vector.h.
19407         (FLOAT): Remove macro.
19408         (FUNC): Likewise.
19409         (MATHCONST): Likewise.
19410         (PRINTF_EXPR): Likewise.
19411         (PRINTF_XEXPR): Likewise.
19412         (PRINTF_NEXPR): Likewise.
19413         (TEST_DOUBLE): Likewise.
19414         (TEST_MATHVEC): Likewise.
19415         (__NO_MATH_INLINES): Likewise.
19416         (CNCT): Likewise.
19417         (CONCAT): Likewise.
19418         (WRAPPER_NAME): Likewise.
19419         (WRAPPER_DECL): Likewise.
19420         (WRAPPER_DECL_ff): Likewise.
19421         (WRAPPER_DECL_fFF): Likewise.
19422         (VECTOR_WRAPPER): Likewise.
19423         (VECTOR_WRAPPER_ff): Likewise.
19424         (VECTOR_WRAPPER_fFF): Likewise.
19425         (VEC_LEN): New macro.
19426         * math/test-double-vlen4.h: Include test-double.h,
19427         test-math-no-inline.h and test-math-vector.h.
19428         (FLOAT): Remove macro.
19429         (FUNC): Likewise.
19430         (MATHCONST): Likewise.
19431         (PRINTF_EXPR): Likewise.
19432         (PRINTF_XEXPR): Likewise.
19433         (PRINTF_NEXPR): Likewise.
19434         (TEST_DOUBLE): Likewise.
19435         (TEST_MATHVEC): Likewise.
19436         (__NO_MATH_INLINES): Likewise.
19437         (CNCT): Likewise.
19438         (CONCAT): Likewise.
19439         (WRAPPER_NAME): Likewise.
19440         (WRAPPER_DECL): Likewise.
19441         (WRAPPER_DECL_ff): Likewise.
19442         (WRAPPER_DECL_fFF): Likewise.
19443         (VECTOR_WRAPPER): Likewise.
19444         (VECTOR_WRAPPER_ff): Likewise.
19445         (VECTOR_WRAPPER_fFF): Likewise.
19446         (VEC_LEN): New macro.
19447         * math/test-double-vlen8.h: Include test-double.h,
19448         test-math-no-inline.h and test-math-vector.h.
19449         (FLOAT): Remove macro.
19450         (FUNC): Likewise.
19451         (MATHCONST): Likewise.
19452         (PRINTF_EXPR): Likewise.
19453         (PRINTF_XEXPR): Likewise.
19454         (PRINTF_NEXPR): Likewise.
19455         (TEST_DOUBLE): Likewise.
19456         (TEST_MATHVEC): Likewise.
19457         (__NO_MATH_INLINES): Likewise.
19458         (CNCT): Likewise.
19459         (CONCAT): Likewise.
19460         (WRAPPER_NAME): Likewise.
19461         (WRAPPER_DECL): Likewise.
19462         (WRAPPER_DECL_ff): Likewise.
19463         (WRAPPER_DECL_fFF): Likewise.
19464         (VECTOR_WRAPPER): Likewise.
19465         (VECTOR_WRAPPER_ff): Likewise.
19466         (VECTOR_WRAPPER_fFF): Likewise.
19467         (VEC_LEN): New macro.
19468         * math/test-float-vlen4.h: Include test-float.h,
19469         test-math-no-inline.h and test-math-vector.h.
19470         (FLOAT): Remove macro.
19471         (FUNC): Likewise.
19472         (MATHCONST): Likewise.
19473         (PRINTF_EXPR): Likewise.
19474         (PRINTF_XEXPR): Likewise.
19475         (PRINTF_NEXPR): Likewise.
19476         (TEST_FLOAT): Likewise.
19477         (TEST_MATHVEC): Likewise.
19478         (__NO_MATH_INLINES): Likewise.
19479         (CNCT): Likewise.
19480         (CONCAT): Likewise.
19481         (WRAPPER_NAME): Likewise.
19482         (WRAPPER_DECL): Likewise.
19483         (WRAPPER_DECL_ff): Likewise.
19484         (WRAPPER_DECL_fFF): Likewise.
19485         (VECTOR_WRAPPER): Likewise.
19486         (VECTOR_WRAPPER_ff): Likewise.
19487         (VECTOR_WRAPPER_fFF): Likewise.
19488         (VEC_LEN): New macro.
19489         * math/test-float-vlen8.h: Include test-float.h,
19490         test-math-no-inline.h and test-math-vector.h.
19491         (FLOAT): Remove macro.
19492         (FUNC): Likewise.
19493         (MATHCONST): Likewise.
19494         (PRINTF_EXPR): Likewise.
19495         (PRINTF_XEXPR): Likewise.
19496         (PRINTF_NEXPR): Likewise.
19497         (TEST_FLOAT): Likewise.
19498         (TEST_MATHVEC): Likewise.
19499         (__NO_MATH_INLINES): Likewise.
19500         (CNCT): Likewise.
19501         (CONCAT): Likewise.
19502         (WRAPPER_NAME): Likewise.
19503         (WRAPPER_DECL): Likewise.
19504         (WRAPPER_DECL_ff): Likewise.
19505         (WRAPPER_DECL_fFF): Likewise.
19506         (VECTOR_WRAPPER): Likewise.
19507         (VECTOR_WRAPPER_ff): Likewise.
19508         (VECTOR_WRAPPER_fFF): Likewise.
19509         (VEC_LEN): New macro.
19510         * math/test-float-vlen16.h: Include test-float.h,
19511         test-math-no-inline.h and test-math-vector.h.
19512         (FLOAT): Remove macro.
19513         (FUNC): Likewise.
19514         (MATHCONST): Likewise.
19515         (PRINTF_EXPR): Likewise.
19516         (PRINTF_XEXPR): Likewise.
19517         (PRINTF_NEXPR): Likewise.
19518         (TEST_FLOAT): Likewise.
19519         (TEST_MATHVEC): Likewise.
19520         (__NO_MATH_INLINES): Likewise.
19521         (CNCT): Likewise.
19522         (CONCAT): Likewise.
19523         (WRAPPER_NAME): Likewise.
19524         (WRAPPER_DECL): Likewise.
19525         (WRAPPER_DECL_ff): Likewise.
19526         (WRAPPER_DECL_fFF): Likewise.
19527         (VECTOR_WRAPPER): Likewise.
19528         (VECTOR_WRAPPER_ff): Likewise.
19529         (VECTOR_WRAPPER_fFF): Likewise.
19530         (VEC_LEN): New macro.
19531         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19532         test-vec-loop.h.
19533         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19534         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19535         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19536         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19537         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19538         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19539         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19541 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19543         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19544         (__getlogin_r): ... this.
19546 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19548         [BZ #18594]
19549         * math/s_ccosh.c (__ccosh): Compare with least normal value
19550         instead of comparing class with FP_SUBNORMAL.
19551         * math/s_ccoshf.c (__ccoshf): Likewise.
19552         * math/s_ccoshl.c (__ccoshl): Likewise.
19553         * math/s_cexp.c (__cexp): Likewise.
19554         * math/s_cexpf.c (__cexpf): Likewise.
19555         * math/s_cexpl.c (__cexpl): Likewise.
19556         * math/s_csin.c (__csin): Likewise.
19557         * math/s_csinf.c (__csinf): Likewise.
19558         * math/s_csinh.c (__csinh): Likewise.
19559         * math/s_csinhf.c (__csinhf): Likewise.
19560         * math/s_csinhl.c (__csinhl): Likewise.
19561         * math/s_csinl.c (__csinl): Likewise.
19562         * math/s_ctan.c (__ctan): Likewise.
19563         * math/s_ctanf.c (__ctanf): Likewise.
19564         * math/s_ctanh.c (__ctanh): Likewise.
19565         * math/s_ctanhf.c (__ctanhf): Likewise.
19566         * math/s_ctanhl.c (__ctanhl): Likewise.
19567         * math/s_ctanl.c (__ctanl): Likewise.
19568         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19569         csin, csinh, ctan and ctanh.
19570         * math/auto-libm-test-out: Regenerated.
19571         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19572         * sysdeps/i386/fpu/libm-test-ulps: Update.
19573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19575 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19577         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19578         return value is wrong, print the expected value too.
19580 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19582         [BZ #18585]
19583         * elf/readlib.c (is_gdb_python_file): New.
19584         (process_file): Don't issue errors on filenames with -gdb.py
19585         suffix.
19587 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19589         * math/auto-libm-test-in: Add more tests of csin and csinh.
19590         * math/auto-libm-test-out: Regenerated.
19591         * math/libm-test.inc (csin_test_data): Remove tests moved to
19592         auto-libm-test-in.
19593         (csinh_test_data): Likewise.
19595         [BZ #18593]
19596         * math/s_csin.c (__csin): Negate before rather than after possibly
19597         overflowing multiplication.
19598         * math/s_csinf.c (__csinf): Likewise.
19599         * math/s_csinh.c (__csinh): Likewise.
19600         * math/s_csinhf.c (__csinhf): Likewise.
19601         * math/s_csinhl.c (__csinhl): Likewise.
19602         * math/s_csinl.c (__csinl): Likewise.
19603         * math/auto-libm-test-in: Add some tests of csin and csinh.
19604         * math/auto-libm-test-out: Regenerated.
19605         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19606         (csinh_test_data): Likewise.
19607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19609         [BZ #18586]
19610         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19611         underflow exception for small results.
19613 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19615         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19616         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19617         variable and included header.
19618         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19619         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19620         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19621         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19622         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19623         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19624         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19626         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19627         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19628         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19629         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19630         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19631         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19632         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19633         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19635 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19637         [BZ #16526]
19638         [BZ #16538]
19639         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19640         (__sin): Force underflow exception for arguments with small
19641         absolute value.
19642         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19643         (__kernel_sinf): Force underflow exception for arguments with
19644         small absolute value.
19645         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19646         (__kernel_sincosl): Force underflow exception for arguments with
19647         small absolute value.
19648         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19649         (__kernel_sinl): Force underflow exception for arguments with
19650         small absolute value.
19651         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19652         (__kernel_sincosl): Force underflow exception for arguments with
19653         small absolute value.
19654         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19655         (__kernel_sinl): Force underflow exception for arguments with
19656         small absolute value.
19657         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19658         (__kernel_sinl): Force underflow exception for arguments with
19659         small absolute value.
19660         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19661         (__kernel_sinf): Force underflow exception for arguments with
19662         small absolute value.
19663         * math/auto-libm-test-in: Add more tests of sin and sincos.
19664         * math/auto-libm-test-out: Regenerated.
19666         [BZ #18245]
19667         [BZ #18583]
19668         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19669         (__kernel_standard_l): Use feholdexcept and fesetenv around
19670         conversion to double instead of special-casing overflow and
19671         underflow.
19672         * math/libm-test.inc (fmod_test_data): Add more tests.
19673         (remainder_test_data): Likewise.
19674         (sqrt_test_data): Likewise.
19676 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19678         [BZ #17403]
19679         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19680         atomic_read_barrier, atomic_write_barrier): Define.
19681         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19682         atomic_read_barrier, atomic_write_barrier): Define.
19684 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19686         * math/Makefile [$(PERL) != no]
19687         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19688         dependency on libm-test.stmp below the inclusion of Rules.
19690 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19692         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19693         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19694         and included header.
19695         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19696         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19697         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19698         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19699         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19700         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19701         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19702         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19703         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19704         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19705         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19706         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19707         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19708         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19709         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19710         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19711         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19712         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19713         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19715 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19717         [BZ #18371]
19718         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19719         intermediate but not final result might underflow.
19720         * math/s_csqrtf.c (__csqrtf): Likewise.
19721         * math/s_csqrtl.c (__csqrtl): Likewise.
19722         * math/auto-libm-test-in: Add more tests of csqrt.
19723         * math/auto-libm-test-out: Regenerated.
19724         * sysdeps/i386/fpu/libm-test-ulps: Update.
19726         [BZ #18219]
19727         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19728         threshold on absolute value of exponent for which scaling is used.
19729         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19730         * math/auto-libm-test-in: Add more tests of exp2.
19731         * math/auto-libm-test-out: Regenerated.
19733 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19735         [BZ #17977]
19736         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19737         when initializing interface list, based on the bug analysis
19738         and the patch proposed by Eric Newton.
19739         * resolv/tst-res_hconf_reorder.c: New test.
19740         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19741         tst-res_hconf_reorder.
19742         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19743         and $(shared-thread-library).
19744         (tst-res_hconf_reorder-ENV): New variable.
19746         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19747         in comment.
19749 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19751         [BZ #16353]
19752         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19753         (__expm1): Force underflow exception for arguments with small
19754         absolute value.
19755         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19756         (__expm1f): Force underflow exception for arguments with small
19757         absolute value.
19758         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19759         (__expm1): Force underflow exception for arguments with small
19760         absolute value.
19761         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19762         (__expm1f): Force underflow exception for arguments with small
19763         absolute value.
19764         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19765         Check for small arguments before calling __expm1.
19766         * math/auto-libm-test-in: Do not mark underflow exceptions as
19767         possibly missing for bug 16353.
19768         * math/auto-libm-test-out: Regenerated.
19770 2015-06-22  Andreas Schwab  <schwab@suse.de>
19772         [BZ #18513]
19773         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19774         PTR queries.
19776 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19778         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19780         * string/strcoll_l.c: Remove unused struct element idxnow.
19782 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19784         [BZ #18569]
19785         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19786         underflow and return argument in case of subnormal argument.
19787         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19788         Likewise.
19789         * math/auto-libm-test-in: Add more tests of expm1.
19790         * math/auto-libm-test-out: Regenerated.
19792         [BZ #16361]
19793         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19794         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19795         tiny results.
19796         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19797         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19798         tiny results.
19799         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19800         mark underflow exceptions as possibly missing for bug 16361.
19801         * math/auto-libm-test-out: Regenerated.
19803 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19805         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19806         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19807         Remove variable.
19808         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19809         (test-xfail-XOPEN2K8/utmpx.h/conform).
19811         * conform/conformtest.pl ($xerrors): New variable.
19812         (note_error): New function.
19813         (compiletest): New argument $xfail.  Use not_error.
19814         (runtest): Likewise.
19815         (top level): Handle xfail- lines.  Update calls to compiletest and
19816         runtest.  Handle xfail- and optional- in headers listed with
19817         allow-header.
19818         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19819         (O_EXEC): Likewise.
19820         (O_SEARCH): Likewise.
19821         * conform/data/stropts.h-data (ioctl): Likewise.
19822         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19823         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19824         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19825         (msghdr.msg_controllen): Likewise.
19826         (cmsghdr.cmsg_len): Likewise.
19827         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19828         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19829         variable.
19830         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19831         (test-xfail-XPG4/stropts.h/conform): Likewise.
19832         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19833         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19834         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19835         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19836         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19837         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19838         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19839         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19840         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19841         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19842         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19843         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19844         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19845         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19846         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19847         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19848         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19849         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19850         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19852 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19854         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19855         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19856         definitions for proper unfolding of __MATHDECL_VEC.
19858 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19860         * benchtests/bench-strcoll.c:
19861         Include string.h.
19862         (main): Remove unused variable res.
19864 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19866         * timezone/Makefile (%/UTC %/Universal):
19867         Generate test-result files for UTC and Universal.
19869 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19871         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19873 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19875         [BZ #16350]
19876         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19877         for arguments with small absolute value.
19878         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19879         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19880         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19881         (__asinh): Force underflow exception for arguments with small
19882         absolute value.
19883         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19884         (__asinhf): Force underflow exception for arguments with small
19885         absolute value.
19886         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19887         (__asinhl): Force underflow exception for arguments with small
19888         absolute value.
19889         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19890         (__asinhl): Force underflow exception for arguments with small
19891         absolute value.
19892         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19893         (__asinhl): Force underflow exception for arguments with small
19894         absolute value.
19895         * math/auto-libm-test-in: Do not mark underflow exceptions as
19896         possibly missing for bug 16350.
19897         * math/auto-libm-test-out: Regenerated.
19899         * include/bits/ipc.h: Remove file.
19900         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19901         variable.
19902         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19903         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19904         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19905         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19906         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19907         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19908         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19909         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19910         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19912         * math/auto-libm-test-in: Remove spurious underflow allowance for
19913         tests of cexp.
19914         * math/auto-libm-test-out: Regenerated.
19916         [BZ #18558]
19917         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19918         unconditional definition.
19919         (MCAST_BLOCK_SOURCE): Likewise.
19920         (MCAST_UNBLOCK_SOURCE): Likewise.
19921         (MCAST_LEAVE_GROUP): Likewise.
19922         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19923         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19924         (MCAST_MSFILTER): Likewise.
19925         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19926         Remove variable.
19927         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19928         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19929         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19930         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19931         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19933 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19935         * NEWS: Mention addition of x86_64 vector sincosf.
19936         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19937         * math/test-float-vlen4.h: Likewise.
19938         * math/test-float-vlen8.h: Likewise.
19939         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19940         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19941         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19942         * sysdeps/x86_64/fpu/Versions: New versions added.
19943         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19944         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19945         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19946         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19947         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19949         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19950         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19951         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19952         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19953         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19954         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19955         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19956         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19957         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19958         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19959         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19960         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19961         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19962         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19964         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19965         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19966         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19968         * NEWS: Mention addition of x86_64 vector sincos.
19969         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19970         * math/math.h (__MATHDECL_VEC): New macro.
19971         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19972         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19973         declaration under condition.
19974         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19975         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19976         TEST_VEC_LOOP change.
19977         * math/test-double-vlen4.h: Likewise.
19978         * math/test-double-vlen8.h: Likewise.
19979         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19980         * math/test-float-vlen4.h: Likewise.
19981         * math/test-float-vlen8.h: Likewise.
19982         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19983         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19984         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19985         * sysdeps/x86_64/fpu/Versions: New versions added.
19986         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19987         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19988         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19989         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19990         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19991         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19992         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19993         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19994         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19995         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19996         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19997         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19998         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19999         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20000         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20001         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20002         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20003         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20004         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20005         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20006         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20007         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20008         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20009         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20011         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20012         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20013         redirections for powf.
20014         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20015         * sysdeps/x86_64/fpu/Versions: New versions added.
20016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20018         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20019         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20020         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20021         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20022         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20023         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20024         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20025         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20026         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20027         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20028         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20029         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20030         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20031         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20032         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20033         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20034         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20035         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20036         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20037         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20038         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20039         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20040         * math/test-float-vlen16.h: Fixed 2 argument macro.
20041         * math/test-float-vlen4.h: Likewise.
20042         * math/test-float-vlen8.h: Likewise.
20043         * NEWS: Mention addition of x86_64 vector powf.
20045 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20047         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20048         and redefine.
20049         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20050         and redefine.
20051         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20052         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20053         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20055         [BZ #18553]
20056         * resource/getpriority.c (getpriority): Rename to __getpriority
20057         and define as weak alias of __getpriority.
20058         * resource/setpriority.c (setpriority): Rename to __setpriority
20059         and define as weak alias of __setpriority.
20060         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20061         __getpriority and define as weak alias of __getpriority.
20062         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20063         __setpriority and define as weak alias of __setpriority.
20064         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20065         strong name.
20066         (setpriority): Use __setpriority as strong name.
20067         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20068         __getpriority and define as weak alias of __getpriority.
20069         * include/sys/resource.h (__getpriority): Declare.  Use
20070         libc_hidden_proto.
20071         (__setpriority): Likewise.
20072         (getpriority): Don't use libc_hidden_proto.
20073         (setpriority): Likewise.
20074         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20075         getpriority.  Call __setpriority instead of setpriority.
20076         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20077         Remove variable.
20079         [BZ #18547]
20080         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20081         as weak alias of __getttynam.  Use prototype function definition.
20082         Call __setttyent, __getttyent and __endttyent instead of
20083         setttyent, getttyent and endttyent.
20084         (getttyent): Rename to __getttyent and define as weak alias of
20085         __getttyent.  Call __setttyent instead of setttyent.  Call
20086         __fgets_unlocked instead of fgets_unlocked.
20087         (setttyent): Rename to __setttyent and define as weak alias of
20088         __setttyent.
20089         (endttyent): Rename to __endttyent and define as weak alias of
20090         __endttyent.
20091         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20092         (__setttyent): Likewise.
20093         (__endttyent): Likewise.
20094         (getttyent): Don't use libc_hidden_proto.
20095         (setttyent): Likewise.
20096         (endttyent): Likewise.
20097         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20098         __endttyent instead of setttyent, getttyent and endttyent.
20099         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20100         Remove variable.
20102         [BZ #18546]
20103         * socket/recv.c (__recv): Use libc_hidden_def.
20104         * socket/socket.c (__socket): Likewise.
20105         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20106         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20107         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20108         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20109         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20110         libc_hidden_def.
20111         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20112         libc_hidden_weak.
20113         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20114         Use libc_hidden_proto.
20115         (__recv): Likewise.
20116         * socket/Versions (libc): Export __recv and __socket at version
20117         GLIBC_PRIVATE.
20118         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20119         instead of recv.
20120         (init_mq_netlink): Call __socket instead of socket.
20121         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20122         Remove variable.
20124         [BZ #18545]
20125         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20126         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20127         hidden_weak.
20128         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20129         define as alias of __mq_timedsend.  Use hidden_weak.
20130         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20131         __mq_timedsend as strong name.
20132         (mq_timedreceive): Use __mq_timedreceive as strong name.
20133         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20134         (__mq_timedreceive): Likewise.
20135         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20136         __mq_timedreceive instead of mq_timedreceive.
20137         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20138         instead of mq_timedsend.
20139         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20140         Remove variable.
20142         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20143         hidden_def and hidden_weak instead of libc_hidden_def and
20144         libc_hidden_weak.
20145         (top level): Refer to hidden_def in comment.
20146         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20147         macro.  Use it instead of libc_hidden_def.
20148         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20149         specify __GI_* name explicitly.
20150         (mq_timedreceive): Likewise.
20151         (mq_setattr): Likewise.
20153         [BZ #18544]
20154         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20155         __pthread_barrier_init and define as weak alias of
20156         __pthread_barrier_init.
20157         * sysdeps/sparc/nptl/pthread_barrier_init.c
20158         (pthread_barrier_init): Likewise.
20159         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20160         __pthread_barrier_wait and define as weak alias of
20161         __pthread_barrier_wait.
20162         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20163         (pthread_barrier_wait): Likewise.
20164         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20165         (pthread_barrier_wait): Likewise.
20166         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20167         (pthread_barrier_wait): Likewise.
20168         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20169         (pthread_barrier_wait): Likewise.
20170         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20171         __pthread_barrier_wait at version GLIBC_PRIVATE.
20172         * include/pthread.h (__pthread_barrier_init): Declare.
20173         (__pthread_barrier_wait): Likewise.
20174         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20175         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20176         (helper_thread): Likewise.
20177         (init_mq_netlink): Call __pthread_barrier_init instead of
20178         pthread_barrier_init.
20180         [BZ #18542]
20181         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20182         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20183         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20184         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20185         vswscanf.
20186         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20187         Remove variable.
20189         [BZ #18540]
20190         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20191         strong alias of _IO_fflush.  Use libc_hidden_def.
20192         * libio/iofflush_u.c (fflush_unlocked): Rename to
20193         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20194         Use libc_hidden_weak.
20195         * include/stdio.h (__fflush_unlocked): Declare.  Use
20196         libc_hidden_proto.
20197         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20198         fflush_unlocked.
20199         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20200         Remove variable.
20202         [BZ #18539]
20203         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20204         define as weak alias of __addseverity.
20205         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20206         Remove variable.
20207         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20208         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20209         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20211         [BZ #18536]
20212         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20213         (__tfind): Likewise.
20214         (__tdelete): Likewise.
20215         (__twalk): Likewise.
20216         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20217         __twalk to GLIBC_PRIVATE.
20218         * include/search.h (__tsearch): Use libc_hidden_proto.
20219         (__tfind): Likewise.
20220         (__tdelete): Likewise.
20221         (__twalk): Likewise.
20222         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20223         Call __tdelete instead of tdelete.
20224         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20225         tfind.  Call __tsearch instead of tsearch.
20226         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20227         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20228         Remove variable.
20229         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20231         [BZ #18534]
20232         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20233         (dprintf): Define as a weak alias of __dprintf, not a strong
20234         alias.
20235         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20236         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20237         dprintf.
20238         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20239         Remove variable.
20240         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20241         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20243         [BZ #18533]
20244         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20245         not a strong alias.
20246         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20247         Remove variable.
20249         [BZ #18532]
20250         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20251         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20252         (in6addr_loopback): Rename to __in6addr_loopback and define as
20253         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20254         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20255         libc_hidden_proto.
20256         (__in6addr_any): Likewise.
20257         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20258         in6addr_any.
20259         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20260         variable.
20261         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20263 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20265         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20266         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20267         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20268         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20269         redirections for pow.
20270         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20271         * sysdeps/x86_64/fpu/Versions: New versions added.
20272         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20273         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20274         build of SSE, AVX2 and AVX512 IFUNC versions.
20275         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20276         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20277         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20278         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20279         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20280         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20281         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20282         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20283         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20284         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20285         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20286         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20287         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20288         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20289         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20291         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20292         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20293         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20294         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20295         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20296         * NEWS: Mention addition of x86_64 vector pow.
20298         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20299         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20300         redirections for expf.
20301         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20302         * sysdeps/x86_64/fpu/Versions: New versions added.
20303         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20304         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20305         build of SSE, AVX2 and AVX512 IFUNC versions.
20306         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20307         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20308         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20309         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20310         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20311         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20312         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20313         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20314         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20315         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20316         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20317         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20318         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20319         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20320         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20321         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20324         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20325         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20326         * NEWS: Mention addition of x86_64 vector expf.
20328         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20329         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20331         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20332         redirections for exp.
20333         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20334         * sysdeps/x86_64/fpu/Versions: New versions added.
20335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20336         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20337         build of SSE, AVX2 and AVX512 IFUNC versions.
20338         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20339         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20340         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20341         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20343         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20344         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20345         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20346         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20347         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20348         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20349         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20350         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20351         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20354         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20355         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20356         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20357         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20358         * NEWS: Mention addition of x86_64 vector exp.
20360         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20361         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20362         redirections for logf.
20363         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20364         * sysdeps/x86_64/fpu/Versions: New versions added.
20365         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20366         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20367         build of SSE, AVX2 and AVX512 IFUNC versions.
20368         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20369         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20370         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20371         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20372         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20373         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20374         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20375         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20376         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20377         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20378         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20379         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20380         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20381         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20382         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20383         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20385         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20386         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20387         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20388         * NEWS: Mention addition of x86_64 vector logf.
20390         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20391         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20392         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20393         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20394         redirections for log.
20395         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20396         * sysdeps/x86_64/fpu/Versions: New versions added.
20397         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20398         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20399         build of SSE, AVX2 and AVX512 IFUNC versions.
20400         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20401         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20402         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20403         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20404         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20405         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20406         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20407         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20408         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20409         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20410         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20411         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20412         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20413         test.
20414         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20416         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20417         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20418         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20419         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20420         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20421         * NEWS: Mention addition of x86_64 vector log.
20423 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20425         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20426         cfi_adjust_cfa_offset argument.
20427         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20428         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20430         [BZ #18034]
20431         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20432         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20433         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20434         ordering using ldar.
20435         (_dl_tlsdesc_dynamic): Likewise.
20436         (_dl_tlsdesc_return_lazy): Likewise.
20437         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20438         relaxed atomics instead of volatile and synchronize with release store.
20439         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20440         volatile.
20441         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20443 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20445         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20446         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20447         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20448         * sysdeps/x86_64/fpu/Versions: New versions added.
20449         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20450         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20451         build of SSE, AVX2 and AVX512 IFUNC versions.
20452         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20453         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20454         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20455         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20456         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20457         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20458         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20459         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20460         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20461         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20462         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20463         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20464         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20465         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20466         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20467         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20468         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20469         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20470         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20471         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20472         * NEWS: Mention addition of x86_64 vector sinf.
20474 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20476         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20477         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20478         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20479         Remove variable.
20480         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20481         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20483 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20485         [BZ #18530]
20486         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20487         strong alias of _IO_fputs.  Use libc_hidden_def.
20488         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20489         and define as weak alias of __fputs_unlocked.  Use
20490         libc_hidden_weak.
20491         * include/stdio.h (__fputs_unlocked): Declare.  Use
20492         libc_hidden_proto.
20493         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20494         fputs_unlocked.
20496         [BZ #18529]
20497         * resolv/netdb.h [__USE_POSIX]: Change condition to
20498         [__USE_XOPEN2K].
20499         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20500         not expect.
20501         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20502         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20503         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20504         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20505         [XPG4 || UNIX98] (AI_ALL): Likewise.
20506         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20507         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20508         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20509         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20510         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20511         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20512         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20513         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20514         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20515         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20516         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20517         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20518         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20519         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20520         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20521         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20522         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20523         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20524         [XPG4 || UNIX98] (gai_strerror): Likewise.
20525         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20526         [XPG4 || UNIX98] (getnameinfo): Likewise.
20528         [BZ #18528]
20529         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20530         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20531         __USE_XOPEN2K8].
20532         (getgrent): Likewise.
20533         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20534         expect.
20535         [XPG3 || POSIX2008] (endgrent): Likewise.
20536         [XPG3] (setgrent): Likewise.
20537         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20538         variable.
20539         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20541         [BZ #18527]
20542         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20543         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20544         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20545         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20546         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20547         * include/unistd.h (__getlogin_r): Declare.  Use
20548         libc_hidden_proto.
20549         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20550         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20551         variable.
20552         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20553         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20554         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20556 2015-06-12  Martin Sebor  <msebor@redhat.com>
20558         [BZ #18512]
20559         * Makerules (check-install-supported): New target.
20560         (install): Add check-install-supported as a dependency.
20561         * manual/install.texi (Installing the C Library): Document
20562         that overriding prefix and exec_prefix is not supported.
20563         Mention DESTDIR.
20564         * INSTALL: Regenerate from the above.
20566 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20568         [BZ #18519]
20569         * posix/Versions (libc): Export __libc_pread at version
20570         GLIBC_PRIVATE.
20571         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20572         instead of pread.
20573         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20574         variable.
20576         [BZ #18522]
20577         * misc/efgcvt_r.c
20578         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20579         (cvt_symbol): Use weak_alias instead of strong_alias.
20580         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20581         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20582         Remove variable.
20583         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20584         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20586         [BZ #18520]
20587         * inet/herrno.c (h_errno): Rename to __h_errno.
20588         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20589         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20590         to __h_errno instead of h_errno.
20591         * nptl/herrno.c (h_errno): Rename to __h_errno.
20592         (__h_errno_location): Refer to __h_errno not h_errno.
20593         * resolv/Versions (h_errno): Rename to __h_errno.
20594         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20595         Remove variable.
20596         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20598 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20600         * configure.ac: More strict check for AVX512 assembler support.
20601         * configure: Regenerated.
20603         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20604         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20605         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20606         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20607         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20608         * sysdeps/x86_64/fpu/Versions: New versions added.
20609         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20610         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20611         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20612         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20613         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20614         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20615         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20616         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20617         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20618         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20619         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20620         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20621         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20622         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20623         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20624         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20625         test.
20626         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20627         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20628         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20629         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20630         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20631         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20632         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20633         * NEWS: Mention addition of x86_64 vector sin.
20635 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20637         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20638         comment.
20640 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20642         [BZ #18479]
20643         * nptl/pt-interp.c: New file.
20644         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20645         Add pt-interp.
20646         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20647         $(common-objpfx)runtime-linker.h.
20649 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20651         * Makeconfig (+interp): Remove unused variable.
20652         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20653         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20654         $(elf-objpfx)runtime-linker.h.
20655         ($(elf-objpfx)runtime-linker.h): Rename to
20656         $(common-objpfx)runtime-linker.h and move ...
20657         * Makerules [$(build-shared) = yes]: ... here.
20658         * elf/interp.c: Include <runtime-linker.h> instead of
20659         <elf/runtime-linker.h>.
20661 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20663         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20664         (__gettimeofday_syscall): Remove vsyscall fallback.
20665         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20666         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20667         Add syscall fallback function.
20668         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20669         if vDSO is not present.
20670         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20671         fallback function.
20672         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20673         present.
20674         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20675         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20677 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20679         [BZ #18497]
20680         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20681         of wcscmp.
20682         (wcscmp): Define as weak alias of WCSCMP.
20683         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20684         wcscoll.
20685         (USE_HIDDEN_DEF): Define.
20686         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20687         __wcscoll.  Don't use libc_hidden_weak.
20688         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20689         wcscmp.
20690         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20691         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20692         __GI_wcscmp.
20693         (weak_alias): Undefine and redefine.
20694         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20695         __wcscmp and define as weak alias of __wcscmp.
20696         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20697         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20698         (__wcscoll): Likewise.
20699         (wcscmp): Don't use libc_hidden_proto.
20700         (wcscoll): Likewise.
20701         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20702         wcscoll.
20703         * posix/regexec.c (check_node_accept_bytes): Likewise.
20704         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20705         variable.
20706         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20707         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20709         [BZ #18507]
20710         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20711         __fstatvfs and define as weak alias of __fstatvfs.  Use
20712         libc_hidden_weak.
20713         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20714         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20715         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20716         Define as alias of __fstatvfs, not fstatvfs.
20717         (fstatvfs64): Likewise.
20718         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20719         Define as alias of __statvfs, not statvfs.
20720         (statvfs64): Likewise.
20721         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20722         Remove variable.
20724 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20727         (HAVE_GETCPU_VSYSCALL): Define.
20728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20729         (HAVE_GETCPU_VSYSCALL): Likewise.
20730         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20731         * sysdeps/unix/sysv/linux/sched_getcpu.c
20732         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20733         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20734         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20735         prototype.
20736         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20737         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20738         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20740         Define.
20741         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20742         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20743         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20744         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20746 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20748         * sysdeps/x86_64/fpu/Makefile: New file.
20749         * sysdeps/x86_64/fpu/Versions: New file.
20750         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20751         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20752         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20753         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20754         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20755         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20756         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20757         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20758         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20759         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20760         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20761         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20762         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20763         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20764         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20765         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20766         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20767         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20768         * sysdeps/x86_64/configure: Regenerated.
20769         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20770         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20771         * manual/install.texi (Configuring and compiling): Document
20772         --disable-mathvec.
20773         * INSTALL: Regenerated.
20774         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20776         * math/Makefile: Added rules for vector tests.
20777         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20778         declaration under condition.
20779         * math/test-double-vlen2.h: New file.
20780         * math/test-double-vlen4.h: New file.
20781         * math/test-double-vlen8.h: New file.
20782         * math/test-vec-loop.h: Added initialization macro.
20783         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20785         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20786         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20787         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20788         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20789         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20790         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20791         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20792         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20793         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20795         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20796         * sysdeps/x86_64/fpu/Versions: New versions added.
20797         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20798         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20799         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20800         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20801         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20802         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20803         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20804         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20805         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20806         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20807         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20808         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20809         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20811         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20812         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20813         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20814         * NEWS: Mention addition of x86_64 vector cosf.
20816         * math/Makefile: Added CFLAGS for new tests.
20817         * math/test-float-vlen16.h: New file.
20818         * math/test-float-vlen4.h: New file.
20819         * math/test-float-vlen8.h: New file.
20820         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20821         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20822         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20823         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20824         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20825         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20826         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20828         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20829         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20830         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20832 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20834         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20835         * locale/programs/ld-ctype.c: Likewise.
20837 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20839         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20840         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20841         bit_ZMM16_31_state): New macro.
20842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20843         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20845 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20847         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20849 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20851         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20853 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20855         [BZ #18498]
20856         * libio/memstream.c (open_memstream): Rename to __open_memstream
20857         and define as weak alias of __open_memstream.
20858         * include/stdio.h (__open_memstream): Declare.  Use
20859         libc_hidden_proto.
20860         (open_memstream): Don't use libc_hidden_proto.
20861         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20862         open_memstream.
20863         * posix/getopt.c (_getopt_internal_r): Likewise.
20864         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20865         variable.
20866         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20867         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20868         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20870         [BZ #18496]
20871         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20872         instead of wcrtomb.
20874         [BZ #18483]
20875         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20876         [__USE_XOPEN2K8].  Remove redundant #endif.
20877         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20878         Remove redundant #if.
20879         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20880         Remove variable.
20881         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20882         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20884         [BZ #18495]
20885         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20886         (__iswlower): Likewise.
20887         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20888         (__iswlower): Likewise.
20889         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20890         instead of towlower.
20891         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20892         instead of iswlower.  Call __towupper instead of towupper.
20893         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20894         instead of iswalnum.
20896 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20898         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20899         errors to stderr.
20901 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20903         [BZ #15661]
20904         [BZ #17322]
20905         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20906         Check for overflow properly.  Check for O_APPEND.  Ignore large
20907         file system block sizes.  Add comments about problems.
20908         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20909         * manual/filesys.texi (Storage Allocation): New node.
20911 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20913         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20914         cancellable syscalls.
20915         (SYS_ify): Add guard to no redefine it.
20916         (INLINE_SYSCALL): Likewise.
20917         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20918         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20919         SYSCALL_CANCEL instead.
20920         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20921         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20922         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20923         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20924         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20925         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20926         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20927         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20928         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20929         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20930         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20931         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20932         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20933         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20934         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20935         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20936         Likewise.
20937         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20938         (__libc_pread64): Likewise.
20939         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20940         (__libc_preadv): Likewise.
20941         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20942         (__libc_readv64): Likewise.
20943         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20944         (__libc_pwrite): Likewise.
20945         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20946         (__libc_pwrite64): Likewise.
20947         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20948         (__libc_pwritev): Likewise.
20949         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20950         (__libc_pwritev64): Likewise.
20951         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20952         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20953         (sync_file_range): Likewise.
20954         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20955         Likewise.
20956         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20957         Likewise.
20958         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20959         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20960         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20961         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20962         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20963         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20964         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20965         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20967         Likewise.
20968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20969         (__libc_read64): Likewise.
20970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20971         Likewise.
20972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20973         Likewise.
20974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20975         Likewise.
20976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20977         Likewise.
20978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20979         (__libc_pread64): Likewise.
20980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20981         Likewise.
20982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20983         (__libc_pwrite64): Likewise.
20984         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20985         (sync_file_range): Likewise.
20986         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20987         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20988         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20989         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20990         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20991         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20992         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20993         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20994         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20995         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20996         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20997         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20998         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20999         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21000         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21001         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21002         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21003         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21004         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21005         Likewise.
21006         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21007         Likewise.
21008         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21009         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21010         Likewise.
21011         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21012         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21013         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21014         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21015         Likewise.
21016         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21017         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21018         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21019         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21020         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21022 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21024         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21025         Include dl-vdso.
21026         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21027         Use VDSO routines for gettimeofday, clock_gettime if
21028         available.
21029         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21030         Declare VDSO symbols.
21031         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21032         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21033         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21034         * sysdeps/unix/sysv/linux/arm/Versions: Add
21035         __vdso_clock_gettime.
21037 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21039         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21040         be an inline implementation regardless of library is built within.
21041         (open_not_cancel_2): Likewise.
21042         (__read_nocancel): Likewise.
21043         (__write_nocancel): Likewise.
21044         (openat_not_cancel): Likewise.
21045         (openat_not_cancel_3): Likewise.
21046         (openat64_not_cancel): Likewise.
21047         (openat64_not_cancel_3): Likewise.
21048         (__close_nocancel): Likewise.
21049         (pause_not_cancel): Likewise.
21050         (nanosleep_not_cancel): Likewise.
21051         (sigsuspend_not_cancel): Likewise.
21053 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21055         [BZ #14958]
21056         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21057         wake-up.
21058         (__pthread_rwlock_rdlock_slow): Likewise.
21059         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21060         Likewise.
21061         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21062         Likewise.
21063         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21064         * nptl/tst-rwlock16.c: New file.
21065         * nptl/Makefile (tests): Add new test.
21067 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21069         [BZ #18324]
21070         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21071         missing wake-up of readers.
21072         * nptl/tst-rwlock15.c: New file.
21073         * nptl/Makefile (tests): Add new test.
21075 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21077         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21078         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21079         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21080         and __nacl_supply_interface_rtld.
21081         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21082         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21083         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21084         Add __nacl_supply_interface_rtld.
21085         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21087 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21089         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21090         isfinite.
21091         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21092         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21094 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21096         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21097         __signbit* with standard C99 macros.
21098         * math/e_exp10l.c: Likewise.
21099         * math/e_exp2l.c: Likewise.
21100         * math/e_scalb.c: Likewise.
21101         * math/e_scalbf.c: Likewise.
21102         * math/e_scalbl.c: Likewise.
21103         * math/s_ldexp.c: Likewise.
21104         * math/s_ldexpf.c: Likewise.
21105         * math/s_ldexpl.c: Likewise.
21106         * math/w_atan2.c: Likewise.
21107         * math/w_atan2f.c: Likewise.
21108         * math/w_atan2l.c: Likewise.
21109         * math/w_cosh.c: Likewise.
21110         * math/w_coshf.c: Likewise.
21111         * math/w_coshl.c: Likewise.
21112         * math/w_exp10.c: Likewise.
21113         * math/w_exp10f.c: Likewise.
21114         * math/w_exp10l.c: Likewise.
21115         * math/w_exp2.c: Likewise.
21116         * math/w_exp2f.c: Likewise.
21117         * math/w_exp2l.c: Likewise.
21118         * math/w_fmod.c: Likewise.
21119         * math/w_fmodf.c: Likewise.
21120         * math/w_fmodl.c: Likewise.
21121         * math/w_hypot.c: Likewise.
21122         * math/w_hypotf.c: Likewise.
21123         * math/w_hypotl.c: Likewise.
21124         * math/w_jnl.c: Likewise.
21125         * math/w_lgamma.c: Likewise.
21126         * math/w_lgamma_r.c: Likewise.
21127         * math/w_lgammaf.c: Likewise.
21128         * math/w_lgammaf_r.c: Likewise.
21129         * math/w_lgammal.c: Likewise.
21130         * math/w_lgammal_r.c: Likewise.
21131         * math/w_pow.c: Likewise.
21132         * math/w_powf.c: Likewise.
21133         * math/w_powl.c: Likewise.
21134         * math/w_remainder.c: Likewise.
21135         * math/w_remainderf.c: Likewise.
21136         * math/w_remainderl.c: Likewise.
21137         * math/w_scalb.c: Likewise.
21138         * math/w_scalbf.c: Likewise.
21139         * math/w_scalbl.c: Likewise.
21140         * math/w_scalbln.c: Likewise.
21141         * math/w_scalblnf.c: Likewise.
21142         * math/w_scalblnl.c: Likewise.
21143         * math/w_sinh.c: Likewise.
21144         * math/w_sinhf.c: Likewise.
21145         * math/w_sinhl.c: Likewise.
21146         * math/w_tgamma.c: Likewise.
21147         * math/w_tgammaf.c: Likewise.
21148         * math/w_tgammal.c: Likewise.
21149         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21150         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21151         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21152         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21153         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21154         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21155         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21156         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21157         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21158         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21159         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21160         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21161         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21162         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21163         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21164         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21165         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21166         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21167         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21168         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21169         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21170         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21171         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21173         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21174         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21175         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21176         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21177         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21178         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21179         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21180         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21181         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21182         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21183         * stdio-common/printf_fp.c: Likewise.
21184         * stdio-common/printf_fphex.c: Likewise.
21185         * stdio-common/printf_size.c: Likewise.
21187 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21189         [BZ #18470]
21190         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21191         strnlen.
21192         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21193         Remove variable.
21194         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21195         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21196         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21197         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21198         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21199         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21200         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21201         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21202         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21203         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21205         [BZ #18468]
21206         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21207         weak alias of __wmemchr.  Use libc_hidden_weak.
21208         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21209         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21210         instead of wmemchr.
21212 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21214         [BZ #18383]
21215         * elf/tst-tlsalign-extern.c: New file.
21216         * elf/tst-tlsalign-extern-static.c: New file.
21217         * elf/tst-tlsalign-vars.c: New file.
21218         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21219         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21220         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21221         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21222         (test-xfail-tst-tlsalign-extern-static): New variable.
21224 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21226         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21227         Use variable name _sc_err instead of err.
21228         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21229         instead of ret.
21230         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21231         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21232         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21233         (INLINE_SYSCALL): Likewise.
21235         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21236         * include/string.h (__strnlen): Use libc_hidden_proto.
21237         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21238         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21239         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21240         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21241         (libc_hidden_def): Undefine and redefine.
21242         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21243         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21244         __GI_strnlen.
21245         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21246         libc_hidden_def.
21247         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21249         [BZ #18469]
21250         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21251         weak alias of __towlower.  Use libc_hidden_weak.
21252         (towupper): Rename to __towupper and define as weak alias of
21253         __towupper.  Use libc_hidden_weak.
21254         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21255         (__towupper): Likewise.
21256         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21257         __towlower instead of towlower.
21259 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21261         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21262         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21264 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21266         * sysdeps/aarch64/libm-test-ulps: Update.
21268 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21270         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21271         Define.
21272         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21274         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21275         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21276         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21277         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21278         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21280 2015-06-01  Martin Sebor  <msebor@redhat.com>
21282         [BZ #18116]
21283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21284         (__setcontext): Use extended four-operand version of mtsf whenever
21285         possible.
21286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21287         (__novec_swapcontext): Likewise.
21289 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21291         * benchtests/scripts/compare_bench.py: New file.
21292         * benchtests/scripts/import_bench.py (mean): New function.
21293         (split_list): Likewise.
21294         (do_for_all_timings): Likewise.
21295         (compress_timings): Likewise.
21297         * benchtests/scripts/import_bench.py: New file.
21298         * benchtests/scripts/validate_benchout.py: Import import_bench
21299         instead of jsonschema.
21300         (validate_bench): Remove function.
21301         (main): Use import_bench.
21303 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21305         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21306         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21308 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21312 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21314         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21315         set THREAD_SELF->tid to a magic value and futex-wake it.
21316         Pass its address to the thread_exit system call.
21317         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21318         bit is clear.
21319         * sysdeps/nacl/lowlevellock.h: New file.
21320         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21322         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21323         Add TIMEOUT to current time, don't subtract it.
21325 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21327         [BZ #2981]
21328         [BZ #18422]
21329         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21330         ($(objpfx)tst-audit2.out): Also depend on
21331         $(objpfx)tst-auditmod9b.so.
21332         * elf/tst-audit2.c: Include <dlfcn.h>.
21333         (calloc_called): New.
21334         (calloc): Allow to be called more than once.
21335         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21337 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21339         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21340         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21342 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21344         * stdlib/monetary.h: Fix comment.
21346 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21348         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21349         Avoid using variables in #defines that might cause shadowing.
21350         (INTERNAL_VSYSCALL_CALL): Likewise.
21352 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21354         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21356         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21357         * nptl/lll_timedlock_wait.c: ... to this new file.
21358         * nptl/Makefile (libpthread-routines): Add it.
21359         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21360         * nptl/lll_timedwait_tid.c: ... to this new file.
21361         * nptl/Makefile (libpthread-routines): Add it.
21362         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21363         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21364         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21365         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21366         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21367         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21368         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21369         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21370         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21371         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21373 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21375         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21376         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21377         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21378         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21379         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21381         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21383         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21384         * sysdeps/unix/sysv/linux/tile/sysdep.h
21385         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21386         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21387         using vDSO syscall macro.
21389 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21391         [BZ #17293]
21392         * uk_UA: Fix sorting order for Ukrainian locale
21394 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21396         * stdlib/monetary.h: Fix comment.
21398 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21400         [BZ #18234]
21401         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21402         st_mtim and st_ctim members.
21403         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21404         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21405         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21406         (struct stat64): Likewise.
21407         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21408         (struct stat64): Likewise.
21409         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21410         (struct stat64): Likewise.
21412 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21414         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21415         Define and include sysdep-vdso.h.
21416         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21417         Likewise.
21418         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21419         Likewise.
21420         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21421         Define with VDSO_SYMBOL and use PTR_MANGLE.
21422         (__vdso_clock_gettime): Likewise.
21423         (__vdso_clock_getres): Likewise.
21424         (_libc_vdso_platform_setup): Likewise.
21425         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21426         Likewise.
21427         (_libc_vdso_platform_setup): Likewise.
21428         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21429         Likewise.
21430         (__vdso_clock_gettime): Likewise.
21431         (__vdso_clock_getres): Likewise.
21432         (__vdso_get_tbfreq): Likewise.
21433         (__vdso_getcpu): Likewise.
21434         (__vdso_time): Likewise.
21435         (__vdso_sigtramp_rt64): Likewise.
21436         (__vdso_signtramp32): Likewise.
21437         (__vdso_sigtramp_rt32): Likewise.
21438         (_libc_vdso_platform_setup): Likewise.
21439         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21440         Likewise.
21441         (__vdso_clock_gettime): Likewise.
21442         (__vdso_clock_getres): Likewise.
21443         (_libc_vdso_platform_setup): Likewise.
21444         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21445         Likewise.
21446         (__vdso_clock_gettime): Likewise.
21447         (_libc_vdso_platform_setup): Likewise.
21448         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21449         Likewise.
21450         (__vdso_getcpu): Likewise.
21451         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21452         Use VDSO_SYMBOL macro to define.
21453         (__vdso_clock_gettime): Likewise.
21454         (__vdso_clock_getres): Likewise.
21455         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21456         Likewise.
21457         (__vdso_clock_gettime): Likewise.
21458         (__vdso_clock_getres): Likewise.
21459         (__vdso_get_tbfreq): Likewise.
21460         (__vdso_getcpu): Likewise.
21461         (__vdso_time): Likewise.
21462         (__vdso_sigtramp_rt64): Likewise.
21463         (__vdso_signtramp32): Likewise.
21464         (__vdso_sigtramp_rt32): Likewise.
21465         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21466         Likewise.
21467         (__vdso_clock_gettime): Likewise.
21468         (__vdso_clock_getres): Likewise.
21469         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21470         Likewise.
21471         (__vdso_clock_gettime): Likewise.
21472         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21473         Likewise.
21474         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21475         macro.
21476         (INTERNAL_VSYSCALL): Likewise.
21477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21478         Remove macro.
21479         (INTERNAL_VSYSCALL): Likewise.
21480         (INTERNAL_VSYSCALL_NCS): Likewise.
21481         (INTERNAL_VSYSCALL_CALL): New macro.
21482         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21484         Likewise.
21485         (INTERNAL_VSYSCALL): Likewise.
21486         (INTERNAL_VSYSCALL_NCS): Likewise.
21487         (INTERNAL_VSYSCALL_CALL): New macro.
21488         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21490         (INLINE_VSYSCALL): Remove macro.
21491         (INTERNAL_VSYSCALL): Remove macro.
21492         (INTERNAL_VSYSCALL_NCS): Remove macro.
21493         (INTERNAL_VSYSCALL_CALL): New macro.
21494         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21495         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21496         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21497         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21498         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21500         (INLINE_VSYSCALL): Remove macro.
21501         (INTERNAL_VSYSCALL): Likewise.
21502         (INTERNAL_VSYSCALL_NCS): Likewise.
21503         (INTERNAL_VSYSCALL_CALL): New macro.
21504         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21505         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21506         PTR_DEMANGLE on vDSO pointer.
21507         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21508         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21509         macro.
21510         (INTERNAL_SYSCALL): Likewise.
21511         (INTERNAL_VSYSCALL_NCS): Remove macro.
21512         (INTERNAL_VSYSCALL_CALL): New macro.
21513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21514         Remove macro.
21515         (INTERNAL_VSYSCALL): Likewise.
21516         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21517         sysdep-vdso.h instead of libc-vdso.h.
21518         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21519         definition.
21520         (INLINE_VSYSCALL): Likewise.
21521         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21522         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21523         definition.
21524         (INLINE_VSYSCALL): Likewise.
21525         (INTERNAL_VSYSCALL): Likewise.
21526         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21527         * sysdeps/unix/sysv/linux/timespec_get.c
21528         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21529         (timespec_get): Use ANSI prototype.
21530         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21531         and definition for Linux.
21533 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21535         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21536         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21538 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21540         [BZ #2981]
21541         [BZ #18410]
21542         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21543         for missing DT_PLTRELSZ.
21545 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21547         Remove obsolete aliases that broke 'locale -a'
21548         [BZ #18412]
21549         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21550         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21551         breaking some applications that use 'locale -a' output.
21552         Change the encoding of this file from Latin-1 to ASCII to avoid
21553         other potential problems with people grepping this file.
21555 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21557         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21558         -fasynchronous-unwind-tables.
21559         (CFLAGS-sendto.c): Likewise.
21560         (CFLAGS-sendmsg.c): Likewise.
21561         (CFLAGS-connect.c): Likewise.
21562         (CFLAGS-recvmsg.c): Likewise.
21563         (CFLAGS-recvfrom.c): Likewise.
21564         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21565         (SOCKETCALL): New macro: non-cancellable socketcall.
21566         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21567         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21568         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21569         * sysdeps/unix/sysv/linux/accept.c: New file.
21570         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21571         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21572         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21573         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21574         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21575         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21576         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21577         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21578         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21579         * sysdeps/unix/sysv/linux/send.c: Likewise.
21580         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21581         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21582         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21583         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21584         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21585         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21586         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21587         prototype.
21588         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21589         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21590         instead of __internal_xxx function.
21591         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21592         prototype.
21593         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21594         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21595         instead of __internal_xxx function.
21596         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21597         prototype.
21598         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21599         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21600         instead of __internal_xxx function.
21601         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21602         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21603         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21604         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21605         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21606         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21607         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21608         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21609         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21610         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21611         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21612         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21613         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21614         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21615         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21616         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21617         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21618         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21619         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21620         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21623         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21624         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21625         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21626         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21627         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21628         * sysdeps/unix/sysv/linux/send.S: Likewise.
21629         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21630         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21631         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21632         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21633         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21634         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21635         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21636         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21637         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21638         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21639         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21640         socketcall is implemented in GLIBC.
21642 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21644         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21645         (__fma): Ignore uninitialized warnings around packing.
21646         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21647         (__fmaf): Ignore uninitialized warnings around packing.
21648         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21649         (__fmal): Ignore uninitialized warnings around packing.
21651         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21652         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21653         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21654         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21656         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21657         switch statement into default case.
21658         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21660         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21661         a conditional in forcing "inexact".
21662         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21663         Likewise.
21665 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21667         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21668         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21669         for each INTERNAL_SYSCALL use.
21671 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21673         [BZ #438]
21674         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21675         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21676         variable.
21678         [BZ #18444]
21679         * string/basename.c (basename): Rename to __basename and define as
21680         weak alias of __basename.  Use libc_hidden_weak.
21681         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21682         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21683         __basename instead of basename.
21684         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21685         Remove variable.
21686         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21688 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21690         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21691         (_IO_JUMPS_FILE_plus): New.
21692         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21693         _IO_CAST_FIELD_ACCESS.
21694         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21695         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21696         * libio/freopen.c (freopen): Likewise.
21697         * libio/freopen64.c (freopen64): Likewise.
21698         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21699         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21700         * libio/iofwide.c (_IO_fwide): Likewise.
21701         * libio/memstream.c (open_memstream): Likewise.
21702         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21703         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21704         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21706 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21708         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21709         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21710         NADJ.
21711         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21712         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21713         NADJ.
21714         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21715         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21716         NADJ.
21718         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21719         (p == 4) case.
21721         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21722         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21723         Remove variable.
21724         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21725         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21726         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21728 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21730         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21731         Adjust jump table label generation macros.
21733 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21735         * stdio-common/vfprintf.c (vfprintf): Move local variables
21736         args_malloced, specs, specs_malloced, and the code after
21737         do_positional to the printf_positional function.
21738         (printf_positional): New function.
21740 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21742         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21743         function.
21744         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21745         STEP4_TABLE, process_arg): Move macro definitions
21746         out of the vfprintf function.  (Cosmetic change only.)
21748 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21750         * benchtests/Makefile (stdio-common-bench): Define.
21751         (benchset): Add stdio-common-bench.
21752         * sprintf-inputs: New file.
21753         * sprintf-source.c: New file.
21755 2015-05-21  Andreas Schwab  <schwab@suse.de>
21757         [BZ #13028]
21758         [BZ #17053]
21759         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21760         of struct __res_state.
21761         * resolv/res_send.c (__libc_res_nsend): Likewise.
21762         (get_nsaddr): New function.
21763         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21764         statp directly.
21766 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21768         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21769         -D_POSIX_C_SOURCE=199506L.
21771         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21773         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21774         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21775         Do not mention otherwise.
21776         [POSIX] (_XOPEN_VERSION): Do not expect.
21777         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21778         [POSIX] (_POSIX2_C_BIND): Likewise.
21779         [POSIX] (_POSIX2_VERSION): Likewise.
21780         [POSIX] (_XOPEN_XPG2): Likewise.
21781         [POSIX] (_XOPEN_XPG3): Likewise.
21782         [POSIX] (_XOPEN_XPG4): Likewise.
21783         [POSIX] (_XOPEN_UNIX): Likewise.
21784         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21785         [POSIX] (_POSIX_BARRIERS): Likewise.
21786         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21787         [POSIX] (_POSIX_CPUTIME): Likewise.
21788         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21789         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21790         [POSIX] (_POSIX_SHELL): Likewise.
21791         [POSIX] (_POSIX_SPAWN): Likewise.
21792         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21793         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21794         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21795         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21796         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21797         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21798         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21799         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21800         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21801         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21802         [POSIX] (_POSIX2_PBS): Likewise.
21803         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21804         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21805         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21806         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21807         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21808         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21809         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21810         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21811         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21812         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21813         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21814         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21815         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21816         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21817         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21818         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21819         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21820         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21821         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21822         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21823         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21824         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21825         [POSIX] (_SC_2_C_BIND): Likewise.
21826         [POSIX] (_SC_2_C_VERSION): Likewise.
21827         [POSIX] (_SC_2_PBS): Likewise.
21828         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21829         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21830         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21831         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21832         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21833         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21834         [POSIX] (_SC_BARRIERS): Likewise.
21835         [POSIX] (_SC_BASE): Likewise.
21836         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21837         [POSIX] (_SC_DEVICE_IO): Likewise.
21838         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21839         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21840         [POSIX] (_SC_FD_MGMT): Likewise.
21841         [POSIX] (_SC_FIFO): Likewise.
21842         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21843         [POSIX] (_SC_FILE_LOCKING): Likewise.
21844         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21845         [POSIX] (_SC_IOV_MAX): Likewise.
21846         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21847         [POSIX] (_SC_NETWORKING): Likewise.
21848         [POSIX] (_SC_PAGE_SIZE): Likewise.
21849         [POSIX] (_SC_PASS_MAX): Likewise.
21850         [POSIX] (_SC_PIPE): Likewise.
21851         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21852         [POSIX] (_SC_REGEXP): Likewise.
21853         [POSIX] (_SC_SHELL): Likewise.
21854         [POSIX] (_SC_SIGNALS): Likewise.
21855         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21856         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21857         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21858         [POSIX] (_SC_USER_GROUPS): Likewise.
21859         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21860         [POSIX] (_SC_STREAMS): Likewise.
21861         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21862         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21863         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21864         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21865         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21866         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21867         [POSIX] (_PC_FILESIZEBITS): Likewise.
21868         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21869         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21870         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21871         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21872         [POSIX] (uid_t): Likewise.
21873         [POSIX] (gid_t): Likewise.
21874         [POSIX] (off_t): Likewise.
21875         [POSIX] (pid_t): Likewise.
21876         [POSIX] (cuserid): Allow.
21877         (_SC_2_CHAR_TERM): Require constant.
21878         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21879         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21880         variable.
21882 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21884         * sysdeps/nacl/pthread-pids.h: New file.
21885         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21886         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21888         * nptl/pthread-pids.h: New file.
21889         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21890         * nptl/nptl-init.c: Include <pthread-pids.h>.
21891         (__pthread_initialize_minimal_internal):
21892         Call __pthread_initialize_pids instead of set_tid_address syscall.
21894         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21895         * sysdeps/posix/usleep.c: ... here.
21897 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21899         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21900         call_pselect6 object.
21901         [$(subdir) = io]: Remove call_sync_file_range object.
21902         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21903         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21904         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21905         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21907 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21909         * math/s_cproj.c: Add include "math_private.h".
21910         * math/s_cprojf.c: Likewise.
21911         * math/s_cprojl.c: Likewise.
21913 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21915         [BZ #18244]
21916         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21917         high mantissa bit when testing whether P is a NaN.
21918         * math/libm-test.inc (remainder_test_data): Add more tests.
21919         (remquo_test_data): Likewise.
21921         [BZ #18049]
21922         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21923         below -32, return the argument, with underflow if subnormal.
21924         * math/auto-libm-test-in: Add more tests of atanh.
21925         * math/auto-libm-test-out: Regenerated.
21927 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21929         [BZ #18434]
21930         * nptl/tst-sem15.c: New file.
21931         * nptl/Makefile (tests): Add it.
21932         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21933         s/<</>>/ to fix typo in EOVERFLOW check.
21934         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21936 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21938         * manual/strings.texi (envz_remove): Fix typo in safety
21939         annotations.
21941 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21942             Steve Ellcey  <sellcey@imgtec.com>
21944         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21945         in order to avoid strict alias warnings.
21946         (iruserok_af): Ditto for ra.
21948 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21950         [BZ #17581]
21951         * malloc/hooks.c
21952         (magicbyte): Convert to a function and avoid returning 0x01.
21953         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21954         (mem2chunk_check): Fix unsigned comparisons to zero.
21955         Hoist defs of sz and magic.
21957 2015-05-19  Richard Henderson  <rth@redhat.com>
21959         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21961         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21963 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21965         [BZ #16159]
21966         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21967         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21968         (reused_arena): Find a non-corrupt arena.
21969         (heap_trim): Pass arena to unlink.
21970         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21971         malloc_printerr.
21972         (top_check): Likewise.
21973         (free_check): Likewise.
21974         (realloc_check): Likewise.
21975         * malloc/malloc.c (malloc_printerr): Add arena argument.
21976         (unlink): Likewise.
21977         (munmap_chunk): Adjust.
21978         (ARENA_CORRUPTION_BIT): New macro.
21979         (arena_is_corrupt): Likewise.
21980         (set_arena_corrupt): Likewise.
21981         (sysmalloc): Use mmap if there are no usable arenas.
21982         (_int_malloc): Likewise.
21983         (__libc_malloc): Don't fail if arena_get returns NULL.
21984         (_mid_memalign): Likewise.
21985         (__libc_calloc): Likewise.
21986         (__libc_realloc): Adjust for additional argument to
21987         malloc_printerr.
21988         (_int_free): Likewise.
21989         (malloc_consolidate): Likewise.
21990         (_int_realloc): Likewise.
21991         (_int_memalign): Don't touch corrupt arenas.
21992         * malloc/tst-malloc-backtrace.c: New test case.
21994         * Makefile (summarize-tests): Fix return value on success.
21996         * manual/string.texi (Envz Functions): Add envz_remove.
21998 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22000         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22001         (invalid_name): New function, broken out of ...
22002         (__opendirat): ... here.  Call it.
22003         (need_isdir_precheck): New function, broken out of ...
22004         (__opendirat): ... here.  Call it.
22005         Use __fxstatat64, not __xstatat64.
22006         (opendir_oflags): New function, broken out of ...
22007         (__opendirat): ... here.  Call it.
22008         (opendir_tail): New function, broken out of ...
22009         (__opendirat): ... here.  Call it.
22010         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22011         opendir_tail, rather than punting to __opendirat.
22012         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22014 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22016         * .gitignore: Ignore generated *.pyc.
22018 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22020         * include/stdio.h: Define __need_wint_t.
22021         * test-skeleton.c: Avoid `for' loop initial declaration.
22022         * nptl/tst-initializers1.c: Use test-skeleton.c.
22024 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22026         [BZ #18418]
22027         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22029 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22031         [BZ #16352]
22032         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22033         (__ieee754_atanh): Force underflow exception for results with
22034         small absolute value.
22035         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22036         (__ieee754_atanhf): Force underflow exception for results with
22037         small absolute value.
22038         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22039         (__ieee754_atanh): Force underflow exception for results with
22040         small absolute value.
22041         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22042         (__ieee754_atanhf): Force underflow exception for results with
22043         small absolute value.
22044         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22045         (__ieee754_atanhl): Force underflow exception for results with
22046         small absolute value.
22047         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22048         (__ieee754_atanhl): Force underflow exception for results with
22049         small absolute value.
22050         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22051         (__ieee754_atanhl): Force underflow exception for results with
22052         small absolute value.
22053         * math/auto-libm-test-in: Do not allow missing underflow
22054         exceptions from atanh.
22055         * math/auto-libm-test-out: Regenerated.
22057         [BZ #18221]
22058         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22059         2**-28 as threshold for returning x or +/- 1/x.
22060         * math/auto-libm-test-in: Add more tests of tan.
22061         * math/auto-libm-test-out: Regenerated.
22063         [BZ #18220]
22064         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22065         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22066         * math/auto-libm-test-in: Add another test of lgamma.
22067         * math/auto-libm-test-out: Regenerated.
22069 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22071         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22072         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22073         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22074         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22075         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22076         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22077         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22078         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22079         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22080         (log1): Use fabs.  (my_log2): Use fabs.
22081         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22082         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22083         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22084         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22085         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22086         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22087         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22088         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22089         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22090         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22091         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22093 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22095         [BZ #18217]
22096         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22097         as threshold for returning 1 - x.
22098         * math/auto-libm-test-in: Add more tests of erfc.
22099         * math/auto-libm-test-out: Regenerated.
22101 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22103         [BZ #18196]
22104         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22105         threshold for large arguments.
22106         * math/auto-libm-test-in: Add another test of atan.
22107         * math/auto-libm-test-out: Regenerated.
22109         [BZ #16339]
22110         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22111         (__log1p): Force underflow exception for results with small
22112         absolute value.
22113         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22114         (__log1pf): Force underflow exception for results with small
22115         absolute value.
22116         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22117         (__log1p): Force underflow exception for results with small
22118         absolute value.
22119         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22120         (__log1pf): Force underflow exception for results with small
22121         absolute value.
22122         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22123         (__log1pl): Force underflow exception for results with small
22124         absolute value.
22125         * math/auto-libm-test-in: Do not allow missing underflow
22126         exceptions from log1p.
22127         * math/auto-libm-test-out: Regenerated.
22129 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22130             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22132         [BZ #16704]
22133         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22135 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22137         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22138         (libmvec): New variable.
22139         * configure.ac: Added option for mathvec build.
22140         * configure: Regenerated.
22141         * mathvec/Depend: New file.
22142         * mathvec/Makefile: New file.
22143         * shlib-versions: Added libmvec.
22144         * math/Makefile: Added rule for libm.so installation.
22146         * bits/math-vector.h: New file.
22147         * bits/libm-simd-decl-stubs.h: New header.
22148         * math/Makefile (headers): Added new header
22149         libm-simd-decl-stubs.h.
22150         * math/math.h (__MATHCALL_VEC): New macro.
22152         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22153         for conditions in testing functions.
22154         * math/Makefile: Added call of libm-have-vector-test.sh.
22155         * math/libm-test.inc (HAVE_VECTOR): New macros.
22157         * math/libm-test.inc: START refactored.
22158         * math/test-double.c (TEST_MATHVEC): Add define.
22159         * math/test-float.c: Likewise.
22160         * math/test-idouble.c: Likewise.
22161         * math/test-ifloat.c: Likewise.
22162         * math/test-ildoubl.c: Likewise.
22163         * math/test-ldouble.c: Likewise.
22164         * sysdeps/generic/math-tests-arch.h
22165         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22166         architecture check.
22168         * math/test-double.c (FUNC_TEST): New macro.
22169         * math/test-float.c: Likewise.
22170         * math/test-idouble.c: Likewise.
22171         * math/test-ifloat.c: Likewise.
22172         * math/test-ildoubl.c: Likewise.
22173         * math/test-ldouble.c: Likewise.
22174         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22176 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22178         * sysdeps/nacl/fdopendir.c: New file.
22180         * dirent/scandir-tail.c: New file.
22181         * dirent/scandir64-tail.c: New file.
22182         * dirent/Makefile (routines): Add them.
22183         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22184         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22185         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22186         [!SCANDIR] (SCANDIR_TAIL): New macro.
22187         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22188         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22189         (SCANDIRAT): Macro removed.
22190         (SCANDIR_TAIL): New macro.
22191         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22192         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22193         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22194         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22195         (READDIR): Macro removed.
22196         (SCANDIR_TAIL): New macro.
22197         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22198         (SCANDIR_TAIL): New macro.
22200         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22201         * dirent/scandir-cancel.c: ... to this new file.
22202         * dirent/Makefile (routines): Add it.
22203         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22204         * sysdeps/unix/sysv/linux/i386/scandir64.c
22205         (SKIP_SCANDIR_CANCEL): Macro removed.
22206         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22208         * dirent/tst-scandir.c: New file.
22209         * dirent/tst-scandir64.c: New file.
22210         * dirent/Makefile (tests): Add them.
22212 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22214         [BZ #18409]
22215         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22217 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22219         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22220         list.
22222 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22224         * benchtests/bench-strcoll.c: New benchmark.
22225         * benchtests/Makefile: Generate locales and run benchmark.
22226         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22227         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22228         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22229         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22230         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22231         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22232         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22233         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22234         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22235         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22236         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22237         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22238         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22239         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22240         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22241         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22242         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22243         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22244         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22245         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22246         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22247         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22248         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22249         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22251 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22253         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22254         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22256 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22258         * posix/uname-values.h: New file.
22259         * posix/uname.c: Include that instead of <config-name.h>.
22260         * sysdeps/nacl/uname-values.h: New file.
22261         * sysdeps/arm/nacl/uname-values.h: New file.
22263 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22265         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22266         splitting into fields.
22268 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22270         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22271         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22272         * locale/localeinfo.h: Add enum collation_encoding_type.
22273         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22274         * programs/ld-collate.c (collate_output): Add encoding type info.
22275         * string/strcoll_l.c (STRDIFF): New function.
22276         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22277         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22279 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22281         [BZ #18397]
22282         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22283         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22284         <fpu_control.h> instead of <math/fpu_control.c>.
22285         * sysdeps/mips/mips32/fpu/Makefile: New file.
22287 2015-05-11  Andreas Schwab  <schwab@suse.de>
22289         [BZ #18007]
22290         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22291         nss_endgrent.
22292         (_nss_compat_endgrent): Call nss_endgrent.
22293         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22294         nss_endpwent.
22295         (_nss_compat_endpwent): Call nss_endpwent.
22296         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22297         needent, call nss_setspent only if non-zero.
22298         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22299         (internal_endspent): Don't call nss_endspent.
22300         (_nss_compat_endspent): Call nss_endspent.
22301         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22302         Remove.  All uses removed.
22303         (internal_setent): Remove parameter stayopen, add parameter
22304         stream.  Use it instead of global variable.
22305         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22306         (internal_endent, internal_getent): Add parameter stream.  Use it
22307         instead of global variable.
22308         (CONCAT(_nss_files_end,ENTNAME))
22309         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22310         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22311         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22312         uses removed.
22313         (internal_setent, internal_endent): Add parameter stream.  Use it
22314         instead of global variable.
22315         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22316         stream.
22317         (get_next_alias): Add parameter stream.
22318         (_nss_files_getaliasent_r): Pass global stream.
22319         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22320         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22321         (_nss_files_gethostbyname4_r): Pass local stream to
22322         internal_setent, internal_getent and internal_endent.  Remove
22323         locking.
22325 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22327         * tst-strfmon1.c (tests): Update expected currency symbol.
22329 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22331         * sysdeps/nacl/gethostname.c: New file.
22333 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22335         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22336         and sinh.
22337         * math/auto-libm-test-out: Regenerated.
22338         * sysdeps/i386/fpu/libm-test-ulps: Update.
22339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22341 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22343         [BZ #18125]
22344         * stdlib/tst-setcontext3.c: New file.
22345         * stdlib/tst-setcontext3.sh: New file.
22346         * stdlib/Makefile (tests): Add tst-setcontext3.
22347         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22348         to verify test program created output file.
22349         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22350         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22351         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22352         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22354 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22356         [BZ #18383]
22357         * elf/tst-tlsalign.c: New file.
22358         * elf/tst-tlsalign-static.c: New file.
22359         * elf/tst-tlsalign-lib.c: New file.
22360         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22361         (tests-static): Add tst-tlsalign-static.
22362         (modules-names): Add tst-tlsalign-lib.
22363         (test-xfail-tst-tlsalign): New variable.
22364         (test-xfail-tst-tlsalign-static): New variable.
22366         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22367         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22369 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22371         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22372         csqrt, erfc, sin and sincos.
22373         * math/auto-libm-test-out: Regenerated.
22374         * sysdeps/i386/fpu/libm-test-ulps: Update.
22375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22377 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22379         * sysdeps/aarch64/libm-test-ulps: Update.
22381 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22383         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22384         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22385         * math/auto-libm-test-out: Regenerated.
22386         * sysdeps/i386/fpu/libm-test-ulps: Update.
22387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22389 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22391         [BZ #18265]
22392         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22393         (wcsncpy): Likewise.
22395 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22397         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22398         Assume __ASSUME_FALLOCATE is always true.
22399         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22400         (__posix_fallocate64_l64): Likweise.
22401         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22402         (posix_fallocate): Likewise.
22403         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22404         (__posix_fallocate64_l64): Likewise.
22405         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22406         [!__ASSUME_FALLOCATE]: Add comment.
22408 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22410         * sysdeps/unix/sysv/linux/i386/Makefile
22411         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22412         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22413         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22414         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22415         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22416         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22417         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22419 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22421         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22422         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22423         tgamma.
22424         * math/auto-libm-test-out: Regenerated.
22425         * sysdeps/i386/fpu/libm-test-ulps: Update.
22426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22428 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22430         * math/auto-libm-test-in: Add more tests of tgamma.
22431         * math/auto-libm-test-out: Regenerated.
22432         * sysdeps/i386/fpu/libm-test-ulps: Update.
22433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22435         * math/auto-libm-test-in: Add more tests of tanh.
22436         * math/auto-libm-test-out: Regenerated.
22437         * sysdeps/i386/fpu/libm-test-ulps: Update.
22438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22440         * math/auto-libm-test-in: Add more tests of tan.
22441         * math/auto-libm-test-out: Regenerated.
22442         * sysdeps/i386/fpu/libm-test-ulps: Update.
22443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22445         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22446         * math/auto-libm-test-out: Regenerated.
22447         * sysdeps/i386/fpu/libm-test-ulps: Update.
22448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22450         * math/auto-libm-test-in: Add another test of pow.
22451         * math/auto-libm-test-out: Regenerated.
22452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22454         * math/auto-libm-test-in: Add more tests of lgamma.
22455         * math/auto-libm-test-out: Regenerated.
22456         * sysdeps/i386/fpu/libm-test-ulps: Update.
22457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22459         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22460         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22467         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22468         Elf64_Chdr structs and ELFCOMPRESS constants.
22470 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22472         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22473         expm1.
22474         * math/auto-libm-test-out: Regenerated.
22475         * sysdeps/i386/fpu/libm-test-ulps: Update.
22476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22478         * math/auto-libm-test-in: Add more tests of erf and erfc.
22479         * math/auto-libm-test-out: Regenerated.
22480         * sysdeps/i386/fpu/libm-test-ulps: Update.
22481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22483 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22485         * config.h.in (HAVE_AARCH64_BE): Add.
22487 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22489         * math/auto-libm-test-in: Add more tests of csqrt.
22490         * math/auto-libm-test-out: Regenerated.
22491         * sysdeps/i386/fpu/libm-test-ulps: Update.
22492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22494         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22495         * math/auto-libm-test-out: Regenerated.
22496         * sysdeps/i386/fpu/libm-test-ulps: Update.
22497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22499         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22501 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22503         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22504         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22506         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22507         (euidaccess, eaccess): Define as weak aliases.
22509         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22510         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22511         but __suseconds_t is often 'long int' so some sources assume that
22512         type is being used (e.g. they use %ld to print tv_usec).
22514 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22516         [BZ #18007]
22517         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22518         (CVE-2014-8121)
22519         * nss/tst-nss-getpwent.c: New file.
22520         * nss/Makefile (tests): Add new test.
22522 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22524         [BZ #18346]
22525         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22526         exponents less than 48 as cases where high part of mantissa needs
22527         examining to determine whether argument is integral.
22528         * math/libm-test.inc (round_test_data): Add more tests.
22530 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22532         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22534 2015-04-27  David S. Miller  <davem@davemloft.net>
22536         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22537         __tls_get_addr.
22538         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22540 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22542         [BZ#18333]
22543         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22545 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22547         [BZ#18333]
22548         * time/tzset.c (parse_tzname): Return error on memory allocation
22549         failure.
22550         * test-skeleton.c (struct temp_name_list): Change type of name
22551         member to non-const.
22552         (add_temp_file): Create a copy of the file name.
22553         (delete_temp_files): Deallocate memory.
22554         (create_temp_file): Add comment.
22556 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22558         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22559         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22561 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22563         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22564         * sysdeps/arm/configure: Regenerated.
22566 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22568         [BZ #17715]
22569         * time/tzfile.c (__tzfile_read): Check for large values of
22570         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22571         * time/tzset.c (__tzstring_len): New function, based on the old
22572         __tzstring function.
22573         (__tzstring): Call __tzstring_len.
22574         (parse_tzname): New helper function extracted from
22575         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22576         the input string.
22577         (parse_offset): New helper function extracted from
22578         __tzset_parse_tz.  Replace switch with fallthrough with
22579         initialization before sscanf.
22580         (parse_rule): Likewise.
22581         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22582         new-style function definition.
22583         * timezone/Makefile (tests): Add tst-tzset.
22584         (tst-tzset.out): Dependencies on time zone files.
22585         (tst-tzset-ENV): Set TZDIR.
22586         (testdata/XT%): Copy crafted time zone files.
22587         * timezone/README: Mention crafted time zone files.
22588         * timezone/testdata/XT1, timezone/testdata/XT2,
22589         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22590         files.
22591         * timezone/tst-tzset.c: New test.
22593 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22595         * Makeconfig (+gccwarn): Remove -Winline.
22597 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22599         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22601 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22603         * NEWS: Mention sysconf() cache information support for s390.
22604         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22606 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22608         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22609         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22610         (__nearbyint): Likewise.
22611         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22612         (copysignl): Likewise.
22614 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22616         [BZ #18287]
22617         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22618         based on padding.  (CVE-2015-1781)
22620 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22622         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22623         libc-vdso.h.
22624         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22625         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22626         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22627         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22628         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22629         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22630         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22631         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22632         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22633         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22634         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22635         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22636         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22637         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22638         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22639         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22640         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22641         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22642         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22643         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22644         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22645         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22646         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22648 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22650         * stdlib/setenv.c (__add_to_environ):
22651         Dump core quickly if setenv (..., NULL, ...) is called.
22652         This time, do it the right way, and pacify GCC with a pragma.
22654 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22656         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22657         IMAP->l_prev cannot be null, and #if out the code for the contrary
22658         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22659         believe that NS (&_dl_ns[NSID]) could point outside the array.
22661         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22662         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22663         before using NSID as an index.
22665 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22667         [BZ #17825]
22668         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22669         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22670         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22672 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22674         Add preliminary port to Google Native Client on ARM.
22675         * abi-tags (.*-.*-nacl.*): New entry.
22676         * sysdeps/arm/nacl: New directory.
22677         * sysdeps/nacl: New directory.
22679 2015-04-16  David S. Miller  <davem@davemloft.net>
22681         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22682         lowlevellock-futex.h
22684 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22686         * sysdeps/tile/configure.ac: New file.
22687         * sysdeps/tile/configure: Regenerated.
22689 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22691         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22692         conditionals for weak_alias and libc_hidden_weak.
22693         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22694         libc_hidden_weak and weak_alias.
22695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22696         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22697         and weak_alias for static one.
22699 2015-04-15  David S. Miller  <davem@davemloft.net>
22701         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22703 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22705         [BZ #18206]
22706         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22707           Use signed comparision instead of substraction to avoid
22708           overflow bug.
22709         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22710           Take the sign of ret.
22711         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22712           Do not expect precise return values. Only the sign matters.
22713         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22714         * wcsmbs/test-wcsncmp.c: New File.
22715         * string/test-strncmp.c: Add wcsncmp support.
22717 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22719         [BZ #6792]
22720         * math/w_log1p.c: New file.
22721         * math/w_log1pf.c: Likewise.
22722         * math/w_log1pl.c: Likewise.
22723         * math/Makefile (libm-calls): Add w_log1p.
22724         * math/s_log1pl.c (log1pl): Remove weak_alias.
22725         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22726         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22727         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22728         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22729         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22730         [NO_LONG_DOUBLE] (log1pl): Likewise.
22731         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22732         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22733         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22734         (log1p): Remove long_double_symbol.
22735         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22736         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22737         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22738         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22739         remove weak_alias for corresponding log1p function.
22740         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22741         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22742         * sysdeps/ia64/fpu/w_log1p.c: New file.
22743         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22744         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22745         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22747 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22749         [BZ #18247]
22750         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22751         decimal exponent by 1.
22752         * stdlib/tst-strtod-round-data: Add more tests.
22753         * stdlib/tst-strtod-round.c (tests): Regenerated.
22755 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22757         * math/auto-libm-test-in: Add more tests of clog and clog10.
22758         * math/auto-libm-test-out: Regenerated.
22759         * sysdeps/i386/fpu/libm-test-ulps: Update.
22760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22762 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22764         * Makeconfig (module-cppflags): Exclude all .v.i files.
22765         (skip-module-cppflags): Variable removed.
22767         * configure.ac (libc_config_ok): Initialize before reading
22768         preconfigure scripts, not after.
22769         * configure: Regenerated.
22771         * test-skeleton.c (TIMEOUT): Move #define to top level.
22772         (main): Grok environment variable TEST_DIRECT.  If set, print
22773         test expectation details into that file and then behave as if
22774         given --direct.
22776 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22778         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22779         warning on 32-bit.
22781 2015-04-08  David S. Miller  <davem@davemloft.net>
22783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22785 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22787         * math/auto-libm-test-in: Add more tests of atanh.
22788         * math/auto-libm-test-out: Regenerated.
22789         * sysdeps/i386/fpu/libm-test-ulps: Update.
22790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22792         * math/auto-libm-test-in: Add more tests of atan.
22793         * math/auto-libm-test-out: Regenerated.
22794         * sysdeps/i386/fpu/libm-test-ulps: Update.
22795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22797 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22799         * elf/pldd.c (main): Rewrite to use struct
22800         scratch_buffer instead of extend_alloca.
22801         * elf/pldd-xx.c (find_maps): Likewise.
22802         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22803         <alloca.h>.
22804         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22805         scratch_buffer instead of extend_alloca.
22806         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22807         grp/compat-initgroups.c.
22808         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22809         Rewrite to use struct scratch_buffer instead of extend_alloca.
22810         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22811         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22813 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22815         * math/auto-libm-test-in: Add more tests of cbrt.
22816         * math/auto-libm-test-out: Regenerated.
22817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22819         * math/auto-libm-test-in: Add more tests of cabs.
22820         * math/auto-libm-test-out: Regenerated.
22821         * sysdeps/i386/fpu/libm-test-ulps: Update.
22822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22824         [BZ #18210]
22825         [BZ #18211]
22826         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22827         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22828         computations.
22829         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22830         clog10.
22831         * math/auto-libm-test-out: Regenerated.
22832         * sysdeps/i386/fpu/libm-test-ulps: Update.
22833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22835         [BZ #18197]
22836         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22837         (atan): Set FE_TONEAREST mode for internal computations.
22838         * math/auto-libm-test-in: Add more tests of atan.
22839         * math/auto-libm-test-out: Regenerated.
22841 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22843         [BZ #17930]
22844         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22846 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22848         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22850 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22852         * include/scratch_buffer.h: New file.
22853         * malloc/scratch_buffer_grow.c: Likewise.
22854         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22855         * malloc/scratch_buffer_set_array_size.c: Likewise.
22856         * malloc/tst-scratch_buffer.c: Likewise.
22857         * malloc/Makefile (routines): Add scratch_buffer_grow.
22858         (tests): Add test case.
22859         * malloc/Versions (GLIBC_PRIVATE): Export
22860         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22861         __libc_scratch_buffer_set_array_size.
22863 2015-04-06  Richard Henderson  <rth@redhat.com>
22865         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22866         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22868         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22869         unsigned int before printing.
22871 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22873         [BZ #17596]
22874         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22875         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22877 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22879         * include/libc-internal.h (libc_max_align_t): Define.
22881 2015-04-02  Andreas Schwab  <schwab@suse.de>
22883         [BZ #16850]
22884         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22886 2015-04-02  Mel Gorman  <mgorman@suse.de>
22888         [BZ #17195]
22889         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22890         as well as the main arena.
22892 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22894         [BZ #18185]
22895         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22896         sharing L2 cache to 2 for Silvermont/Knights Landing.
22898 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22900         [BZ #17711]
22901         * config.make.in (have-protected-data): New.
22902         * configure.ac: Check linker support for protected data symbol.
22903         * configure: Regenerated.
22904         * elf/Makefile (modules-names): Add tst-protected1moda and
22905         tst-protected1modb if $(have-protected-data) is yes.
22906         (tests): Add tst-protected1a and tst-protected1b if
22907         $(have-protected-data) is yes.
22908         ($(objpfx)tst-protected1a): New.
22909         ($(objpfx)tst-protected1b): Likewise.
22910         (tst-protected1modb.so-no-z-defs): Likewise.
22911         * elf/tst-protected1a.c: New file.
22912         * elf/tst-protected1b.c: Likewise.
22913         * elf/tst-protected1mod.h: Likewise.
22914         * elf/tst-protected1moda.c: Likewise.
22915         * elf/tst-protected1modb.c: Likewise.
22917 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22919         [BZ #17711]
22920         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22921         indicates it is called from do_lookup_x on relocation against
22922         protected data, skip the data definion in the executable from
22923         copy reloc.
22924         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22925         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22926         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22927         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22928         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22929         otherwise to 0.
22930         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22931         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22932         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22933         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22934         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22935         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22937 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22939         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22940         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22942 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22944         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22945         THREAD_SETMEM_NC.
22946         * sysdeps/x86_64/nptl/tls.h: Ditto.
22948 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22950         * dlfcn/tststatic.c (main): Converted to ...
22951         (do_test): ... this.
22952         (TEST_FUNCTION): New macro.
22953         Include test-skeleton.c.
22955 2015-03-26  Alan Modra  <amodra@gmail.com>
22957         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22958         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22959         zero for undefined weak.
22960         (elf_machine_plt_conflict): Similarly.
22962 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22964         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22965         atanh.
22966         * math/auto-libm-test-out: Regenerated.
22967         * sysdeps/i386/fpu/libm-test-ulps: Update.
22968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22970         * math/auto-libm-test-in: Add another test of asin.
22971         * math/auto-libm-test-out: Regenerated.
22972         * sysdeps/i386/fpu/libm-test-ulps: Update.
22973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22976         Remove macro.
22977         (LLL_EBX_REG): Likewise.
22978         (LLL_ENTER_KERNEL): Likewise.
22980         * math/auto-libm-test-in: Add more tests of asin.
22981         * math/auto-libm-test-out: Regenerated.
22982         * sysdeps/i386/fpu/libm-test-ulps: Update.
22983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22985         [BZ #18138]
22986         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22987         libc_do_syscall_args): New structure.
22988         (INTERNAL_SYSCALL_MAIN_0): New macro.
22989         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22990         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22991         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22992         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22993         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22994         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22995         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22996         Replace conditional definitions by conditional definitions of ....
22997         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22998         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22999         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23000         (libpthread-sysdep_routines): Add libc-do-syscall.
23001         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23002         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23003         to __NR_futex not 240.
23005 2015-03-25  Alan Modra  <amodra@gmail.com>
23007         * NEWS: Advertise TLS optimization.
23008         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23009         (DT_PPC_NUM): Increment.
23010         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23011         (CHECK_STATIC_TLS): Use here.
23012         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23013         TLS descriptors.
23014         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23015         * sysdeps/powerpc/dl-tls.c: New file.
23016         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23017         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23018         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23019         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23024 2015-03-25  Alan Modra  <amodra@gmail.com>
23026         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23027         for overlapping .opd entries" to "support...".
23028         * sysdeps/powerpc/powerpc64/configure: Regenerate
23030 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23032         * math/auto-libm-test-in: Add more tests of acos.
23033         * math/auto-libm-test-out: Regenerated.
23034         * sysdeps/i386/fpu/libm-test-ulps: Update.
23035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23037         * math/auto-libm-test-in: Add more tests of expm1.
23038         * math/auto-libm-test-out: Regenerated.
23039         * sysdeps/i386/fpu/libm-test-ulps: Update.
23040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23042 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23044         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23045         * math/auto-libm-test-out: Regenerated.
23046         * sysdeps/i386/fpu/libm-test-ulps: Update.
23047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23049         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23052         * math/auto-libm-test-in: Add more tests of log2.
23053         * math/auto-libm-test-out: Regenerated.
23054         * sysdeps/i386/fpu/libm-test-ulps: Update.
23055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23057 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23059         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23060         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23061         _IO_IS_APPENDING bit in READ_WRITE instead.
23063 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23065         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23066         (__determine_cpumask_size): Replace extend_alloca with a
23067         variable-length array.  Do not treat res == 0 as an error.
23069 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23071         [BZ #18100]
23072         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23073         and integer overflow.
23074         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23075         (main): Add integer overflow tests.
23076         * manual/pattern.texi (Calling Wordexp): Document additional use
23077         for WRDE_SYNTAX.
23079 2015-03-23  Alan Modra  <amodra@gmail.com>
23081         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23082         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23083         and false branch of conditional.
23084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23085         Likewise.
23087 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23089         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23090         libc-modules.h
23091         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23092         unused declaration of _hurd_intr_rpc_msg_in_trap.
23093         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23094         defined instead of whether it is non-zero.
23095         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23096         input constraint instead of both input and output constraint.  Use ecx
23097         clobber instead of %ecx.
23098         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23099         mutex_unlock): Use a statement expression instead of an expression list.
23100         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23101         type to vm_size_t instead of vm_address_t.
23102         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23103         defined instead of whether it is non-zero.
23104         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23105         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23106         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23107         comparisons with mapaddr.
23108         * nscd/nscd-client.h: Include <time.h>.
23109         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23110         9th parameter to __vm_region instead of int.
23111         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23112         * scripts/check-local-headers.sh (exclude): Add device/,
23113         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23114         cthreads.h.
23116 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23118         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23119         to account for alignment padding.
23120         * sysdeps/arm/memmove.S: Likewise.
23122 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23124         * sysdeps/unix/sysv/linux/generic/README: New file.
23126 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23128         [BZ #18138]
23129         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23130         (futex_abstimed_wait)
23131         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23132         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23133         of lll_futex_timed_wait.
23135 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23137         [BZ #17542]
23138         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23140 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23142         [BZ #17090]
23143         [BZ #17620]
23144         [BZ #17621]
23145         [BZ #17628]
23146         * NEWS: Update.
23147         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23148         entries with Static TLS too.  Skip entries past the end of the
23149         allocated DTV, from Alan Modra.
23150         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23151         Static TLS DTV entry set up from...
23152         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23153         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23154         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23155         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23156         for Static TLS.
23157         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23158         that the slot we find is associated with the given map before
23159         using its generation count.
23160         * nptl_db/db_info.c: Include ldsodefs.h.
23161         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23162         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23163         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23164         (link_map::l_tls_offset): New struct field.
23165         (dtv_t::counter): Likewise.
23166         (rtld_global): New struct.
23167         (_rtld_global): New rtld variable.
23168         (dl_tls_dtv_slotinfo_list): New rtld global field.
23169         (dtv_slotinfo_list): New struct.
23170         (dtv_slotinfo): Likewise.
23171         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23172         (td_lookup): Rename to...
23173         (td_mod_lookup): ... this.  Use new mod parameter instead of
23174         LIBPTHREAD_SO.
23175         * nptl_db/td_thr_tlsbase.c: Include link.h.
23176         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23177         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23178         addresses even if the DTV is out of date or missing them.
23179         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23180         index zero-length arrays.
23181         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23182         (td_lookup): Make it a macro implemented in terms of...
23183         (td_mod_lookup): ... this declaration.
23184         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23185         (DB_MAIN_VARIABLE): Likewise.
23187 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23189         [BZ #18134]
23190         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23192 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23194         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23196 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23198         [BZ #18128]
23199         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23200         (atomic_add, atomic_increment_and_test)
23201         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23203 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23205         * stdlib/setenv.c (__add_to_environ):
23206         Dump core quickly if setenv (..., NULL, ...) is called.
23208 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23210         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23211         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23212         all the necessary asm magic in one place.
23213         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23214         using those.
23216 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23218         [BZ #14906]
23219         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23220         traced file mtime. Use consistent log message.
23221         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23222         (register_traced_file): Call install_watches. Always set mtime.
23223         (invalidate_cache): Iterate over all trace files. Call install_watches.
23224         (inotify_check_files): Don't inline. Handle watching parent
23225         directories and configuration file movement in and out.
23226         (handle_inotify_events): New function.
23227         (main_loop_poll): Call handle_inotify_events.
23228         (main_loop_epoll): Likewise.
23229         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23230         (struct traced_file): Use array of inotify fds. Add parent directory,
23231         and basename.
23232         (struct database_dyn): Remove unused file_mtime.
23233         (init_traced_file): New inline function.
23234         (define_traced_file): New macro.
23235         * nss/nss_db/db-init.c: Use define_traced_file.
23236         (_nss_db_init): Use init_traced_file.
23237         * nss/nss_files/files-init.c: Use define_traced_file.
23238         (_nss_files_init): Use init_traced_file.
23240 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23242         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23243         [_LIBC]: Do not include <stdlib.h>.
23244         [!_LIBC] (abort): Remove declaration.
23245         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23246         _FP_STATIC_ASSERT instead of conditionally calling abort.
23247         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23248         (_FP_EXTEND_CNAN): Likewise.
23249         (FP_TRUNC): Likewise.
23250         (__FP_CLZ): Likewise.
23251         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23253 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23255         * manual/string.texi (XPG basename): Fix prototype.
23257 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23259         [BZ #18080]
23260         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23261         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23262         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23263         (__setcontext): Likewise.
23264         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23265         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23266         Call rt_sigprocmask syscall one time to set new signal mask
23267         and retrieve the current signal mask instead of two calls.
23268         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23269         (__swapcontext): Likewise.
23270         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23271         * stdlib/tst-setcontext2.c: New file.
23273 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23275         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23277 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23279         [BZ #18093]
23280         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23281         the wrong size.
23283 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23285         [BZ #18043]
23286         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23288 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23290         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23291         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23292         Remove define.
23293         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23294         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23295         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23296         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23297         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23298         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23299         define.
23300         * nptl_db/td_symbol_list.c (td_lookup): Remove
23301         HAVE_ASM_GLOBAL_DOT_NAME code.
23302         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23303         HAVE_ASM_GLOBAL_DOT_NAME check.
23304         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23305         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23306         (DOT_LABEL): Remove define.
23307         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23308         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23309         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23310         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23311         (__TLS_GET_ADDR): Likewise.
23312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23313         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23315 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23317         [BZ #18111]
23318         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23319         (_FPU_SETCW): Initialize cw from fpsr before storing.
23320         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23321         (fesetexceptflag): Rewrite using fpu_control.h.
23322         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23324 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23326         [BZ #18110]
23327         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23328         asms.
23329         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23331 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23333         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23334         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23335         abort.
23336         (_FP_FMA): Likewise.
23337         (_FP_DIV): Likewise.
23339 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23341         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23342         with 0 in that case.
23343         * Makefile (summarize-tests): New canned sequence, factored out of
23344         commands for targets tests and xtests.  Display summary lines that
23345         don't start with PASS: or XFAIL: rather than ones that do start with
23346         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23347         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23348         do start with ERROR: or FAIL:.
23349         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23350         (except for [$(build-shared) = yes]).
23351         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23352         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23353         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23354         * nptl/Makefile: Revert 2015-03-04 changes.
23355         [$(CXX) empty] (tests-unsupported): New variable.
23356         * debug/Makefile: Likewise.
23358         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23359         gnulib file.  Replace __attribute with __attribute__ throughout.
23361 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23363         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23365 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23367         [BZ #18104]
23368         * math/auto-libm-test-in: Add another test of pow.
23369         * math/auto-libm-test-out: Regenerated.
23371 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23373         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23374         $(config-cflags-nofma).
23376 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23378         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23379         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23380         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23381         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23382         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23383         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23384         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23385         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23386         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23387         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23388         Add comment on closing #endif.
23390 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23392         * posix/wordexp.c (CHAR_IN_SET): New macro.
23393         (parse_param): Use it.
23395 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23397         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23399 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23401         [BZ #18043]
23402         * posix/wordexp.c (parse_param): Fix buffer overflow.
23403         * posix/wordexp-test.c (test_case): Add test case.
23405 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23407         [BZ #18042]
23408         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23409         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23411 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23413         [BZ #18043]
23414         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23415         (do_bz18043): Delete.
23416         (at_page_end): New.
23417         (testit): Refactor to have words at the edge of unreadable page.
23419 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23421         [BZ #16734]
23422         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23423         Cleanup read-only streams as well.
23424         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23426 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23428         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23429         <bits/libc-lockP.h>
23431 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23433         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23434         on [__KERNEL__].
23435         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23436         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23437         * soft-fp/op-common.h (_FP_DECL): Likewise.
23439 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23441         * elf/ifuncdep2.c (global): Replace
23442         __attribute__((visibility("protected"))) with
23443         asm (".protected global").
23444         * elf/ifuncmod1.c (global): Likewise.
23445         * elf/ifuncmod5.c (global): Likewise.
23447 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23449         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23450         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23452 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23454         * manual/install.texi (Configuring and compiling):
23455         Document test-wrapper-env-only.
23456         * INSTALL: Regenerated.
23458 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23460         [BZ #18043]
23461         * posix/wordexp.c (parse_param): Fix buffer overflow.
23462         * posix/wordexp-test.c (do_bz18043): Add test case.
23464 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23466         * time/tst-strptime2.c (do_test): Ensure failing tests are
23467         reported correctly.
23468         * time/tst-strptime3.c (do_test): Likewise.
23470 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23472         Fix aio_error thread-safety.
23473         * sysdeps/pthread/aio_error.c: New file
23474         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23475         synchronization.
23477 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23479         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23480         (group_number, vfprintf): Use it.
23481         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23482         (JUMP, REF): Use it.
23483         (WORK_BUFFER_SIZE): New enum constant.
23484         (process_arg, vfprintf): Use it.
23486 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23488         * manual/errno.texi (Error Messages): Complete example function
23489         by adding missing #define.
23490         (program_invocation_name): Add statement indicating GNU
23491         extension and reference which header file declares the variable.
23492         (program_invocation_short_name): Likewise.
23494 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23496         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23497         compatibility note.
23499 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23501         * Makeconfig (test-wrapper-env-only): New variable.
23502         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23503         then use that with $(test-wrapper-env-only) rather than using
23504         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23506 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23508         [BZ #18082]
23509         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23510         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23511         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23512         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23513         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23514         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23515         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23516         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23517         Likewise.
23518         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23519         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23520         Likewise.
23521         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23522         Likewise.
23523         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23524         Likewise.
23525         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23526         Likewise.
23527         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23529         Likewise.
23530         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23531         Likewise.
23532         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23533         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23535 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23537         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23538         (ETH_ALEN): New macro.
23539         (struct ether_addr): Use it for length of ether_addr_octet.
23541         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23542         (setdb): Don't call __nss_configure_lookup for "rpc".
23543         (do_test): Don't call test_rpc.
23544         (output_rpcent, test_rpc): Functions moved ...
23545         * sunrpc/test-rpcent.c: ... to this new file.
23546         * sunrpc/Makefile (tests): Add it.
23548         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23549         __xpg_sigpause.
23550         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23551         * nptl/tst-signal6.c: Likewise.
23552         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23553         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23555         * configure.ac (libc_cv_cxx_link_ok): New check.
23556         Reset CXX to empty if it fails to link.
23557         * configure: Regenerated.
23558         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23559         bug-atexit3-lib only if $(CXX) is nonempty.
23560         * nptl/Makefile (tests): Likewise for tst-cancel24.
23561         (tests, tests-static): Likewise for tst-cancel24-static.
23562         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23563         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23564         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23565         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23567 2015-03-04  Andreas Schwab  <schwab@suse.de>
23569         [BZ #17631]
23570         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23571         for non-GCC compilers.
23572         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23573         Likewise.
23575 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23577         [BZ #17776]
23578         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23579         integer before bitwise and assembly operations.
23580         (feclearexcept): Likewise.
23581         * math/test-fenvinline.c: New file.
23582         * math/Makefile: Add test-fenvinline test.
23584 2015-03-03  Alan Modra  <amodra@gmail.com>
23586         [BZ #16512]
23587         * scripts/localplt.awk: Strip off symbol version.
23588         * NEWS: Mention bug fix.
23590 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23592         * sysdeps/pthread/timer_routines.c
23593         (timer_free_list, thread_free_list, thread_active_list): Make static.
23595 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23597         [BZ #17779]
23598         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23599         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23600         Undefine.
23601         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23602         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23603         Likewise.
23604         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23605         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23606         Likewise.
23608 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23610         [BZ #18036]
23611         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23612         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23614 2015-03-02  Andreas Schwab  <schwab@suse.de>
23616         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23617         variable name.
23619 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23621         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23622         Return error status.
23624 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23626         [BZ #15969]
23627         * locale/findlocale.c (_nl_find_locale): Introduce const
23628         version of loc_name and drop unsafe type casts.
23630 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23632         * dlfcn/tststatic2.c (main): Converted to ...
23633         (do_test): ... this.
23634         (TEST_FUNCTION): New macro.
23635         Include test-skeleton.c.
23637 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23639         [BZ #17711]
23640         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23641         (tests-pie): Add vismain.
23642         (CFLAGS-vismain.c): New.
23643         * elf/vismain.c: Add comments for PIE requirement.
23645 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23647         [BZ #18046]
23648         [BZ #18047]
23649         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23650         0x1p-56L as threshold for just returning the argument.
23651         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23652         0x1p-32L as threshold for just returning the argument.
23653         * math/auto-libm-test-in: Add more tests of atanh.
23654         * math/auto-libm-test-out: Regenerated.
23655         * sysdeps/i386/fpu/libm-test-ulps: Update.
23656         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23658 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23660         * string/bcopy.c (bcopy): Call memmove for performance.
23662 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23664         * string/bzero.c (__bzero): Call memset for performance.
23666 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23668         [BZ #18068]
23669         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23670         to 00100000.
23672 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23674         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23676 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23678         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23679         (__kernel_standard): Use CSTR macro when setting exc.name.
23680         * sysdeps/ieee754/Makefile [$(subdir) = math]
23681         (CFLAGS-k_standard.c): Remove variable.
23683         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23684         setting p and q from "else if" to "else".
23685         (qzero): Likewise.
23686         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23687         (qone): Likewise.
23688         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23689         (qzerof): Likewise.
23690         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23691         (qonef): Likewise.
23692         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23693         (qzero): Likewise.
23694         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23695         (qone): Likewise.
23697         [BZ #18038]
23698         [BZ #18039]
23699         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23700         return pi/2 for arguments below 0x1p-113L.
23701         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23702         return pi/2 for arguments below 0x1p-106L.
23703         * math/auto-libm-test-in: Add more tests of acos.
23704         * math/auto-libm-test-out: Regenerated.
23706         [BZ #16351]
23707         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23708         (MO): New macro.
23709         (__ieee754_asin): Force underflow exception for results with small
23710         absolute value.
23711         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23712         (MO): New macro.
23713         (__ieee754_asinf): Force underflow exception for results with
23714         small absolute value.
23715         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23716         (__ieee754_asin): Force underflow exception for results with small
23717         absolute value.
23718         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23719         (__ieee754_asinf): Force underflow exception for results with
23720         small absolute value.
23721         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23722         (__ieee754_asinl): Force underflow exception for results with
23723         small absolute value.
23724         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23725         (__ieee754_asinl): Force underflow exception for results with
23726         small absolute value.
23727         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23728         (__ieee754_asinl): Force underflow exception for results with
23729         small absolute value.
23730         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23731         Include <math.h>.
23732         * math/auto-libm-test-in: Do not mark underflow exceptions as
23733         possibly missing for bug 16351.
23734         * math/auto-libm-test-out: Regenerated.
23736         [BZ #18030]
23737         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23738         of power of 2 down when low part has opposite sign.
23739         * math/libm-test.inc (logb_test_data): Add more tests.
23741 2015-02-26  Andreas Schwab  <schwab@suse.de>
23743         [BZ #18032]
23744         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23745         over collating symbol inside a bracket expression.  Minor cleanup.
23746         * posix/tst-fnmatch3.c (do_test): Add test case.
23748 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23750         [BZ #18029]
23751         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23752         Adjust exponent of power of 2 down when low part has opposite
23753         sign.
23754         * math/libm-test.inc (ilogb_test_data): Add more tests.
23756 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23758         [BZ #15969]
23759         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23760         the previous change.
23762         [BZ #15969]
23763         * locale/findlocale.c (_nl_find_locale): Retry archive search
23764         after alias expansion.
23766 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23768         * iconv/tst-iconv3.c (main): Converted to ...
23769         (do_test): ... this.
23770         (TEST_FUNCTION): New macro.
23771         Include test-skeleton.c.
23773         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23774         (convert): Make function static.
23775         (test_unalign): Likewise.  Add const to argument pointee types.
23776         (main): Replace with static function do_test.
23777         Print "Succeeded." only if RET is zero.
23778         (TEST_FUNCTION): New macro.
23779         Include test-skeleton.c.
23781         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23782         returns a null pointer.
23784 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23786         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23787         to __memcpy_ppc only for static builds.
23789 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23791         [BZ #18020]
23792         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23793         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23794         * math/auto-libm-test-in: Add more tests of asinh.
23795         * math/auto-libm-test-out: Regenerated.
23796         * sysdeps/i386/fpu/libm-test-ulps: Update.
23797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23799 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23801         [BZ #15850]
23802         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23803         and ip6_mtuinfo definitions here.
23804         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23805         in this define too.  Update comment.
23807 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23809         * elf/sprof.c (load_shobj): Tweak error message to match others.
23811 2015-02-24  Kevin Easton  <kevin@guarana.org>
23813         [BZ #16145] (partial fix)
23814         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23815         to reduce lock contention.
23817 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23819         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23820         (struct timex): Update time comment.
23821         (ADJ_SETOFFSET): Define.
23823 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23825         [BZ #18019]
23826         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23827         2**56 not 2**28 as threshold for log (2x) formula.
23828         * math/auto-libm-test-in: Add more tests of acosh.
23829         * math/auto-libm-test-out: Regenerated.
23830         * sysdeps/i386/fpu/libm-test-ulps: Update.
23831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23833 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23835         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23836         parenthesis around the buf assignment.
23837         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23839 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23841         [BZ #16783]
23842         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23843         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23844         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23845         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23846         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23847         * math/libm-test.inc (scalb_test_data): Add more tests.
23849 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23851         [BZ #17916]
23852         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23853         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23855 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23857         [BZ #17523]
23858         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23859         * io/bits/fcntl2.h (open): Use it.
23860         (openat): Likewise.
23861         * io/open.c (__libc_open): Likewise.
23862         * io/open64.c (__libc_open64): Likewise.
23863         * io/open64_2.c (__open64_2): Likewise.
23864         * io/open_2.c (__open_2): Likewise.
23865         * io/openat.c (__openat): Likewise.
23866         * io/openat64.c (__openat64): Likewise.
23867         * io/openat64_2.c (__openat64_2): Likewise.
23868         * io/openat_2.c (__openat_2): Likewise.
23869         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23870         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23871         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23872         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23873         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23874         (__open_nocancel): Likewise.
23875         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23876         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23877         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23879 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23881         [BZ #14841]
23882         * resolv/gethnamaddr.c (getanswer): Skip logging if
23883         RES_USE_DNSSEC is set.
23884         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23886 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23888         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23890 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23892         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23893         201304L, for Unicode 7.
23895 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23897         [BZ #17836]
23898         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23899         shared library.  Add gmon-start.os otherwise.
23900         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23901         $(objpfx)gmon-start.os if builing shared library.
23902         ($(objpfx)g$(static-start-installed-name)): Likewise.
23904 2015-02-23  Andreas Schwab  <schwab@suse.de>
23906         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23908 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23910         [BZ #17269]
23911         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23912         (enlarge_userbuf): Likewise.
23914 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23916         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23917         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23918         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23919         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23921 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23923         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23924         expression inside statement expression.
23926 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23928         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23929         <sysdeps/nptl/lowlevellock.h> and remove macros and
23930         functions that are now defined there.
23931         (SYS_futex): Remove.
23932         (lll_compare_and_swap): Remove.
23933         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23935 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23937         [BZ #17999]
23938         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23939         instead of scandirat.
23940         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23941         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23942         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23943         __scandirat.
23944         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23945         (__scandirat): Declare.  Use libc_hidden_proto.
23946         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23947         Remove variable.
23948         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23950 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23952         [BZ #15319]
23953         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23954         (MO): New macro.
23955         (__ieee754_atan2): For results with small absolute value, force
23956         underflow exception and remove excess range and precision from
23957         return value.
23958         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23959         (MO): New macro.
23960         (__ieee754_atan2f): For results with small absolute value, force
23961         underflow exception and remove excess range and precision from
23962         return value.
23963         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23964         (MO): New macro.
23965         (__atan): For results with small absolute value, force underflow
23966         exception and remove excess range and precision from return value.
23967         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23968         (MO): New macro.
23969         (__atanf): For results with small absolute value, force underflow
23970         exception and remove excess range and precision from return value.
23971         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23972         <math.h>.
23973         (__ieee754_atan2): Force underflow exception for results with
23974         small absolute value.
23975         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23976         <math_private.h>.
23977         (atan): Force underflow exception for results with small absolute
23978         value.
23979         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23980         (__atanf): Force underflow exception for results with small
23981         absolute value.
23982         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23983         <math.h>.
23984         (__atanl): Force underflow exception for results with small
23985         absolute value.
23986         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23987         (__atanl): Force underflow exception for results with small
23988         absolute value.
23989         * sysdeps/x86/fpu/bits/mathinline.h
23990         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23991         (__ieee754_atan2): Only define inline for long double.
23992         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23993         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23994         * math/auto-libm-test-in: Do not mark underflow exceptions as
23995         possibly missing for bug 15319.  Add more tests of atan2.
23996         * math/auto-libm-test-out: Regenerated.
23997         * math/libm-test.inc (casin_test_data): Do not mark underflow
23998         exceptions as possibly missing for bug 15319.
23999         (casinh_test_data): Likewise.
24000         * sysdeps/i386/fpu/libm-test-ulps: Update.
24002 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24004         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24005         * sysdeps/mips/bits/endian.h: Fix comments.
24007 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24009         [BZ #17996]
24010         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24011         (hdestroy_r): Likewise.
24012         (hsearch_r): Likewise.
24013         (__hcreate_r): Declare and use libc_hidden_proto.
24014         (__hdestroy_r): Likewise.
24015         (__hsearch_r): Likewise.
24016         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24017         (hcreate): Call __hcreate_r instead of hcreate_r.
24018         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24019         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24020         as weak alias of __hcreate_r.
24021         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24022         __hdestroy_r.
24023         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24024         __hsearch_r.
24025         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24026         Remove variable.
24027         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24028         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24029         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24030         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24032 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24034         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24035         arena_lock into a single arena_get.
24037 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24039         * dl-reloc.c: Inlucde libc-internal.h.
24040         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24041         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24042         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24043         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24044         (grow_heap): Likewise.
24045         * malloc/malloc.c: Include libc-internal.h.
24046         (do_check_malloc): Call powerof2.
24047         (sysmalloc): Use pagesize. Call ALIGN_UP.
24048         (systrim): Use pagesize.
24049         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24050         (__libc_valloc): Use pagesize.
24051         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24053 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24055         [BZ #17991]
24056         * include/sys/resource.h (__getrlimit64): Declare.  Use
24057         libc_hidden_proto.
24058         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24059         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24060         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24061         getrlimit64.
24062         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24063         __getrlimit64.
24064         [!getrlimit64] (getrlimit64): Define as weak alias of
24065         __getrlimit64.  Use libc_hidden_weak.
24066         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24067         using __getrlimit64 not __new_getrlimit64.
24068         (__GI_getrlimit64): Likewise.
24069         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24070         Likewise.
24071         (__GI_getrlimit64): Likewise.
24072         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24074         (getrlimit): Add __getrlimit64 alias.
24075         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24076         Likewise.
24077         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24078         Remove variable.
24079         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24080         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24082 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24084         * libio/fileops.c: Add missing sys/mman.h
24085         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24087 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24089         * manual/math.texi (Errors in Math Functions): Clarify goals
24090         regarding inexact and underflow exceptions.
24092 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24094         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24095         * sysdeps/mips/memset.S: Ditto.
24097 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24099         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24101 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24103         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24104         (__v1longjmp): Remove versioned symbol.
24105         (__v1siglongjmp): Remove alias and versioned symbol.
24106         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24107         (__v2siglongjmp): Likewise.
24109 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24111         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24113 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24115         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24117 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24119         [BZ #17987]
24120         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24121         zero result does not depend on the sign resulting from
24122         subtraction.
24123         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24124         Likewise.
24125         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24126         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24127         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24128         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24129         * math/libm-test.inc (remquo_test_data): Add more tests.
24131 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24133         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24134         Problem reported by J William Piggott.
24136 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24138         [BZ #17978]
24139         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24140         products 4 * y and 2 * y where those would overflow.
24141         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24142         Likewise.
24143         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24144         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24145         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24146         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24147         * math/libm-test.inc (remquo_test_data): Add more tests.
24149         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24151         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24152         [defined _COMPILING_NEWLIB].
24153         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24154         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24156         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24157         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24159 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24161         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24162         acquired.
24164 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24166         [BZ #17792]
24167         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24168         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24169         HOST_STACK_END_ADDR): Likewise.
24171 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24173         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24174         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24175         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24177 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24179         * sysdeps/generic/c++-types.data: New file.
24180         * sysdeps/generic/ld.abilist: New file.
24181         * sysdeps/generic/libBrokenLocale.abilist: New file.
24182         * sysdeps/generic/libanl.abilist: New file.
24183         * sysdeps/generic/libc.abilist: New file.
24184         * sysdeps/generic/libcrypt.abilist: New file.
24185         * sysdeps/generic/libdl.abilist: New file.
24186         * sysdeps/generic/libm.abilist: New file.
24187         * sysdeps/generic/libpthread.abilist: New file.
24188         * sysdeps/generic/libresolv.abilist: New file.
24189         * sysdeps/generic/librt.abilist: New file.
24191 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24193         [BZ #17569]
24194         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24195         Compute absolute value of x as modified by fmod, not original
24196         value of x.
24197         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24198         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24199         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24200         RUN_TEST_ffI_f1_mod8.
24201         (remquo_test_data): Add more tests.
24203 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24205         * sysdeps/init_array/pt-crti.S: New file.
24207 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24209         [BZ #17967]
24210         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24211         __builtin_fmaf instead of relying on contraction of a * b + c.
24213 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24215         [BZ #17969]
24216         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24217         node.
24219 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24221         [BZ #17964]
24222         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24223         __builtin_fma instead of relying on contraction of a * b + c.
24225 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24227         * Makeconfig (ASFLAGS): Add -Werror=undef.
24228         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24229         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24230         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24232         * Makeconfig (after-link): New variable.
24233         (+link-pie, +link-pie-tests): Use it.
24234         (+link-static, +link-static-tests): Likewise.
24235         (+link, +link-tests): Likewise.
24236         * Makerules (build-module, build-module-asneeded): Likewise.
24237         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24238         Likewise.
24239         * elf/Makefile ($(objpfx)ld.so): Likewise.
24241 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24243         [BZ #17965]
24244         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24245         both struct timeval and struct timespec.
24247 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24249         [BZ #16560]
24250         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24251         and redefine.
24252         (__ieee754_exp2l): Do not multiply small fractional parts by
24253         M_LN2l.
24254         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24255         small argument.
24256         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24257         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24258         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24259         * math/auto-libm-test-in: Add more tests of exp2.
24260         * math/auto-libm-test-out: Regenerated.
24262 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24264         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24265         unaligned path.
24267 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24269         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24270         little endian.
24272 2015-02-12  Andreas Schwab  <schwab@suse.de>
24274         [BZ #15790]
24275         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24276         Filter out elision flags from value returned in kind.
24277         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24278         * nptl/tst-pthread-mutexattr.c: New file.
24280 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24282         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24283         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24284         into gnu-gnu, and update comment to refer to abi-tags.
24286 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24288         [BZ #15467]
24289         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24290         (__sincos): Set errno to EDOM for infinite argument.
24291         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24292         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24293         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24294         (__sincosl): Set errno to EDOM for infinite argument.
24295         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24296         (__sincosl): Set errno to EDOM for infinite argument.
24297         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24298         (__sincosl): Set errno to EDOM for infinite argument.
24299         * math/libm-test.inc (sincos_test_data): Test errno setting.
24301 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24303         * string/strxfrm_l.c: Remove #define STRCMP.
24304         * string/strcoll_l.c: Remove #define STRLEN.
24305         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24306         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24308 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24310         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24311         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24312         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24313         * sysdeps/mips/mips64/Makefile: ... here.
24314         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24315         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24316         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24317         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24318         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24319         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24320         * sysdeps/mips/mips64/n64/Implies: Likewise.
24322 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24324         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24325         <sys/time.h>, <string.h>, and <errno.h>.
24326         (dest_offset, dest_address, value, zero): Remove unused variables.
24327         (ldouble): Remove typedef.
24328         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24329         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24330         1).  Fix code style.
24331         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24332         (check): Function removed.
24333         (CHECK): New macro.
24334         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24335         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24336         Don't call set_sigaction_FP and remove_sigaction_FP here.
24337         (ldouble_test): Just use 'long double' as macro argument, no need for
24338         the 'ldouble' typedef.
24339         (do_test): Set up SIGFPE handler at start, using plain signal rather
24340         than sigaction.  Fix code style.
24342 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24344         [BZ #17949]
24345         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24346         jump label.
24348 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24350         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24351         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24353         * sysdeps/powerpc/configure.ac: Remove file.
24354         * sysdeps/powerpc/configure: Likewise.
24356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24357         [sysdep_routines]: Remove wordcopy-power6 object.
24358         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24359         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24360         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24361         (__memmove_ppc32): Likewise.
24362         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24363         file.
24364         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24365         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24366         Remove preprocessor.
24368         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24369         [sysdep_routines]: Remove wide chars objects.
24370         [wcsmbs]: New rule for wide char objects.
24372         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24373         Remove wordcopy-power6 obejct.
24374         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24375         Use local call for wordcopy and memcpy symbols.
24376         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24377         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24378         implementation for loader.
24379         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24381         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24382         Remove wordcopy-power7 object.
24383         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24384         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24385         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24386         (_wordcopy_fwd_dest_aligned): Likewise.
24387         (_wordcopy_bwd_aligned): Likewise.
24388         (_wordcopy_bwd_dest_aligned): Likewise.
24390         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24391         Rewrite to call __memmove_ppc instead of include default
24392         implementation.
24394         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24395         Remove wide chars objects.
24396         [wcsmbs]: New rule for wide char objects.
24398 2015-02-09  Andreas Schwab  <schwab@suse.de>
24400         [BZ #17912]
24401         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24402         in terms of __O_DIRECTORY.
24404 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24406         * time/getdate.c: Include <stdbool.h>.
24407         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24408         call PTR_MANGLE.
24409         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24410         PTR_DEMANGLE.
24412 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24414         Add ersatz _Static_assert on older C hosts
24415         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24416         pre-C11 C platform that is not known to support _Static_assert.
24418 2015-02-07  Richard Braun  <rbraun@sceen.net>
24420         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24421         sigstate.
24422         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24424 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24426         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24427         priority against unexistent AIO_PRIO_DELTA_MAX.
24428         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24429         instead of int.
24430         * misc/fchflags.c (fchflags): Likewise.
24431         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24432         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24433         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24434         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24435         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24436         Declare macros.
24437         [__USE_MISC] (chflags, fchflags): Declare functions.
24438         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24439         EINVAL when nfds is greater than FD_SETSIZE.
24440         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24441         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24442         45.
24443         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24444         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24445         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24446         MACH_RCV_TIMED_OUT.
24447         * hurd/hurd/signal.h (_hurd_self_sigstate,
24448         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24449         Explicit casts from void *.
24450         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24451         * abi-tags: Rename gnu-gnu os into gnu.
24453         [BZ #4719]
24454         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24455         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24456         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24457         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24458         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24459         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24461         [BZ #17944]
24462         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24463         duplicates ADDR->sun_path with sockaddr LEN limitation.
24464         * sysdeps/mach/hurd/connect.c: Include <string.h>
24465         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24466         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24467         * sysdeps/mach/hurd/sendto.c: Likewise.
24468         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24469         implementing it by hand.
24471 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24473         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24474         Use sfi_breg on ldr.
24475         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24476         Likewise.
24478         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24479         it's defined.
24480         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24481         Test SIGSETXID only if it's defined.
24483         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24485         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24486         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24488         * nptl/tst-align2.c: Moved ...
24489         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24490         * nptl/Makefile (tests): Remove tst-align2.
24491         * sysdeps/unix/sysv/linux/Makefile
24492         [$(subdir) = nptl] (tests): Add tst-align-clone.
24493         * nptl/tst-getpid1.c: Moved ...
24494         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24495         * nptl/tst-getpid2.c: Moved ...
24496         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24497         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24498         * sysdeps/unix/sysv/linux/Makefile
24499         [$(subdir) = nptl] (tests): ... here.
24500         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24501         * sysdeps/unix/sysv/linux/Makefile
24502         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24504         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24505         Drop trailing \n from perror argument.  Use return rather than exit.
24507         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24508         on [SA_SIGINFO].
24509         * nptl/tst-cancel21.c (do_test): Likewise.
24510         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24511         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24512         [!SA_SIGINFO]: Make it a stub test.
24514         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24515         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24517         * posix/tst-getlogin.c: Move to ...
24518         * login/tst-getlogin.c: ... here.
24519         * posix/Makefile (tests): Move tst-getlogin to ...
24520         * login/Makefile (tests): ... here.
24522         * libio/tst-atime.c (do_test): Move local variables SV and E
24523         inside [ST_NOATIME] conditional.
24525         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24527         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24529         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24530         (wait_code): New function replaces macro.
24531         Call nanosleep rather than syscall.
24533         * nptl/pt-system.c: Rewritten.  Put everything under
24534         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24535         Use IFUNC to redirect when possible.
24537         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24538         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24539         Use IFUNC to redirect when possible.
24541         * nptl/pt-fork.c: Rewritten.  Put everything under
24542         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24543         Use IFUNC to redirect when possible.
24544         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24546         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24547         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24548         unconditionally nowadays.  This included the only reference to
24549         __vdso_clock_gettime that appears outside libc proper.
24550         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24551         Remove version set (containing only __vdso_clock_gettime).
24552         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24553         Add attribute_hidden.
24554         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24555         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24556         libc_hidden_data_def.
24557         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24558         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24560         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24561         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24562         setrpcent, and getrpcport to ...
24563         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24564         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24565         getrpcbynumber_r, and getrpcent_r to ...
24566         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24567         * inet/getrpcbyname.c: Moved ...
24568         * sunrpc/getrpcbyname.c: ... here.
24569         * inet/getrpcbyname_r.c: Moved ...
24570         * sunrpc/getrpcbyname_r.c: ... here.
24571         * inet/getrpcbynumber.c: Moved ...
24572         * sunrpc/getrpcbynumber.c: ... here.
24573         * inet/getrpcbynumber_r.c: Moved ...
24574         * sunrpc/getrpcbynumber_r.c: ... here.
24575         * inet/getrpcent.c: Moved ...
24576         * sunrpc/getrpcent.c: ... here.
24577         * inet/getrpcent_r.c: Moved ...
24578         * sunrpc/getrpcent_r.c: ... here.
24579         * inet/Makefile (routines): Move those to ...
24580         * sunrpc/Makefile (routines): ... here.
24581         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24582         the $(subdirs) list.
24583         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24584         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24585         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24586         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24588         * elf/Makefile (routines): Include $(all-dl-routines), not just
24589         $(dl-routines).
24590         (rtld-routines): Likewise.  Use = rather than :=.
24591         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24592         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24593         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24594         * sysdeps/arm/Makefile: Likewise.
24595         * sysdeps/i386/Makefile: Likewise.
24596         * sysdeps/x86_64/Makefile: Likewise.
24597         * sysdeps/hppa/Makefile [$(subdir) = elf]
24598         (sysdep_routines, sysdep-rtld-routines): Don't add
24599         $(sysdep-dl-routines) to these.
24600         * sysdeps/ia64/Makefile: Likewise.
24601         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24602         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24603         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24604         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24605         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24606         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24607         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24608         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24609         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24610         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24611         these; sysdep-dl-routines alone is enough.
24613 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24615         [BZ #17932]
24616         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24617         where multiplication results in zero and third argument is finite
24618         and nonzero.
24619         * math/auto-libm-test-in: Add more tests of fma.
24620         * math/auto-libm-test-out: Regenerated.
24622         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24623         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24624         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24625         (_FP_CMP_EQ): Likewise.
24626         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24628         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24629         extra argument CHECK_NAN.  Redefine as wrapper around
24630         _FP_EXTEND_CNAN.
24632 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24634         * version.h (RELEASE): Set to "stable".
24635         (VERSION): Set to "2.21"
24636         * include/features.h (__GLIBC_MINOR__): Set to 21.
24638         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24640 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24641             Paul Eggert  <eggert@cs.ucla.edu>
24643         [BZ #16618]
24644         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24645         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24646         size in bytes. Store needed elements in wpmax. Use needed size
24647         in bytes for extend_alloca.
24649 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24651         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24652         binutls 2.25, and texinfo 5.2.
24653         * INSTALL: Regenerate.
24654         * sysdeps/nios2/configure: Regenerate.
24655         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24656         * manual/contrib.texi: Update.
24657         * po/be.po: Update.
24658         * po/bg.po: Update.
24659         * po/ca.po: Update.
24660         * po/cs.po: Update.
24661         * po/da.po: Update.
24662         * po/de.po: Update.
24663         * po/el.po: Update.
24664         * po/eo.po: Update.
24665         * po/es.po: Update.
24666         * po/fi.po: Update.
24667         * po/fr.po: Update.
24668         * po/gl.po: Update.
24669         * po/hr.po: Update.
24670         * po/hu.po: Update.
24671         * po/ia.po: Update.
24672         * po/id.po: Update.
24673         * po/it.po: Update.
24674         * po/ja.po: Update.
24675         * po/ko.po: Update.
24676         * po/lt.po: Update.
24677         * po/nb.po: Update.
24678         * po/nl.po: Update.
24679         * po/pl.po: Update.
24680         * po/pt_BR.po: Update.
24681         * po/ru.po: Update.
24682         * po/rw.po: Update.
24683         * po/sk.po: Update.
24684         * po/sl.po: Update.
24685         * po/sv.po: Update.
24686         * po/tr.po: Update.
24687         * po/uk.po: Update.
24688         * po/vi.po: Update.
24689         * po/zh_CN.po: Update.
24690         * po/zh_TW.po: Update.
24692         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24693         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24694         * sysdeps/hppa/dl-irel.h: Remove #warning.
24695         * sysdeps/hppa/entry.h: Provide prototype for
24696         __canonicalize_funcptr_for_compare and cast argument.
24697         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24698         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24699         * sysdeps/hppa/sotruss-lib.c: New file.
24700         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24701         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24702         (atomic_compare_and_exchange_bool_acq): Likewise.
24703         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24704         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24706         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24707         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24708         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24710 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24712         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24713         called function in non-PIC case.
24715 2015-01-31  David S. Miller  <davem@davemloft.net>
24717         * sysdeps/sparc/sparc32/bits/atomic.h
24718         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24719         unlock not after it.
24720         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24721         volatile register usage warnings from the compiler.
24723         * sysdeps/sparc/nptl/sem_init.c: Delete.
24724         * sysdeps/sparc/nptl/sem_post.c: Delete.
24725         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24726         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24727         * sysdeps/sparc/sparc32/sem_init.c: New file.
24728         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24729         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24730         padding explicitly initialized.
24731         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24732         padding for in-semaphore spinlock.
24733         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24734         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24735         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24736         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24737         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24738         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24739         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24740         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24741         version.
24742         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24743         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24745 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24747         [BZ #17801]
24748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24749         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24750         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24751         New.
24752         (index_AVX_Fast_Unaligned_Load): Likewise.
24753         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24754         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24755         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24756         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24757         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24758         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24759         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24760         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24761         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24763 2015-01-29  Andreas Schwab  <schwab@suse.de>
24765         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24767 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24769         [BZ #17892]
24770         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24772 2015-01-28  Martin Sebor  <msebor@redhat.com>
24774         * math/README.libm-test: Clarify. Add "How to read the test output."
24776 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24778         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24779         Define to 0.
24781 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24783         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24784         (__HAVE_64B_ATOMICS): Define to 0.
24786 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24788         [BZ #17885]
24789         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24790         value to set as new flag.
24792         [BZ #16576]
24793         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24794         and use _ARCH_PPCSQ instead.
24795         (__ieee754_sqrt): Likewise.
24796         (__ieee754_sqrtf): Likewise.
24797         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24798         _ARCH_PPCSQ is defined.
24799         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24800         fsqrt instruction.
24801         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24802         _ARCH_PPCSQ is defined.
24803         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24804         fsqrts instruction.
24805         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24807 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24809         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24810         bug (GCC BZ #64739).
24812 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24814         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24815         Mark _retval as used.
24816         (lll_futex_wake_unlock): Likewise.
24817         (lll_futex_timed_wait_requeue_pi): Likewise.
24819         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24820         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24821         register variables.
24823         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24824         libm_hidden_def.
24826         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24827         (__bswap_64): Mark as __always_inline.
24829 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24831         [BZ #15378]
24832         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24833         when none of the search directories exist.
24835 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24837         [BZ #17869]
24838         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24839         power8 in .machine directive.
24841         [BZ #17868]
24842         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24843         set dependency from opd value.
24845 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24848         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24849         architecture.
24851 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24853         [BZ #17870]
24854         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24855         with uint64_t.
24856         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24857         (uint64_t) 1.
24858         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24859         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24860         Replace 1UL with (uint64_t) 1.
24861         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24862         int with uint64_t.
24864 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24866         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24867         (if_freenameindex): Likewise.
24869         * resource/getrlimit64.c: Add missing libc_hidden_def.
24871 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24873         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24874         __label__.
24875         (_FP_FMA): Likewise.
24876         (_FP_TO_INT_ROUND): Likewise.
24877         (_FP_FROM_INT): Likewise.
24879 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24881         [BZ #16418]
24882         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24883         Make code racy and cancel safe.
24885 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24887         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24888         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24889         attribution.
24891         * pwd/tst-getpw.c: Rewrite.
24893         [BZ #17702]
24894         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24895         (modules-names): Add moddummy1 and moddummy2.
24896         ($(objpfx)tst-rec-dlopen): Define.
24897         * dlfcn/moddummy1.c: New file.
24898         * dlfcn/moddummy2.c: New file.
24899         * dlfcn/tst-rec-dlopen.c: New file.
24900         * elf/dl-cache.c (_dl_load_cache_lookup):
24901         Return char*. Copy result with alloca/strcpy/strdup.
24902         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24903         returns char*. Free cached. If not saving realname
24904         free cached.
24905         * elf/dl-open.c (dl_open_worker): Do not assert that
24906         _r_debug->r_state is RT_CONSISTENT.
24907         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24908         returns char*.
24910 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24911             Carlos O'Donell  <carlos@redhat.com>
24913         [BZ #12674]
24914         * nptl/sem_waitcommon.c: New file.
24915         * nptl/sem_wait.c: Include sem_waitcommon.c.
24916         (__sem_wait_cleanup, do_futex_wait): Remove.
24917         (__new_sem_wait): Adapt.
24918         (__new_sem_trywait): New function.
24919         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24920         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24921         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24922         (sem_timedwait): Adapt.
24923         * nptl/sem_post.c (__new_sem_post): Adapt.
24924         (futex_wake): New function.
24925         (__old_sem_post): Add release MO fence.
24926         * nptl/sem_open.c (sem_open): Adapt.
24927         * nptl/sem_init.c (__new_sem_init): Adapt.
24928         (futex_private_if_supported): New function.
24929         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24930         (__old_sem_getvalue): Add using previous code.
24931         * sysdeps/nptl/internaltypes.h: Adapt.
24932         * nptl/tst-sem13.c (do_test): Adapt.
24933         * nptl/tst-sem11.c (main): Adapt.
24934         * nptl/sem_trywait.c: Remove.
24935         * nptl/DESIGN-sem.txt: Remove.
24936         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24937         (gen-as-const-headers): Remove structsem.sym.
24938         * nptl/structsem.sym: Remove.
24939         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24940         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24941         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24942         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24943         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24944         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24945         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24946         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24947         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24948         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24949         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24950         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24951         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24952         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24953         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24954         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24955         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24956         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24957         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24958         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24959         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24960         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24962 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24964         * INSTALL: Regenerated.
24966         * po/libc.pot: Regenerated.
24968 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24969             Sandra Loosemore  <sandra@codesourcery.com>
24970             Andrew Jenner  <andrew@codesourcery.com>
24971             Joseph Myers  <joseph@codesourcery.com>
24972             Nathan Sidwell  <nathan@codesourcery.com>
24974         * NEWS: Mention new Nios II port.
24975         * sysdeps/nios2/Implies: New file.
24976         * sysdeps/nios2/Makefile: New file.
24977         * sysdeps/nios2/Subdirs: New file.
24978         * sysdeps/nios2/Versions: New file.
24979         * sysdeps/nios2/__longjmp.S: New file.
24980         * sysdeps/nios2/abort-instr.h: New file.
24981         * sysdeps/nios2/backtrace.c: New file.
24982         * sysdeps/nios2/bits/endian.h: New file.
24983         * sysdeps/nios2/bits/fenv.h: New file.
24984         * sysdeps/nios2/bits/link.h: New file.
24985         * sysdeps/nios2/bits/setjmp.h: New file.
24986         * sysdeps/nios2/bsd-_setjmp.S: New file.
24987         * sysdeps/nios2/bsd-setjmp.S: New file.
24988         * sysdeps/nios2/configure: New generated file.
24989         * sysdeps/nios2/configure.ac: New file.
24990         * sysdeps/nios2/crti.S: New file.
24991         * sysdeps/nios2/crtn.S: New file.
24992         * sysdeps/nios2/dl-init.c: New file.
24993         * sysdeps/nios2/dl-machine.h: New file.
24994         * sysdeps/nios2/dl-sysdep.h: New file.
24995         * sysdeps/nios2/dl-tls.h: New file.
24996         * sysdeps/nios2/dl-trampoline.S: New file.
24997         * sysdeps/nios2/gccframe.h: New file.
24998         * sysdeps/nios2/gmp-mparam.h: New file.
24999         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25000         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25001         * sysdeps/nios2/ldsodefs.h: New file.
25002         * sysdeps/nios2/libc-tls.c: New file.
25003         * sysdeps/nios2/libm-test-ulps: New file.
25004         * sysdeps/nios2/machine-gmon.h: New file.
25005         * sysdeps/nios2/math-tests.h: New file.
25006         * sysdeps/nios2/math_private.h: New file.
25007         * sysdeps/nios2/memusage.h: New file.
25008         * sysdeps/nios2/nptl/Makefile: New file.
25009         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25010         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25011         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25012         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25013         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25014         * sysdeps/nios2/nptl/tls.h: New file.
25015         * sysdeps/nios2/preconfigure: New file.
25016         * sysdeps/nios2/s_fma.c: New file.
25017         * sysdeps/nios2/s_fmaf.c: New file.
25018         * sysdeps/nios2/setjmp.S: New file.
25019         * sysdeps/nios2/sfp-machine.h: New file.
25020         * sysdeps/nios2/sotruss-lib.c: New file.
25021         * sysdeps/nios2/stackguard-macros.h: New file.
25022         * sysdeps/nios2/stackinfo.h: New file.
25023         * sysdeps/nios2/start.S: New file.
25024         * sysdeps/nios2/sysdep.h: New file.
25025         * sysdeps/nios2/tls-macros.h: New file.
25026         * sysdeps/nios2/tst-audit.h: New file.
25027         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25028         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25029         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25030         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25031         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25032         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25033         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25034         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25035         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25036         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25037         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25038         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25039         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25040         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25041         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25042         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25043         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25044         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25045         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25046         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25047         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25048         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25049         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25050         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25051         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25052         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25053         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25054         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25055         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25056         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25057         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25058         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25059         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25060         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25061         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25062         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25063         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25064         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25065         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25066         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25067         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25068         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25069         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25070         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25072 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25074         [BZ #17844]
25075         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25076         (getutent): Use weak_alias in non SHARED case
25077         and default_symbol_version in SHARED case.
25078         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25079         (getutent_r, pututline): Likewise.
25080         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25081         (getutid): Likewise.
25082         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25083         (getutid_r): Likewise.
25084         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25085         (getutline): Likewise.
25086         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25087         (getutline_r): Likewise.
25088         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25089         (updwtmp): Likewise.
25091 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25093         [BZ #17848]
25094         * sysdeps/s390/s390-32/memcmp.S
25095         (memcmp_g5): Rename to __memcmp_g5.
25096         * sysdeps/s390/s390-32/memcpy.S
25097         (memcpy_g5): Rename to __memcpy_g5.
25098         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25099         (memcpy_mvcle) Rename to __memcpy_mvcle.
25100         * sysdeps/s390/s390-32/memset.S
25101         (memset_g5): Rename to __memset_g5.
25102         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25103         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25104         and use prefixed functions.
25105         * sysdeps/s390/s390-32/multiarch/memcmp.S
25106         (memcmp_z196): Rename to __memcmp_z196.
25107         (memcmp_z10): Rename to __memcmp_z10.
25108         (memcmp): Set alias to __memcmp_g5.
25109         (bcmp): Set alias to __memcmp_g5.
25110         * sysdeps/s390/s390-32/multiarch/memcpy.S
25111         (memcpy_z196): Rename to __memcpy_z196.
25112         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25113         (memcpy_z10): Rename to __memcpy_z10.
25114         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25115         (memcpy): Set alias to __memcpy_g5.
25116         * sysdeps/s390/s390-32/multiarch/memset.S
25117         (memset_z196): Rename to __memset_z196.
25118         Jump to __memset_mvcle instead of memset_mvcle.
25119         (memset_z10): Rename to __memset_z10.
25120         Jump to __memset_mvcle instead of memset_mvcle.
25121         (memset_mvcle) Rename to __memset_mvcle.
25122         (memset): Set alias to __memset_g5.
25123         * sysdeps/s390/s390-64/memcmp.S
25124         (memcmp_z900): Rename to __memcmp_z900.
25125         * sysdeps/s390/s390-64/memcpy.S
25126         (memcpy_z900): Rename to __memcpy_z900.
25127         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25128         (memcpy_mvcle) Rename to __memcpy_mvcle.
25129         * sysdeps/s390/s390-64/memset.S
25130         (memset_z900): Rename to __memset_z900.
25131         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25132         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25133         and use prefixed functions.
25134         * sysdeps/s390/s390-64/multiarch/memcmp.S
25135         (memcmp_z196): Rename to __memcmp_z196.
25136         (memcmp_z10): Rename to __memcmp_z10.
25137         (memcmp): Set alias to __memcmp_z900.
25138         (bcmp): Set alias to __memcmp_z900.
25139         * sysdeps/s390/s390-64/multiarch/memcpy.S
25140         (memcpy_z196): Rename to __memcpy_z196.
25141         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25142         (memcpy_z10): Rename to __memcpy_z10.
25143         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25144         (memcpy): Set alias to __memcpy_z900.
25145         * sysdeps/s390/s390-64/multiarch/memset.S
25146         (memset_z196): Rename to __memset_z196.
25147         Jump to __memset_mvcle instead of memset_mvcle.
25148         (memset_z10): Rename to __memset_z10.
25149         Jump to __memset_mvcle instead of memset_mvcle.
25150         (memset_mvcle) Rename to __memset_mvcle.
25151         (memset): Set alias to __memset_z900.
25153 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25155         [BZ #17748]
25156         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25157         __fesetenv instead of fesetenv.
25159 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25161         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25162         macro.
25164 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25166         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25167         regression on LE.
25169         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25170         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25171         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25172         strncmp-power8 object.
25173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25174         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25175         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25176         * NEWS: Update.
25178 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25179             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25181         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25182         trailing byte check.
25184 2015-01-13  David S. Miller  <davem@davemloft.net>
25186         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25188 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25190         * login/logout.c (logout): Use memset rather than bzero.
25191         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25192         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25193         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25194         (_gethtbyaddr): Likewise.
25195         * locale/programs/simple-hash.c (bcopy): Macro removed.
25197 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25199         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25200         Add strcmp-power8 object.
25201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25202         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25203         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25204         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25205         __strcmp_power8 implementation.
25206         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25207         * NEWS: Update.
25209         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25210         Add strncpy-power8 and stpncpy-power8 objects.
25211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25212         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25213         implementations.
25214         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25215         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25216         __stpncpy_power8 implementation.
25217         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25218         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25219         __strncpy_power8 implementation.
25220         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25221         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25222         * NEWS: Update.
25224         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25225         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25226         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25228         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25229         strncat-power8 object.
25230         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25231         __strcat_power8 implementation.
25232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25233         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25234         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25235         optimized strcat for power8.
25237         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25238         strcpy-power8 and stpcpy-power8 objects.
25239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25240         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25241         implementations.
25242         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25243         multiarch stpcpy implementation for POWER8.
25244         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25245         multiarch strcpy implementation for POWER8.
25246         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25247         __strcpy_power8 function.
25248         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25249         stpcpy for POWER8.
25250         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25251         strcpy for POWER8.
25252         * NEWS: Update.
25254 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25256         [BZ #16009]
25257         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25258         weights and rules. Use do_xfrm_cached if data fits in cache,
25259         do_xfrm otherwise.  Moved former main loop to...
25260         * (do_xfrm_cached): New function.
25261         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25262         find_idx, find_position and stack_push.
25263         * (find_idx): New function.
25264         * (find_position): Likewise.
25265         * localedata/sort-test.sh: Added test run for do_xfrm.
25266         * localedata/xfrm-test.c (main): Added command line option
25267         -nocache to run the test with strings that are too large for
25268         the STRXFRM cache.
25270 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25272         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25273         variable to lll_futex_wake call, not the value itself.
25275 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25277         [BZ #17803]
25278         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25279         twom64.  Adjust value to 0x1p-64L.
25280         (__scalblnl): Only return standard underflowing result for K <=
25281         -64 not K <= -63; adjust exponent for underflowing result by 64
25282         not 63.
25283         * math/libm-test.inc (scalbn_test_data): Add more tests.
25284         (scalbln_test_data): Likewise.
25286         [BZ #17834]
25287         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25288         0x1p63L.
25289         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25290         not HX.
25291         * math/libm-test.inc (scalbn_test_data): Add more tests.
25292         (scalbln_test_data): Likewise.
25294 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25295             Stefani Seibold  <stefani@seibold.net>
25297         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25298         (sysdep_routines): Add dl-vdso here, ...
25299         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25300         (sysdep_routines): ... not here.
25301         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25302         fallback when vDSO is not presented.
25303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25304         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25305         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25306         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25307         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25308         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25309         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25310         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25311         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25312         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25313         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25314         fallback configurable symbol when vDSO is not available.
25315         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25316         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25317         be able to redefine fallback symbol when vDSO is not available.
25318         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25319         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25321 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25323         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25324         (TLS_INIT_TP): Add tm_capable initialization.
25325         (TLS_DEFINE_INIT_TP): Likewise.
25326         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25327         TCB.
25328         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25329         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25330         calculation.
25331         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25332         transactoion is lock elision is built and TCB tm_capable is set.
25333         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25335         (INTERNAL_SYSCALL_NCS): Likewise.
25336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25337         (INTERNAL_SYSCALL_NCS): Likewise.
25338         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25340         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25341         for powerpc.
25342         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25343         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25344         and remove it for 32 bits case.
25345         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25347         initialization.
25348         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25349         Disable lock elision with rdlocks if elision is not available.
25351         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25352         (sysdep_routines): Add lock elision objects.
25353         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25354         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25355         [pthread_mutex_t] (__elision): Add field.
25356         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25357         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25358         elision definitions for powerpc.
25359         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25360         implementation of lock elision for powerpc.
25361         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25362         implementation of timed lock elision for powerpc.
25363         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25364         implementation of trylock with lock elision for powerpc.
25365         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25366         implementaion of unlock for lock elision for powerpc.
25367         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25368         automatic enable lock elision for mutexes.
25369         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25370         transaction execution definitions for powerpc.
25371         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25372         definitions.
25373         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25374         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25375         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25376         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25377         * NEWS: Update.
25379 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25381         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25382         for #include of <shm-directory.h>.
25384 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25386         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25387         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25389 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25391         [BZ #17791]
25392         * NEWS: Mention bug fix.
25393         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25394         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25395         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25397 2015-01-09  Torvald Riegel <triegel@redhat.com>
25399         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25401 2015-01-09  Torvald Riegel <triegel@redhat.com>
25403         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25405 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25407         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25408         pointer and cast to uintptr_t.
25410 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25412         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25413         removed.
25414         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25416 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25418         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25419         of 0.
25421 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25423         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25424         <nptl/pthreadP.h> instead.
25425         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25427         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25428         already defined.
25429         [__SIGRTMIN] (init): Function removed.
25430         [__SIGRTMIN] (initialized): Variable removed.
25431         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25432         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25433         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25434         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25435         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25436         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25437         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25438         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25439         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25440         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25441         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25442         * sysdeps/nptl/allocrtsig.c: New file.
25443         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25444         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25445         * sysdeps/generic/testrtsig.h: File removed.
25447         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25448         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25450         * nptl/nptl-init.c (pthread_functions): Conditionalize
25451         .ptr__nptl_setxid initialization on [SIGSETXID].
25453         * sysdeps/nptl/sys/procfs.h: New file.
25454         * nptl_db/Makefile (headers): Add it.
25455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25457         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25458         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25459         * nptl/pthread_attr_setaffinity.c: Include it.
25460         * nptl/pthread_setattr_default_np.c: Likewise.
25461         * nptl/check-cpuset.h: New file.
25463 2015-01-08  Richard Henderson  <rth@redhat.com>
25465         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25466         (CFLAGS-tst-execstack-prog.c): Likewise.
25467         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25469 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25470             Sandra Loosemore  <sandra@codesourcery.com>
25471             Andrew Jenner  <andrew@codesourcery.com>
25472             Joseph Myers  <joseph@codesourcery.com>
25473             Nathan Sidwell  <nathan@codesourcery.com>
25475         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25476         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25477         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25478         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25479         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25480         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25481         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25482         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25483         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25484         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25485         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25486         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25487         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25488         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25489         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25490         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25491         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25493 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25495         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25496         timespec struct member in syscall macro.
25497         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25498         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25499         first timeval struct member in syscall macro.
25500         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25502 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25504         [BZ #17748]
25505         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25506         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25507         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25508         __feupdateenv and define as weak alias of __feupdateenv.  Use
25509         libm_hidden_weak.
25510         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25511         libm_hidden_def.
25512         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25513         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25514         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25515         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25516         libm_hidden_def.
25517         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25518         __feupdateenv and define as weak alias of __feupdateenv.  Use
25519         libm_hidden_weak.
25520         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25521         libm_hidden_def.
25522         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25523         __feupdateenv and define as weak alias of __feupdateenv.  Use
25524         libm_hidden_weak.
25525         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25526         libm_hidden_def.
25527         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25528         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25529         (__feupdateenv): Likewise.
25530         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25531         __feupdateenv and define as weak alias of __feupdateenv.  Use
25532         libm_hidden_weak.
25533         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25534         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25535         libm_hidden_def.
25536         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25537         function.
25538         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25539         libm_hidden_def.
25540         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25541         __feupdateenv instead of feupdateenv.
25542         (default_libc_feupdateenv_test): Likewise.
25543         (libc_feresetround_ctx): Likewise.
25545 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25547         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25548         prototype.
25550 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25552         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25553         COLL_SYM in a couple of places to avoid uninitialized variable
25554         wanings on tilegx gcc 4.8.2.
25556 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25558         * sysdeps/aarch64/strcpy.S: New file.
25559         * sysdeps/aarch64/stpcpy.S: New file.
25560         * NEWS: Updated.
25562 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25564         * sysdeps/aarch64/strrchr.S: New file.
25565         * NEWS: Updated.
25567 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25569         [BZ #17658]
25570         * stdlib/setenv.c: Fix memory leak when setting large,
25571         duplicate string.
25573 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25575         [BZ #17273]
25576         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25577         and tabs from buffer before parsing fstab entry.
25578         * misc/tst-mntent.c (main): Add test for mount entry with
25579         trailing spaces and tabs.
25581 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25583         [BZ #17748]
25584         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25585         * math/fesetround.c (fesetround): Rename to __fesetround and
25586         define as weak alias of __fesetround.  Use libm_hidden_weak.
25587         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25588         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25589         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25590         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25591         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25592         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25593         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25594         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25595         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25596         __fesetround_inline.
25597         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25598         __fesetround_inline instead of __fesetround.
25599         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25600         __fesetround and define as weak alias of __fesetround.  Use
25601         libm_hidden_weak.  Call __fesetround_inline instead of
25602         __fesetround.
25603         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25604         __fesetround and define as weak alias of __fesetround.  Use
25605         libm_hidden_weak.
25606         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25607         Likewise.
25608         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25609         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25610         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25611         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25612         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25613         __fesetround and define as weak alias of __fesetround.  Use
25614         libm_hidden_weak.
25615         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25616         __fesetround instead of fesetround.
25617         (default_libc_feholdexcept_setround): Likewise.
25618         (libc_feholdsetround_ctx): Likewise.
25619         (libc_feholdsetround_noex_ctx): Likewise.
25621         [BZ #17748]
25622         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25623         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25624         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25625         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25626         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25627         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25628         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25629         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25630         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25631         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25632         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25633         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25634         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25635         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25636         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25637         libm_hidden_def.
25638         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25639         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25640         Likewise.
25641         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25642         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25643         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25644         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25645         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25646         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25647         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25648         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25649         __fesetenv instead of fesetenv.
25650         (libc_feresetround_noex_ctx): Likewise.
25651         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25652         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25653         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25654         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25655         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25656         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25657         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25658         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25659         (__feupdateenv): Likewise.
25660         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25661         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25662         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25663         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25665 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25667         [BZ #17806]
25668         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25669         addresses have been freed.
25671 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25673         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25674         and nservall.
25676 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25678         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25679         Clean up check_pf allocation pattern. addresses
25681 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25683         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25684         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25685         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25686         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25687         * nptl/pthread_join.c (pthread_join): Likewise.
25688         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25689         * sysdeps/posix/waitid.c (__waitid): Likewise.
25690         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25691         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25692         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25693         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25694         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25695         Likewise.
25696         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25697         (__libc_pread64): Likewise.
25698         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25699         (__libc_pwrite): Likewise.
25700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25701         (__libc_pwrite64): Likewsie.
25702         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25703         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25704         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25705         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25706         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25707         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25708         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25710         Likewise.
25711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25712         (__libc_pread64): Likewise.
25713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25714         Likewise.
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25716         (__libc_pwrite64): Likewise.
25717         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25718         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25719         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25720         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25721         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25722         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25723         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25724         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25725         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25726         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25727         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25728         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25729         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25730         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25731         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25732         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25733         Likewise.
25735 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25737         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25738         (CFLAGS-test-double.c): Likewise.
25739         (CFLAGS-test-ldouble.c): Likewise.
25740         (CPPFLAGS-test-ifloat.c): Likewise.
25741         (CPPFLAGS-test-idouble.c): Likewise.
25742         (CPPFLAGS-test-ildoubl.c): Likewise.
25743         (CFLAGS-test-test-fenv.c): Remove variable.
25744         (CFLAGS-test-misc.c): Likewise.
25746 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25748         [BZ #17797]
25749         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25750         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25751         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25752         CLOCKS_PER_SEC == 1000000.
25753         * time/clocktest.c (main): Replace %ld with %jd and cast to
25754         intmax_t.
25756 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25758         * sysdeps/generic/unwind-resume.h: New file.
25759         * sysdeps/gnu/unwind-resume.c: Include it.
25760         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25761         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25762         argument list.
25763         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25764         global rather than static.
25765         (_Unwind_Resume): Update user.
25766         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25767         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25768         rather than static.  Add __attribute__ ((cold)).
25769         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25770         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25771         * sysdeps/arm/arm-unwind-resume.S: New file.
25772         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25773         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25774         * sysdeps/arm/Makefile [$(subdir) = csu]
25775         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25776         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25777         Add rt-arm-unwind-resume.
25778         [$(subdir) = nptl]
25779         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25780         Add pt-arm-unwind-resume.
25781         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25782         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25784 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25786         [BZ #17748]
25787         * include/fenv.h (__feholdexcept): Declare.  Use
25788         libm_hidden_proto.
25789         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25790         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25791         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25792         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25793         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25794         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25795         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25796         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25797         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25798         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25799         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25800         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25801         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25802         (feholdexcept): Likewise.
25803         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25804         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25805         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25806         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25807         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25808         __feholdexcept instead of feholdexcept.
25809         (default_libc_feholdexcept_setround): Likewise.
25811 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25813         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25814         to avoid using stl/str to align destination.
25816 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25818         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25820 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25822         [BZ #17796]
25823         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25824         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25825         Define as weak alias not strong alias.
25827 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25829         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25830         bltzal with addiupc.
25831         (RTLD_START): Ditto.
25833 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25835         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25836         for __vdso_* functions in declarations.
25837         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25838         definitions.
25839         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25840         INTERNAL_VSYSCALL): Use struct return types to check for error.
25842         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25843         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25844         function with cast from llround().
25845         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25846         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25847         Define.
25849 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25851         [BZ #17793]
25852         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25853         Define as weak alias not strong alias.
25855         [BZ #17635]
25856         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25857         ...
25858         * ctype/ctype-extn.c: ... here.
25859         (__isblank_l): Move to ...
25860         * ctype/ctype-c99_l.c: ... here.  New file.
25861         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25862         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25863         Remove variable.
25864         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25865         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25866         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25867         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25868         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25870         [BZ #17777]
25871         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25872         (posix_fadvise64): Define as weak alias not strong alias.
25873         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25874         (posix_fallocate64): Likewise.
25875         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25876         Remove variable.
25877         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25878         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25879         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25880         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25881         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25883 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25885         [BZ #16191]
25886         * NEWS: Mention bug fix.
25887         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25888         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25889         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25890         (HOST_STACK_END_ADDR): Likewise.
25892 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25894         [BZ #17748]
25895         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25896         * math/fegetround.c (fegetround): Rename to __fegetround and
25897         define as weak alias of __fegetround.  Use libm_hidden_weak.
25898         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25899         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25900         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25901         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25902         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25903         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25904         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25905         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25906         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25907         Undefine after rather than before function definition; use
25908         parentheses around function name in definition.
25909         (__fegetround): Also undefine macro after function definition.
25910         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25911         __fegetround and define as weak alias of __fegetround.  Use
25912         libm_hidden_weak.  Do not undefine as macro.
25913         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25914         Likewise.
25915         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25916         __fegetround and define as weak alias of __fegetround.  Use
25917         libm_hidden_weak.
25918         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25919         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25920         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25921         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25922         __fegetround and define as weak alias of __fegetround.  Use
25923         libm_hidden_weak.
25924         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25925         __fegetround instead of fegetround.
25927         [BZ #17782]
25928         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25929         Condition macro definition on [__USE_MISC].
25931         [BZ #17781]
25932         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25933         (struct sigaction): Change type of sa_flags field to int.
25935         [BZ #17780]
25936         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25937         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25938         __glibc_reserved0.
25940         * nptl/version.c (banner): Use single year in copyright notice.
25942         * NEWS: Update copyright dates.
25943         * catgets/gencat.c (print_version): Likewise.
25944         * csu/version.c (banner): Likewise.
25945         * debug/catchsegv.sh: Likewise.
25946         * debug/pcprofiledump.c (print_version): Likewise.
25947         * debug/xtrace.sh (do_version): Likewise.
25948         * elf/ldconfig.c (print_version): Likewise.
25949         * elf/ldd.bash.in: Likewise.
25950         * elf/pldd.c (print_version): Likewise.
25951         * elf/sotruss.sh: Likewise.
25952         * elf/sprof.c (print_version): Likewise.
25953         * iconv/iconv_prog.c (print_version): Likewise.
25954         * iconv/iconvconfig.c (print_version): Likewise.
25955         * locale/programs/locale.c (print_version): Likewise.
25956         * locale/programs/localedef.c (print_version): Likewise.
25957         * login/programs/pt_chown.c (print_version): Likewise.
25958         * malloc/memusage.sh (do_version): Likewise.
25959         * malloc/memusagestat.c (print_version): Likewise.
25960         * malloc/mtrace.pl: Likewise.
25961         * manual/libc.texinfo: Likewise.
25962         * nptl/version.c (banner): Likewise.
25963         * nscd/nscd.c (print_version): Likewise.
25964         * nss/getent.c (print_version): Likewise.
25965         * nss/makedb.c (print_version): Likewise.
25966         * posix/getconf.c (main): Likewise.
25967         * scripts/test-installation.pl: Likewise.
25968         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25970 2015-01-02  Will Newton  <will.newton@linaro.org>
25972         * sysdeps/arm/armv7/configure: Removed.
25973         * sysdeps/arm/armv7/configure.ac: Likewise.
25975 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25977         * All files with FSF copyright notices: Update copyright dates
25978         using scripts/update-copyrights.
25979         * intl/plural.c: Regenerated.
25980         * locale/programs/charmap-kw.h: Likewise.
25981         * locale/programs/locfile-kw.h: Likewise.
25983 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25985         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25987 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25989         [BZ #17748]
25990         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25991         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25992         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25993         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25994         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25995         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25996         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25997         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25998         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25999         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26000         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26001         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26002         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26003         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26004         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26005         libm_hidden_def.
26006         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26007         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26008         Likewise.
26009         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26010         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26011         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26012         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26013         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26014         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26015         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26016         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26017         __fegetenv instead of fegetenv.
26018         (libc_feholdsetround_noex_ctx): Likewise.
26020 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26022         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26023         (Elf_MIPS_ABIFlags_v0): New structure.
26024         (EF_MIPS_FP64): Define.
26025         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26026         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26027         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26028         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26029         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26030         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26031         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26032         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26033         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26034         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26035         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26036         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26037         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26038         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26039         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26040         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26041         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26042         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26043         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26044         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26045         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26046         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26047         field.
26048         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26049         EF_MIPS_FP64.
26050         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26051         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26052         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26053         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26054         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26055         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26056         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26057         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26058         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26059         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26060         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26061         record the current FP ABI extension.
26062         (mips-mode-switch): Define to show if kernel headers support mode
26063         switching.
26064         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26065         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26066         supported SYSV ABI version to 3.
26067         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26068         feature.
26070 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26071             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26073         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26074         path.
26075         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26077 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26079         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26080         __fegetround and redefine to call __fegetround.  Remove condition
26081         on [!__NO_MATH_INLINES].
26082         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26083         function.
26084         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26085         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26086         Remove macro.
26087         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26088         instead of <fenv_libc.h>.
26089         (__llrintl): Call fegetround instead of __fegetround.
26090         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26091         instead of <fenv_libc.h>.
26092         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26093         (__lrintl): Call fegetround instead of __fegetround.
26094         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26095         instead of <fenv_libc.h>.
26096         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26097         (__rintl): Call fegetround instead of __fegetround.
26099 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26101         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26102         arrays.
26104 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26106         [BZ #17775]
26107         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26108         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26109         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26111 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26113         * sysdeps/i386/tls-macros.h: Include <features.h>.
26114         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26115         (TLS_IE): Likewise.
26116         (TLS_LD): Likewise.
26117         (TLS_GD): Likewise.
26118         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26119         define for GCC >= 5.0.
26121 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26123         * math/test-fenv.c (test_single_exception, set_single_exc,
26124         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26125         feexcp_mask_test, feenable_test, fe_single_test): Add
26126         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26127         case where they are not used.
26128         * math/libm-test.inc: Likewise.
26129         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26130         unused in the absence of FP rounding/exception support.
26131         * stdio-common/tst-printf-round.c: Likewise.
26132         * stdlib/tst-strtod-round.c: Likewise.
26133         * stdlib/tst-strtod-underflow.c: Likewise.
26135 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26137         [BZ #17723]
26138         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26139         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26140         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26141         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26142         libm_hidden_weak.
26143         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26144         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26145         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26146         libm_hidden_def.
26147         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26148         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26149         libm_hidden_weak.
26150         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26151         Likewise.
26152         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26153         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26154         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26155         libm_hidden_weak.
26156         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26157         libm_hidden_def.
26158         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26159         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26160         (__feraiseexcept): Likewise.
26161         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26162         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26163         libm_hidden_weak.
26164         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26165         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26166         libm_hidden_def.
26167         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26168         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26169         Use libm_hidden_def.
26170         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26171         libm_hidden_def.
26172         (feraiseexcept): Define as weak not strong alias.  Use
26173         libm_hidden_weak.
26174         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26175         New inline function.  Factored out of ...
26176         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26177         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26178         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26179         feraiseexcept.
26180         * math/w_acos.c (__acos): Likewise.
26181         * math/w_asin.c (__asin): Likewise.
26182         * math/w_ilogb.c (__ilogb): Likewise.
26183         * math/w_j0.c (y0): Likewise.
26184         * math/w_j1.c (y1): Likewise.
26185         * math/w_jn.c (yn): Likewise.
26186         * math/w_log.c (__log): Likewise.
26187         * math/w_log10.c (__log10): Likewise.
26188         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26189         * sysdeps/aarch64/fpu/math_private.h
26190         (libc_feupdateenv_test_aarch64): Likewise.
26191         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26192         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26193         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26194         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26195         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26196         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26197         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26198         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26199         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26200         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26202 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26204         [BZ #17732]
26205         * io/test-utime.c (main): Replace %ld with %jd and cast to
26206         intmax_t.
26207         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26208         * nptl/tst-mutex5.c: Include <stdint.h>.
26209         (do_test): Replace %ld with %jd and cast to intmax_t.
26210         * posix/tst-regex.c (run_test): Likewise.
26211         (run_test_backwards): Likewise.
26212         * rt/tst-clock.c: Include <stdint.h>.
26213         (clock_test): Replace %ld with %jd and cast to intmax_t.
26214         * rt/tst-cpuclock1.c: Include <stdint.h>.
26215         (do_test): Replace %lu with %ju and cast to uintmax_t.
26216         * rt/tst-cpuclock2.c: Include <stdint.h>.
26217         (do_test): Replace %lu with %ju and cast to uintmax_t.
26218         * rt/tst-mqueue1.c: Include <stdint.h>.
26219         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26220         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26221         intmax_t.
26222         * rt/tst-mqueue4.c (do_test): Likewise.
26223         * rt/tst-timer4.c: Include <stdint.h>.
26224         (check_ts): Replace %ld with %jd and cast to intmax_t.
26225         (do_test): Likewise.
26226         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26227         and cast to intmax_t.
26228         * sysdeps/pthread/tst-timer.c (main): Likewise.
26229         * time/clocktest.c (main): Likewise.
26230         * time/tst-posixtz.c (do_test): Likewise.
26231         * timezone/tst-timezone.c (main): Likewise.
26233 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26234             H.J. Lu  <hongjiu.lu@intel.com>
26236         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26237         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26238         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26239         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26240         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26241         version if bit_Fast_Unaligned_Load is set.
26242         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26243         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26244         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26245         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26246         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26247         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26249         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26250         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26251         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26252         to 4.
26253         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26254         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26255         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26256         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26258 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26260         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26261         instead of #if to avoid a Wundef warning.
26262         * stdlib/tst-limits.c (do_test): Likewise.
26264         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26265         parallel other exception macros.
26266         (fegetenv): Convert from macro to extern inline so that it applies
26267         retroactively to inline functions already seen by the compiler.
26268         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26270         * posix/Makefile (before-compile): Use $(objpfx) for
26271         posix-conf-vars-def.h.
26273 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26275         * posix/getconf.c (main): Use size_t for type of I.
26276         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26277         NSPEC.
26279         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26280         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26281         * posix/posix-envs.def: Likewise.
26282         * sysdeps/posix/sysconf.c: Likewise.
26283         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26284         (specs): Remove array.
26285         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26286         array.
26288         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26289         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26290         (__sysconf): Use CONF_IS_* macros.
26292         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26293         ($(objpfx)posix-conf-vars-def.h): New target.
26294         * posix/posix-conf-vars.list: New file.
26295         * posix/posix-conf-vars.h: New file.
26296         * posix/confstr.c: Include posix-conf-vars.h.
26297         (confstr): Use CONF_IS_* macros.
26298         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26299         CONF_IS_* macros.
26300         * scripts/gen-posix-conf-vars.awk: New file.
26302 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26304         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26305         fegetround): Add no-op macros to avoid linknamespace issues.
26307         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26308         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26310         * sysdeps/unix/sysv/linux/tile/sysdep.h
26311         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26312         assembly-specific section to avoid a redefinition warning.
26314         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26315         long before casting to pointer to avoid a cast warning.
26317 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26319         * sysdeps/tile/tilegx/Implies: New file.
26321 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26323         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26325 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26327         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26329 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26331         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26332         not define.
26333         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26334         <kernel-features.h>.
26335         (__utimes) [__NR_utimes]: Make code unconditional.
26336         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26337         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26338         (__ASSUME_UTIMES): Do not undefine.
26339         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26340         (__ASSUME_UTIMES): Likewise.
26341         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26342         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26343         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26344         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26346 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26348         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26350 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26352         [BZ #17747]
26353         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26354         alias to weak alias for j0l, y0l.
26355         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26356         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26358         [BZ #17746]
26359         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26360         conversion.
26362 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26364         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26365         to zero if not already defined.
26367 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26369         [BZ #17724]
26370         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26371         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26372         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26373         (char *) casts added.
26374         * sysdeps/ieee754/k_standardf.c: New file.
26375         * sysdeps/ieee754/k_standardl.c: Likewise.
26376         * math/Makefile (libm-support): Remove k_standard.
26377         (libm-calls): Add k_standard.
26379 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26381         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26382         Optimize to avoid an unnecessary FPCR read.
26384 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26386         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26387         Optimize to reduce FPCR/FPSR accesses.
26389 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26391         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26392         Call libc_fetestexcept_aarch64.
26394 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26396         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26397         Call libc_fesetround_aarch64.
26399 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26401         [BZ #17733]
26402         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26403         (__bind): Do not define as weak alias.
26404         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26405         define.
26406         (__getsockname): Do not define as weak alias.
26408 2014-12-22  Will Newton  <will.newton@linaro.org>
26410         * manual/install.texi: Document that we require bison 2.7
26411         or above.
26412         * INSTALL: Regenerate.
26413         * configure.ac: Use AC_CHECK_PROG_VER instead of
26414         AC_PATH_PROG when checking for bison and check for
26415         version 2.7 or above.
26416         * configure: Regenerate.
26418 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26420         [BZ #17745]
26421         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26422         * sysdeps/tile/ffsll.c (ffsll): To here.
26424         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26426 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26428         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26429         if not defined.
26430         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26431         definition.
26432         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26433         hidden ___tls_get_addr.
26434         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26435         hidden __tls_get_addr.
26436         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26437         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26438         Likewise.
26440 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26442         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26443         _dl_init call.
26445 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26447         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26448         from "call _dl_init@PLT".
26449         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26451 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26453         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26454         guarantees.
26456 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26458         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26460 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26462         [BZ #17744]
26463         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26464         strnlen.
26466 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26468         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26469         of multu on MIPSr6.
26470         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26471         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26472         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26473         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26474         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26476 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26478         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26479         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26480         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26481         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26482         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26483         mips32r6/mips64r6.
26484         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26486 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26488         * string/strncat.c (STRNCAT): Simplify implementation.
26490 2014-12-19  David S. Miller  <davem@davemloft.net>
26492         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26493         access the quad as both a long double and as a series of 4 words.
26495         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26496         link_map->l_info array access.
26498 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26500         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26502         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26503         * math/atest-exp2.c (TIMEOUT): Likewise.
26504         * math/atest-sincos.c (TIMEOUT): Likewise.
26506 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26508         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26509         -Wno-error with -fno-builtin-lround.
26511 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26513         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26514         Contains futex constants and functions moved over from ...
26515         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26516         <lowlevellock-futex.h>.
26517         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26518         (lll_timedwait_tid): Add comments and parentheses around macro
26519         arguments.
26521 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26523         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26524         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26525         (__lll_private_flag): Remove.
26526         (lll_futex_wait): Likewise.
26527         (lll_futex_timed_wait): Likewise.
26528         (lll_futex_wake): Likewise.
26529         (lll_futex_requeue): Likewise.
26530         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26531         (__lll_timedwait_tid): Spell out argument names.
26532         (lll_timedwait_tid): Add comments and parentheses around macro
26533         arguments.
26534         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26535         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26537 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26539         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26540         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26541         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26542         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26543         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26544         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26545         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26546         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26547         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26548         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26549         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26550         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26551         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26552         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26553         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26554         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26555         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26556         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26557         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26559 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26561         * sysdeps/x86_64/x32/Makefile: New file.
26563 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26565         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26566         1L with (mp_limb_t) 1.
26568 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26570         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26571         * nptl/libc_pthread_init.c: ... here.
26572         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26573         * nptl/register-atfork.c: ... here.
26575         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26576         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26577         Use assert_perror to check its return value.
26578         (__gai_create_helper_thread): Likewise.
26580         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26582         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26584 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26586         [BZ #17725]
26587         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26588         __profil_counter.
26589         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26590         Likewise.
26591         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26592         Likewise.
26593         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26594         Likewise.
26595         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26596         (profil_counter): Likewise.
26597         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26598         (profil_counter): Likewise.
26599         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26600         Likewise.
26601         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26602         Likewise.
26603         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26604         (profil_counter): Likewise.
26605         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26606         Likewise.
26607         [!__profil_counter] (profil_counter): Define as weak alias of
26608         __profil_counter.
26609         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26610         (profil_counter): Rename to __profil_counter.
26611         [!__profil_counter] (profil_counter): Define as weak alias of
26612         __profil_counter.
26613         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26614         (profil_counter): Rename to __profil_counter.
26615         [!__profil_counter] (profil_counter): Define as weak alias of
26616         __profil_counter.
26617         * sysdeps/posix/profil.c: Update comment referring to
26618         profil_counter.
26619         (__profil): Use __profil_counter instead of profil_counter.
26620         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26621         __profil_counter.  Use __profil_counter_ushort and
26622         __profil_counter_uint in definitions.
26623         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26624         instead of profil_counter_uint and profil_counter_ushort.
26626         [BZ #17722]
26627         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26628         define as weak alias of __inet_makeaddr.
26629         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26630         as weak alias of __inet_addr.
26631         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26632         as weak alias of __inet_pton.  Use libc_hidden_weak.
26633         * include/arpa/inet.h (__inet_pton): Declare.  Use
26634         libc_hidden_proto.
26635         (inet_makeaddr): Don't use libc_hidden_proto.
26636         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26637         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26638         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26639         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26640         Remove variable.
26641         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26642         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26644 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26646         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26648 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26650         * stdio-common/bug-vfprintf-nargs.c (do_test):
26651         Cast value to intptr_t to avoid format warning
26652         for usage with PRIdPTR printing macro.
26654 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26656         * libio/tst-widetext.c (do_test):
26657         Use format type %td instead of %Zd for ptrdiff_t
26658         in order to avoid format warning.
26660 2014-12-17  Andreas Schwab  <schwab@suse.de>
26662         * nscd/mem.c (gc): Add size_t cast to match printf format.
26664 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26666         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26667         (init): Apply PTR_MANGLE to pointers before storing them.
26668         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26669         before using them.
26671 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26673         [BZ #17719]
26674         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26675         define as weak alias of __memrchr.
26676         (__memrchr): Do not define as strong alias of memrchr.
26677         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26678         Remove variable.
26679         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26680         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26681         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26683         [BZ #17717]
26684         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26685         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26686         (if_indextoname): Rename to __if_indextoname and define as weak
26687         alias of __if_indextoname.  Use libc_hidden_weak.
26688         (if_freenameindex): Rename to __if_freenameindex and define as
26689         weak alias of __if_freenameindex.
26690         (if_nameindex): Rename to __if_nameindex and define as weak alias
26691         of __if_nameindex.
26692         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26693         __if_nametoindex and define as weak alias of __if_nametoindex.
26694         Use libc_hidden_weak.
26695         (if_freenameindex): Rename to __if_freenameindex and define as
26696         weak alias of __if_freenameindex.
26697         (if_nameindex): Rename to __if_nameindex and define as weak alias
26698         of __if_nameindex.
26699         (if_indextoname): Rename to __if_indextoname and define as weak
26700         alias of __if_indextoname.  Use libc_hidden_weak.
26701         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26702         __if_nametoindex and define as weak alias of __if_nametoindex.
26703         Use libc_hidden_weak.
26704         (if_freenameindex): Rename to __if_freenameindex and define as
26705         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26706         (if_nameindex_netlink): Use __if_freenameindex instead of
26707         if_freenameindex.
26708         (if_nameindex): Rename to __if_nameindex and define as weak alias
26709         of __if_nameindex.  Use libc_hidden_weak.
26710         (if_indextoname): Rename to __if_indextoname and define as weak
26711         alias of __if_indextoname.  Use libc_hidden_weak.
26712         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26713         libc_hidden_proto.
26714         [!_ISOMAC] (__if_freenameindex): Likewise.
26715         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26716         if_nametoindex.
26717         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26718         variable.
26719         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26720         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26721         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26722         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26723         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26724         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26725         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26727         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26728         Remove variable.
26729         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26730         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26732 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26734         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26735         subscript above bounds'
26737         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26738         bounds.
26740 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26742         * libio/tst-fopenloc.c: Use test-skeleton.c.
26744         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26745         (entry): Rename to ITEM.
26746         (do_test, comp): Adjust.
26748         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26750 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26752         * string/tester.c: Include <libc-internal.h>.
26753         (test_memset): Ignore -Wmemset-transposed-args.
26755 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26757         * misc/tst-mntent2.c (do_test): Fix warning.
26759 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26761         * elf/tst-unique4lib.cc(a): Mark as used.
26763 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26765         [BZ #17630]
26766         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26767         names.
26769 2014-12-16  Allan McRae  <allan@archlinux.org>
26771         * stdio-common/Makefile (tests): Re-add bug26.
26773 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26775         [BZ #17657]
26776         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26777         static array.
26779 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26781         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26782         (__lll_lock_wait): Likewise.
26783         (__lll_timedlock_wait): Likewise.
26784         (__lll_timedwait_tid): Likewise.
26785         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26786         (__lll_robust_timedlock_wait): Likewise.
26787         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26788         (lll_cond_trylock): Likewise.
26789         (__lll_lock): Likewise.
26790         (__lll_robust_lock): Likewise.
26791         (__lll_cond_lock): Likewise.
26792         (lll_robust_cond_lock): Likewise.
26793         (__lll_timedlock): Likewise.
26794         (__lll_robust_timedlock): Likewise.
26795         (__lll_unlock): Likewise.
26796         (__lll_robust_unlock): Likewise.
26797         (lll_wait_tid): Likewise.
26798         (lll_timedwait_tid): Likewise.
26800 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26802         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26804 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26806         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26808 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26810         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26811         * stdio-common/tst-sprintf.c: Likewise.
26813 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26815         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26817 2014-12-15  Jeff Law  <law@redhat.com>
26819         [BZ #16617]
26820         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26821         on the heap.  (CVE-2012-3406)
26822         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26823         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26824         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26826 2014-12-15  Will Newton  <will.newton@linaro.org>
26828         * manual/install.texi: Bump required version of texinfo
26829         to 4.7 from 4.5.
26830         * INSTALL: Regenerated.
26831         * configure.ac: Check for makeinfo version 4.7 and above.
26832         * configure: Regenerated.
26834 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26836         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26837         PREFIX, string constant to insert between directory and name.
26838         * sysdeps/posix/shm_open.c: Update caller.
26839         * sysdeps/posix/shm_unlink.c: Likewise.
26840         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26841         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26842         (SEM_SHM_PREFIX): New macro.
26843         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26844         [$(have-thread-library) = no].
26845         * nptl/Makefile (libpthread-routines): Add shm-directory.
26846         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26847         * sysdeps/nptl/shm-directory.h: New file.
26848         * sysdeps/posix/shm-directory.c
26849         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26850         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26851         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26852         INTERNAL_SYSCALL.
26853         (__where_is_shmfs): Function removed.
26854         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26855         Variables removed.
26856         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26857         Use SHM_GET_NAME.
26858         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26860         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26861         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26862         unconditional for use inside libpthread.
26863         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26865 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26867         * nptl/pthread_getaffinity.c: New file.
26868         * nptl/pthread_setaffinity.c: New file.
26869         * nptl/pthread_getname.c: New file.
26870         * nptl/pthread_setname.c: New file.
26872         * nptl/pthread_create.c (START_THREAD_DEFN)
26873         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26875 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26876             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26878         * resolv/res_send.c (send_vc): Disable warning resplen may
26879         be used uninitialized.
26881 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26883         * nptl/tst-mutex6.c
26884         (ATTR_NULL): New define checks ATTR against NULL.
26885         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26886         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26888 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26890         [BZ #17581]
26891         * malloc/hooks.c
26892         (mem2mem_check): Revert my previous change.
26893         (malloc_check_get_size): Revert my previous change.
26894         (mem2chunk_check): Revert my previous change.
26896 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26898         * sysdeps/posix/shm-directory.c: New file.
26899         * sysdeps/posix/shm-directory.h: New file.
26900         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26901         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26902         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26903         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26904         Transmute EPERM to EACCES.
26905         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26906         from ...
26907         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26908         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26910 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26912         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26913         pointer and cast to uintptr_t.
26914         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26915         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26916         Add cast to avoid warning.
26917         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26919 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26921         * nptl/semaphore.h: Move to ...
26922         * sysdeps/pthread/semaphore.h: ... here.
26923         * Makefile (installed-headers): Change nptl/semaphore.h to
26924         sysdeps/pthread/semaphore.h.
26926 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26928         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26929         generated error format strings.
26931         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26932         -Wformat-extra-args warnings for scanf formats.
26933         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26934         test of zero-length format (duh).
26935         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26936         corner-case scanf format test.
26937         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26938         generated fprintf format string.
26939         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26940         corner-case sprintf format tests.
26941         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26942         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26943         -Wformat-extra-args warnings throughout.
26944         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26945         (CFLAGS-scanf4.c): Likewise.
26946         (CFLAGS-scanf7.c): Likewise.
26947         (CFLAGS-tst-sprintf.c): Likewise.
26948         (CFLAGS-tst-printf.c): Likewise.
26949         (CFLAGS-tst-printfsz.c): Likewise.
26951 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26953         * include/cpio.h: New file.
26954         * include/fmtmsg.h: Likewise.
26956         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26957         corresponding format argument to size_t.
26958         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26959         arguments.
26960         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26961         corresponding format argument to size_t.
26962         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26963         arguments.
26964         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26965         corresponding format argument to size_t.
26966         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26967         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26968         (CFLAGS-tst-mbswcs2.c): Likewise.
26969         (CFLAGS-tst-mbswcs3.c): Likewise.
26970         (CFLAGS-tst-mbswcs4.c): Likewise.
26971         (CFLAGS-tst-mbswcs5.c): Likewise.
26972         (CFLAGS-tst-trans.c): Likewise.
26974 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26976         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26977         rather than assuming they won't contain any '%'s.
26979 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26981         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26982         inhibit_loop_to_libcall to avoid recursive calls.
26983         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26984         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26986 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26988         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26989         prototype.
26991 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26993         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26994         integer value instead of boolean.
26996 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26998         * malloc/malloc.c: Fix powerof2 check.
27000 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27002         * locale/programs/locfile.h (maybe_swap_uint32):
27003         Remove inline and add unused attribute.
27005 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27007         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27008         Truncating assembler expression to a .long expression.
27010 2014-12-11  Andreas Schwab  <schwab@suse.de>
27012         * elf/rtld.c (struct map_args): Constify str member.
27013         (do_preload): Constify fname argument.
27015 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27017         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27018         constants definition.
27020 2014-12-11  Andreas Schwab  <schwab@suse.de>
27022         [BZ #16657]
27023         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27024         FORCE_ELISION instead of DO_ELISION.
27025         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27026         Remove.
27027         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27028         Likewise.
27030         * iconvdata/gconv-modules: Remove duplicate entry.
27032 2014-12-11  Will Newton  <will.newton@linaro.org>
27034         Merge gettext 0.19.3 into intl/.
27036         This involves a number of cosmetic changes to comments
27037         and ANSI function definitions and prototypes throughout
27038         all the files. The gettext copyright header is used but
27039         with the date ranges taken from the glibc copy.
27041         * NEWS: Add gettext merge to 2.21.
27042         * intl/bindtextdom.c: Switch to gettext copyright.
27043         Use ANSI definitions and prototypes.
27044         Use gl_* locking primitives rather than __libc_* ones.
27045         Use __builtin_expect rather than __glibc_likely/unlikely.
27046         * intl/dcgettext.c: Switch to gettext copyright.
27047         Use ANSI definitions and prototypes.
27048         * intl/dcigettext.c: Switch to gettext copyright.
27049         Use ANSI definitions and prototypes.
27050         (INTDIV0_RAISES_SIGFPE): New define.
27051         Use gl_* locking primitives rather than __libc_* ones.
27052         Include eval-plural.h instead of plural-eval.c.
27053         Use __builtin_expect rather than __glibc_likely/unlikely.
27054         * intl/dcngettext.c: Switch to gettext copyright.
27055         Use ANSI definitions and prototypes.
27056         * intl/dgettext.c: Likewise.
27057         * intl/dngettext.c: Likewise.
27058         * intl/plural-eval.c: Renamed to...
27059         * intl/eval-plural.h: ...this.
27060         * intl/explodename.c: Switch to gettext copyright.
27061         Use ANSI definitions and prototypes.
27062         (_nl_explode_name): Use strchr instead of __rawmemchr.
27063         * intl/finddomain.c: Switch to gettext copyright.
27064         Use ANSI definitions and prototypes.
27065         Use gl_* locking primitives rather than __libc_* ones.
27066         (_nl_find_domain): Use malloc rather than alloca for
27067         allocation of temporary locale name.
27068         * intl/gettext.c: Switch to gettext copyright.
27069         Use ANSI definitions and prototypes.
27070         * intl/gettextP.h: Switch to gettext copyright.
27071         Use ANSI definitions and prototypes.
27072         Use gl_* locking primitives rather than __libc_* ones.
27073         * intl/gmo.h: Switch to gettext copyright.
27074         (struct sysdep_string): Move struct segment_pair outside of
27075         struct definition.
27076         * intl/hash-string.c: Use ANSI definitions and prototypes.
27077         * intl/hash-string.h: Switch to gettext copyright.
27078         Use ANSI definitions and prototypes.
27079         * intl/l10nflist.c: Switch to gettext copyright.
27080         Use ANSI definitions and prototypes.
27081         (_nl_normalize_codeset): Avoid integer overflow.
27082         * intl/loadinfo.h: Switch to gettext copyright.
27083         Use ANSI definitions and prototypes.
27084         (LIBINTL_DLL_EXPORTED): New define.
27085         (PATH_SEPARATOR): New define.
27086         * intl/loadmsgcat.c: Switch to gettext copyright.
27087         * intl/localealias.c: Switch to gettext copyright.
27088         Use ANSI definitions and prototypes.
27089         (_nl_expand_alias): Use PATH_SEPARATOR.
27090         * intl/ngettext.c: Switch to gettext copyright.
27091         Use ANSI definitions and prototypes.
27092         * intl/plural-exp.c: Likewise.
27093         * intl/plural-exp.h: Switch to gettext copyright.
27094         Use ANSI definitions and prototypes.
27095         (struct expression): Move definition of enum operator outside
27096         of struct definition.
27097         * intl/plural.c: Regenerate.
27098         * intl/plural.y: Switch to gettext copyright.
27099         Use ANSI definitions and prototypes.
27100         Port to bison 3.0.
27101         * intl/textdomain.c: Switch to gettext copyright.
27102         Use ANSI definitions and prototypes.
27103         Use gl_* locking primitives rather than __libc_* ones.
27105 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27107         * debug/warning-nop.c: Add used atrribute.
27109 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27111         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27113         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27114         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27115         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27117 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27118             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27120         [BZ #17634]
27121         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27122         Undefine after defining function.  Define as weak alias of
27123         __wcschr.  Use libc_hidden_weak.
27124         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27125         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27126         (libc_hidden_def): Also define __GI___wcschr alias.
27127         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27128         __wcschr and define as weak alias of __wcschr.
27129         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27130         __wcschr.
27131         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27132         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27133         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27134         libc_hidden_weak.  Do not use libc_hidden_def.
27135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27136         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27137         __GI___wcschr alias.
27138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27139         [IS_IN (libc)] (wcschr): Define as macro expanding to
27140         __redirect_wcschr.
27141         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27142         [IS_IN (libc)] (__wcschr_power6): Likewise.
27143         [IS_IN (libc)] (__wcschr_power7): Likewise.
27144         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27145         instead of wcschr.
27146         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27147         __libc_wcschr.
27148         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27149         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27150         __wcschr and define as weak alias of __wcschr.  Use
27151         libc_hidden_builtin_def.
27152         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27153         as weak alias of __wcschr.  Use libc_hidden_weak.
27154         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27155         wcschr.
27156         * time/era.c (_nl_init_era_entries): Likewise.
27157         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27158         variable.
27159         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27160         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27162 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27164         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27165         format for long int variable.
27167 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27169         [BZ #10672]
27170         * manual/search.texi: (Array Sort Function): Remove claim how to make
27171         qsort stable.
27173 2014-12-10  Andreas Schwab  <schwab@suse.de>
27175         [BZ #12847]
27176         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27177         user-controlled locks.
27179 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27181         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27182         register.
27184 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27186         * configure.ac (--disable-werror): New configure option.
27187         (enable_werror): New AC_SUBST.
27188         * configure: Regenerated.
27189         * config.make.in (enable-werror): New variable.
27190         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27191         -Wno-error=undef.
27192         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27193         * manual/install.texi (Configuring and compiling): Document
27194         --disable-werror.
27195         * INSTALL: Regenerated.
27196         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27197         (CFLAGS-tst-chk2.c): Likewise.
27198         (CFLAGS-tst-chk3.c): Likewise.
27199         (CFLAGS-tst-chk4.cc): Likewise.
27200         (CFLAGS-tst-chk5.cc): Likewise.
27201         (CFLAGS-tst-chk6.cc): Likewise.
27202         (CFLAGS-tst-lfschk1.c): Likewise.
27203         (CFLAGS-tst-lfschk2.c): Likewise.
27204         (CFLAGS-tst-lfschk3.c): Likewise.
27205         (CFLAGS-tst-lfschk4.cc): Likewise.
27206         (CFLAGS-tst-lfschk5.cc): Likewise.
27207         (CFLAGS-tst-lfschk6.cc): Likewise.
27209         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27210         (main): Disable -Wdeprecated-declarations around calls to
27211         register_printf_function.
27213         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27214         (do_test): Disable -Wdiv-by-zero around some calls to
27215         fwrite_unlocked and fread_unlocked.
27217         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27218         (DIAG_POP_NEEDS_COMMENT): Likewise.
27219         (_DIAG_STR1): Likewise.
27220         (_DIAG_STR): Likewise.
27221         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27222         * stdio-common/bug21.c: Include <libc-internal.h>.
27223         (do_test): Disable -Wformat around call to sscanf.
27224         * stdio-common/scanf14.c: Include <libc-internal.h>.
27225         (main): Disable -Wformat around some calls to scanf functions.
27227 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27229         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27231 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27233         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27234         stack variable alignment.
27236 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27238         [BZ #17682]
27239         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27240         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27241         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27242         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27243         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27244         __getrlimit instead of getrlimit.
27245         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27246         __gettimeofday instead of gettimeofday.
27247         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27248         Likewise.
27249         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27250         Likewise.
27251         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27252         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27253         Remove variable.
27254         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27255         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27257 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27259         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27260         for wide-character tests.
27262 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27264         * io/openat64.c: #include <libc-internal.h>
27265         (__openat64): Prototypify.  Use ignore_value on MODE.
27266         * io/openat.c: Likewise.
27267         * misc/reboot.c: #include <libc-internal.h>
27268         (reboot): Prototypify.  Use ignore_value on HOWTO.
27269         * misc/ptrace.c: #include <libc-internal.h>
27270         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27272 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27274         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27275         XPG4, UNIX98 and XOPEN2K.
27276         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27277         Remove variable.
27278         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27280 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27282         * libio/fileops.c: Use ISO C style for function definitions.
27283         * libio/iofopen.c: Likewise.
27284         * libio/wfileops.c: Likewise.
27286         [BZ #17653]
27287         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27288         offset on EOF.
27289         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27290         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27291         (fgets_func): Function pointer to fgets and fgetws.
27292         (do_ftell_test): Add test to verify ftell value after read
27293         EOF.
27294         (do_test): Set fgets_func.
27296         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27297         O_TRUNC flag for w and w+ modes.
27298         (do_rewind_test): Likewise.
27299         (do_ftell_test): Likewise.
27300         (do_write_test): Likewise.
27302         [BZ #17647]
27303         * libio/fileops.c (do_ftell): Seek only when there are
27304         unflushed writes.
27305         * libio/wfileops.c (do_ftell_wide): Likewise.
27306         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27307         test case.
27308         (do_one_test): Call it.
27310 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27312         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27313         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27314         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27315         Remove variable.
27316         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27317         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27318         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27320 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27322         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27323         Remove variable.
27324         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27326         [BZ #17668]
27327         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27328         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27329         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27330         __freeifaddrs.  Use libc_hidden_weak.
27331         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27332         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27333         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27334         __freeifaddrs.  Use libc_hidden_weak.
27335         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27336         __getifaddrs and define as weak alias of __getifaddrs.  Use
27337         libc_hidden_weak.
27338         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27339         __freeifaddrs.  Use libc_hidden_weak.
27340         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27341         Remove variable.
27342         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27343         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27345 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27347         [BZ #17601]
27348         * sysdeps/mips/start.S (__start): Use indirect jump to call
27349         __libc_start_main.
27351 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27353         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27355         * nptl/tst-mutex1.c: Include <stdbool.h>.
27356         [!ATTR] (ATTR_NULL): New macro.
27357         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27358         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27359         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27361         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27362         to char *.
27364         [BZ #17665]
27365         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27366         Change conditional to [__USE_MISC].
27368         [BZ #17664]
27369         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27370         fgets_unlocked.
27371         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27372         __fgets_unlocked.
27373         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27374         fgets_unlocked.
27375         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27376         Remove variable.
27377         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27378         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27379         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27380         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27381         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27382         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27383         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27384         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27385         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27387         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27389 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27391         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27392         Remove strpbrk objects.
27393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27394         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27395         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27396         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27397         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27398         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27400         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27401         Remove strcspn objects.
27402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27403         (__libc_ifunc_impl_list): Remove strcspn implementation.
27404         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27405         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27406         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27407         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27409         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27410         Remove strspn objetcs.
27411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27412         (__libc_ifunc_impl_list): Remove strspn implementation.
27413         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27414         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27415         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27416         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27418 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27420         [BZ #17581]
27421         * malloc/hooks.c
27422         (mem2mem_check): Add a terminator to the chain of checking blocks.
27423         (malloc_check_get_size): Use it here.
27424         (mem2chunk_check): Ditto.
27426 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27428         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27429         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27431 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27433         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27435         * nptl/nptl-init.c: Include libc-internal.h.
27436         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27438         * elf/ldconfig.c (search_dir): Expand comment.
27440 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27442         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27443         variable.
27444         (linknamespace-symlist-stdlibs-tests): Likewise.
27445         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27446         instead of $(objpfx)symlist-stdlibs.
27447         (linknamespace-libs-isoc): New variable.
27448         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27449         (linknamespace-libs-ISO): New variable.
27450         (linknamespace-libs-ISO99): Likewise.
27451         (linknamespace-libs-ISO11): Likewise.
27452         (linknamespace-libs-XPG3): Likewise.
27453         (linknamespace-libs-XPG4): Likewise.
27454         (linknamespace-libs-POSIX): Likewise.
27455         (linknamespace-libs-UNIX98): Likewise.
27456         (linknamespace-libs-XOPEN2K): Likewise.
27457         (linknamespace-libs-POSIX2008): Likewise.
27458         (linknamespace-libs-XOPEN2K8): Likewise.
27459         ($(objpfx)symlist-stdlibs): Replace by
27460         $(linknamespace-symlist-stdlibs-tests).  Use
27461         $(linknamespace-libs-$*) as set of libraries.
27462         ($(linknamespace-header-tests)): Update dependencies.  Use
27463         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27464         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27465         * conform/linknamespace.pl: Remove comment about considering
27466         definitions of symbols from irrelevant libraries.
27468 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27470         [BZ #13862]
27471         * elf/dl-tls.c: Include <atomic.h>.
27472         (oom): Remove #ifdef SHARED/#endif.
27473         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27474         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27475         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27476         big enough.
27477         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27478         * nptl/Makefile (tests): Add tst-stack4.
27479         (modules-names): Add tst-stack4mod.
27480         ($(objpfx)tst-stack4): New.
27481         (tst-stack4mod.sos): Likewise.
27482         ($(objpfx)tst-stack4.out): Likewise.
27483         ($(tst-stack4mod.sos)): Likewise.
27484         (clean): Likewise.
27485         * nptl/tst-stack4.c: New file.
27486         * nptl/tst-stack4mod.c: Likewise.
27488 2014-11-27  J. Brown  <jb999@gmx.de>
27490         * sysdeps/x86/bits/string.h: Add recent CPUs.
27492 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27494         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27495         sigblock.
27497         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27498         feof.
27500         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27501         variable.
27503 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27505         * nscd/connections.c: Include libc-internal.h because of macro
27506         usage ignore_value.
27508 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27510         * string/bits/string3.h (__warn_memset_zero_len): Don't
27511         declare for gcc newer than 5.0.
27512         (memset): Don't test for zero-length __LEN for gcc newer than
27513         5.0.
27515 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27517         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27518         size_t for %zu format.
27520         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27521         difference, not %ju.
27523 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27525         * include/libc-internal.h (ignore_value): New macro.
27526         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27527         with ignore_value.
27529         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27530         definition.
27532         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27533         pthread_cleanup_push to void *.
27535         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27536         Undefine.
27538         [BZ #16619]
27539         [BZ #16740]
27540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27541         instead of 1L << 52.
27543         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27544         * libio/bug-rewind2.c (do_test): Likewise.
27546         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27547         * debug/test-strcpy_chk-ifunc.c: Likewise.
27548         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27549         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27550         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27551         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27552         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27553         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27554         * Rules [$(multi-arch) = no] (tests): Do not filter out
27555         $(tests-ifunc).
27556         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27557         * debug/Makefile (tests-ifunc): Remove variable.
27558         (tests): Do not add $(tests-ifunc).
27559         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27560         (tests): Do not add $(tests-ifunc).
27561         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27562         [TEST_IFUNC]: Remove conditionals.
27563         * string/test-string.h (TEST_IFUNC): Remove macro.
27564         [TEST_IFUNC]: Remove conditionals.
27566         * string/test-strchr.c [!WIDE] (L): New macro.
27567         [WIDE] (L): Likewise.
27568         (check1): Use CHAR instead of char.  Use L on string and character
27569         constants.
27571 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27573         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27574         tests.
27575         * sysdeps/powerpc/bits/atomic.h
27576         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27577         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27578         (atomic_exchange_and_add_acq): Likewise.
27579         (atomic_exchange_and_add_rel): Likewise.
27580         * sysdeps/powerpc/powerpc32/bits/atomic.h
27581         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27582         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27583         * sysdeps/powerpc/powerpc64/bits/atomic.h
27584         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27585         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27587 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27589         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27590         Change synchronization of __sched_fifo_min_prio and
27591         __sched_fifo_max_prio.
27592         * nptl/pthread_mutexattr_getprioceiling.c
27593         (pthread_mutexattr_getprioceiling): Likewise.
27594         * nptl/pthread_mutexattr_setprioceiling.c
27595         (pthread_mutexattr_setprioceiling): Likewise.
27596         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27597         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27598         Likewise.
27600 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27602         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27603         void.
27605 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27607         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27608         third argument const.
27610 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27612         fnmatch: work around GCC compiler warning bug with uninit var
27613         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27614         This works around a bug with x86-64 GCC 4.9.2 and earlier
27615         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27616         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27617         used uninitialized in this function [-Wmaybe-uninitialized]".
27619 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27621         * posix/bug-regex31.c (main): Return RES not 0.
27623 2014-11-25  Anton Blanchard <anton@samba.org>
27625         * sysdeps/powerpc/bits/atomic.h
27626         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27628 2014-11-24  Sterling Augustine  <saugustine@google.com>
27630         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27632 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27634         [BZ #17608]
27635         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27637 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27639         [BZ #17633]
27640         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27641         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27642         variable.
27643         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27644         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27646 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27648         * string/strncpy.c (strncpy): Improve performance by using memset.
27650 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27652         * string/strcpy.c (strcpy):
27653         Improve performance by using strlen and memcpy.
27655 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27657         * string/strcoll_l.c (get_next_seq): __always_inline.
27658         * string/strcoll_l.c (do_compare): __always_inline.
27660 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27662         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27663         defined.
27664         * include/mqueue.h: Likewise.
27665         * include/stdlib.h: Likewise.
27667         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27668         (get_null_defines): Adjust.
27669         * sunrpc/Makefile: Adjust comment.
27670         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27671         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27672         (CFLAGS-interp.c): Likewise.
27673         (CFLAGS-ldconfig.c): Likewise.
27674         (CPPFLAGS-.os): Likewise.
27675         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27676         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27677         * extra-modules.mk (extra-modules.mk): Likewise.
27678         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27679         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27680         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27681         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27682         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27683         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27684         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27685         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27686         * iconvdata/Makefile (CPPFLAGS): Likewise.
27687         (cpp-srcs-left): Add libof for all iconvdata routines.
27688         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27689         * include/assert.h: Likewise.
27690         * include/ctype.h: Likewise.
27691         * include/errno.h: Likewise.
27692         * include/libc-symbols.h: Likewise.
27693         * include/math.h: Likewise.
27694         * include/netdb.h: Likewise.
27695         * include/resolv.h: Likewise.
27696         * include/stdio.h: Likewise.
27697         * include/stdlib.h: Likewise.
27698         * include/string.h: Likewise.
27699         * include/sys/stat.h: Likewise.
27700         * include/wctype.h: Likewise.
27701         * intl/l10nflist.c: Likewise.
27702         * libidn/idn-stub.c: Likewise.
27703         * libio/libioP.h: Likewise.
27704         * nptl/libc_multiple_threads.c: Likewise.
27705         * nptl/pthreadP.h: Likewise.
27706         * posix/regex_internal.h: Likewise.
27707         * resolv/res_hconf.c: Likewise.
27708         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27709         * sysdeps/arm/memmove.S: Likewise.
27710         * sysdeps/arm/sysdep.h: Likewise.
27711         * sysdeps/generic/_itoa.h: Likewise.
27712         * sysdeps/generic/symbol-hacks.h: Likewise.
27713         * sysdeps/gnu/errlist.awk: Likewise.
27714         * sysdeps/gnu/errlist.c: Likewise.
27715         * sysdeps/i386/i586/memcpy.S: Likewise.
27716         * sysdeps/i386/i586/memset.S: Likewise.
27717         * sysdeps/i386/i686/memcpy.S: Likewise.
27718         * sysdeps/i386/i686/memmove.S: Likewise.
27719         * sysdeps/i386/i686/mempcpy.S: Likewise.
27720         * sysdeps/i386/i686/memset.S: Likewise.
27721         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27722         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27723         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27724         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27725         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27726         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27727         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27728         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27729         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27730         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27731         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27732         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27733         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27734         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27735         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27736         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27737         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27738         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27739         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27740         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27741         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27742         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27743         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27744         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27745         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27746         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27747         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27748         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27749         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27750         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27751         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27752         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27753         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27754         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27755         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27756         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27757         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27758         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27759         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27760         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27761         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27762         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27763         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27764         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27765         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27766         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27767         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27768         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27769         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27770         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27771         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27772         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27773         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27774         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27775         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27776         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27777         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27778         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27779         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27780         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27781         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27782         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27783         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27784         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27785         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27786         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27787         * sysdeps/posix/closedir.c: Likewise.
27788         * sysdeps/posix/opendir.c: Likewise.
27789         * sysdeps/posix/readdir.c: Likewise.
27790         * sysdeps/posix/rewinddir.c: Likewise.
27791         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27792         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27793         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27794         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27795         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27796         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27797         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27798         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27799         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27800         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27801         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27802         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27803         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27804         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27805         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27806         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27807         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27808         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27809         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27810         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27811         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27812         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27813         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27814         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27816         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27817         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27818         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27819         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27821         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27823         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27825         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27826         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27827         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27828         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27829         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27830         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27831         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27832         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27833         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27834         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27835         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27836         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27837         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27838         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27839         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27840         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27841         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27842         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27845         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27846         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27847         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27848         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27849         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27850         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27851         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27852         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27853         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27854         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27855         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27856         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27857         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27858         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27859         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27860         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27861         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27862         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27863         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27864         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27865         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27866         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27867         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27868         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27869         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27870         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27871         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27872         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27873         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27874         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27875         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27876         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27877         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27878         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27879         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27880         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27881         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27882         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27883         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27884         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27885         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27886         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27887         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27888         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27889         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27890         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27891         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27892         * sysdeps/unix/alpha/sysdep.S: Likewise.
27893         * sysdeps/unix/alpha/sysdep.h: Likewise.
27894         * sysdeps/unix/make-syscalls.sh: Likewise.
27895         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27896         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27897         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27898         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27899         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27900         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27901         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27902         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27903         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27904         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27905         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27906         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27907         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27908         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27909         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27910         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27911         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27912         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27913         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27914         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27915         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27916         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27917         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27918         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27919         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27920         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27921         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27924         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27925         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27927         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27929         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27930         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27931         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27933         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27934         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27935         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27936         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27937         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27938         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27939         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27940         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27941         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27942         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27943         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27944         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27945         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27946         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27947         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27948         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27949         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27950         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27951         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27953         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27954         * sysdeps/x86_64/memcpy.S: Likewise.
27955         * sysdeps/x86_64/memmove.c: Likewise.
27956         * sysdeps/x86_64/memset.S: Likewise.
27957         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27958         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27959         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27960         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27961         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27962         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27963         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27964         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27965         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27966         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27967         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27968         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27969         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27970         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27971         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27972         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27973         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27974         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27975         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27976         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27977         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27978         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27979         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27980         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27981         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27982         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27983         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27984         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27985         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27986         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27987         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27988         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27989         * sysdeps/x86_64/strcmp.S: Likewise.
27991         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27993         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27994         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27995         * elf/rtld-Rules: Likewise.
27996         * elf/setup-vdso.h: Likewise.
27997         * include/assert.h: Likewise.
27998         * include/bits/stdlib-float.h: Likewise.
27999         * include/errno.h: Likewise.
28000         * include/sys/stat.h: Likewise.
28001         * include/unistd.h: Likewise.
28002         * sysdeps/aarch64/setjmp.S: Likewise.
28003         * sysdeps/alpha/setjmp.S: Likewise.
28004         * sysdeps/arm/__longjmp.S: Likewise.
28005         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28006         * sysdeps/arm/setjmp.S: Likewise.
28007         * sysdeps/arm/sysdep.h: Likewise.
28008         * sysdeps/generic/_itoa.h: Likewise.
28009         * sysdeps/generic/dl-sysdep.h: Likewise.
28010         * sysdeps/generic/ldsodefs.h: Likewise.
28011         * sysdeps/i386/dl-tls.h: Likewise.
28012         * sysdeps/i386/setjmp.S: Likewise.
28013         * sysdeps/m68k/setjmp.c: Likewise.
28014         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28015         * sysdeps/mach/hurd/opendir.c: Likewise.
28016         * sysdeps/posix/getcwd.c: Likewise.
28017         * sysdeps/posix/opendir.c: Likewise.
28018         * sysdeps/posix/profil.c: Likewise.
28019         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28020         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28021         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28022         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28023         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28024         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28025         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28026         * sysdeps/s390/dl-tls.h: Likewise.
28027         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28028         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28029         * sysdeps/sh/sh3/setjmp.S: Likewise.
28030         * sysdeps/sh/sh4/setjmp.S: Likewise.
28031         * sysdeps/unix/alpha/sysdep.h: Likewise.
28032         * sysdeps/unix/arm/sysdep.S: Likewise.
28033         * sysdeps/unix/i386/sysdep.S: Likewise.
28034         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28035         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28036         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28037         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28039         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28040         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28041         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28042         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28043         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28044         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28045         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28046         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28049         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28052         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28053         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28054         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28057         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28058         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28059         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28060         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28061         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28062         * sysdeps/x86_64/setjmp.S: Likewise.
28064         * include/math.h: Use IS_IN instead of IS_IN_libm.
28065         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28066         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28068         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28069         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28070         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28071         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28072         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28073         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28074         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28075         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28076         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28077         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28078         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28079         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28080         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28081         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28082         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28083         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28084         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28085         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28086         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28087         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28088         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28089         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28090         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28091         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28092         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28093         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28094         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28095         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28096         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28097         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28099         Likewise.
28100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28101         Likewise.
28102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28103         Likewise.
28104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28105         Likewise.
28106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28107         Likewise.
28108         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28109         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28110         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28111         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28112         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28113         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28119         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28120         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28121         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28122         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28123         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28124         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28125         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28126         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28127         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28128         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28129         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28130         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28131         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28132         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28134         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28136         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28137         * nptl/pthreadP.h: Likewise.
28138         * nptl_db/structs.def: Likewise.
28139         * sysdeps/arm/sysdep.h: Likewise.
28140         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28141         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28142         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28143         * sysdeps/unix/alpha/sysdep.h: Likewise.
28144         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28145         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28146         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28147         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28148         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28149         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28150         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28151         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28152         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28153         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28154         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28155         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28156         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28157         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28160         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28161         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28162         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28163         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28164         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28165         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28166         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28167         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28168         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28169         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28171         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28172         * nptl/pthreadP.h: Likewise.
28173         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28174         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28175         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28176         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28177         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28178         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28179         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28180         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28181         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28182         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28183         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28184         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28186         Likewise.
28187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28188         Likewise.
28189         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28190         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28191         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28192         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28193         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28194         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28195         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28196         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28198         * dlfcn/dladdr.c: Use IS_IN.
28199         * dlfcn/dladdr1.c: Likewise.
28200         * dlfcn/dlclose.c: Likewise.
28201         * dlfcn/dlerror.c: Likewise.
28202         * dlfcn/dlinfo.c: Likewise.
28203         * dlfcn/dlmopen.c: Likewise.
28204         * dlfcn/dlopen.c: Likewise.
28205         * dlfcn/dlsym.c: Likewise.
28206         * dlfcn/dlvsym.c: Likewise.
28208         * include/ifaddrs.h: Use IS_IN.
28209         * inet/check_pf.c: Likewise.
28210         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28211         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28213         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28214         IS_IN_ldconfig.
28215         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28216         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28218         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28219         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28220         IS_IN (libc).
28222         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28224         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28225         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28226         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28227         * include/libc-symbols.h (IS_IN_LIB): New macro.
28228         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28229         * include/netdb.h: Likewise.
28230         * include/stap-probe.h: Remove all uses of IN_LIB.
28232         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28233         instead of IN_MODULE.
28234         * include/libc-symbols.h (IN_MODULE): Define using
28235         MODULE_NAME.
28236         (PASTE_NAME, PASTE_NAME1): New macros.
28237         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28238         of IN_LIB.
28239         (STAP_PROBE_ASM): Likewise.
28241 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28243         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28244         __mach_init in dlopened libc.
28246 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28248         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28249         * sysdeps/arm/preconfigure: Regenerate.
28251 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28253         * nptl/pthread_create.c (__pthread_create_2_1): Set
28254         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28255         when copying values from IATTR into PD.
28257 2014-11-21  Will Newton  <will.newton@linaro.org>
28258             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28260         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28261         Refactor inline-asm.  Also add comment.
28263         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28264         ElfW macro instead of hardcoded Elf64 types.
28265         (la_aarch64_gnu_pltenter): Likewise.
28266         * sysdeps/aarch64/dl-machine.h
28267         (elf_machine_runtime_setup): Use ElfW(Addr).
28269         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28270         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28271         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28272         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28273         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28274         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28275         (R_AARCH64_TLS_DTPMOD): This.
28276         (R_AARCH64_TLS_DTPREL64): Rename to ...
28277         (R_AARCH64_TLS_DTPREL): This.
28278         (R_AARCH64_TLS_TPREL64): Rename to ...
28279         (R_AARCH64_TLS_TPREL): This.
28280         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28281         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28282         R_AARCH64_TLS_TPREL64.
28283         (elf_machine_rela): Likewise.
28285 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28287         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28288         by setting it to 0.  64b atomics are not supported currently.
28290 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28292         [BZ #16469]
28293         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28294         search domain names.
28296 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28298         [BZ #16469]
28299         * NEWS: Update.
28300         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28301         trailing dot.
28302         * posix/tst-getaddrinfo5.c: New.
28303         * posix/Makefile (tests): Add it.
28305 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28307         [BZ #14498]
28308         * NEWS: Fixed.
28309         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28310         after parsing line but before break_if_match.
28311         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28312         if there is a protocol mismatch.
28314 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28316         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28317         because the potential race is on the user-supplied stream.
28319 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28321         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28322         string literal if not passed a buffer.
28323         * manual/job.texi (ctermid): Update reasoning, note deviation
28324         from posix, suggest mtasurace when not passed a buffer, for
28325         future non-preliminary safety notes.
28327 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28329         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28330         of not passing it a buffer.
28331         Reported by Peng Haitao.
28333 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28335         * manual/Makefile ($(objpfx)stamp-summary): Require
28336         check-safety.sh to pass.
28337         * manual/check-safety.sh: Wish for verification that every
28338         @deftypefn and @deftypefun is followed by a @safety remark.
28340 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28342         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28344         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28345         PTHREAD_CANCEL_ASYNCHRONOUS.
28346         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28347         send SIGCANCEL.
28349         * nptl/default-sched.h: New file.
28350         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28351         * nptl/pthread_create.c: Include it.
28352         (__pthread_create_2_1): Use collect_default_sched instead of making
28353         Linux syscalls here directly.
28355 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28357         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28358         __pthread_once): Use C11 atomics.
28360 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28362         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28364 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28366         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28367         atomic_thread_fence_acquire, atomic_thread_fence_release,
28368         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28369         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28370         atomic_compare_exchange_weak_relaxed,
28371         atomic_compare_exchange_weak_acquire,
28372         atomic_compare_exchange_weak_release,
28373         atomic_exchange_acquire, atomic_exchange_release,
28374         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28375         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28376         atomic_fetch_and_acquire,
28377         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28379 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28381         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28382         USE_ATOMIC_COMPILER_BUILTINS): Define.
28383         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28384         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28385         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28386         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28387         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28388         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28389         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28390         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28391         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28392         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28393         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28394         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28395         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28396         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28397         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28398         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28399         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28400         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28401         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28402         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28403         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28404         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28405         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28406         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28407         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28408         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28409         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28410         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28411         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28412         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28413         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28414         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28415         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28416         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28417         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28418         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28419         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28420         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28421         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28422         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28424 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28426         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28427         the sched_priority value here.  It was already checked when the user
28428         called pthread_attr_setschedparam.
28430         * nptl/tst-bad-schedattr.c: New file.
28431         * nptl/Makefile (tests): Add it.
28433 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28434             Florian Weimer  <fweimer@redhat.com>
28435             Joseph Myers  <joseph@codesourcery.com>
28436             Adam Conrad  <adconrad@0c3.net>
28437             Andreas Schwab  <schwab@suse.de>
28438             Brooks  <bmoses@google.com>
28440         [BZ #17625]
28441         * wordexp-test.c (__dso_handle): Add prototype.
28442         (__register_atfork): Likewise.
28443         (__app_register_atfork): New function.
28444         (registered_forks): New global.
28445         (register_fork): New function.
28446         (test_case): Add 3 new tests for WRDE_CMDSUB.
28447         (main): Call __app_register_atfork.
28448         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28449         fork count is non-zero fail the test.
28450         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28451         is set.
28452         (parse_dollars): Remove check for WRDE_NOCMD.
28453         (parse_dquote): Likewise.
28455 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28457         * Makeconfig (built-modules): List non-library modules to be
28458         built.
28459         (module-cppflags): Include libc-modules.h for
28460         everything except shlib-versions.v.i.
28461         (CPPFLAGS): Use it.
28462         (before-compile): Add libc-modules.h.
28463         ($(common-objpfx)libc-modules.h,
28464         $(common-objpfx)libc-modules.stmp): New targets.
28465         (common-generated): Add libc-modules.h and libc-modules.stmp.
28466         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28467         * include/libc-symbols.h: Don't include libc-modules.h.
28468         * include/libc-modules.h: Remove file.
28469         * scripts/gen-libc-modules.awk: New script to generate
28470         libc-modules.h.
28471         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28472         Depend on libc-modules.stmp.
28474         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28476         * Makeconfig (in-module): Get value of libof set for the
28477         translation unit.
28478         (CPPFLAGS): Use $(in-module).
28479         * Makerules: Don't suffix routine names for nonlib.
28480         * include/libc-modules.h: New file.
28481         * include/libc-symbols.h: Include libc-modules.h
28482         (IS_IN): New macro to replace IS_IN_* macros.
28483         * elf/Makefile: Set libof-* for each routine.
28484         * elf/rtld-Rules: Likewise.
28485         * extra-modules.mk: Likewise.
28486         * iconv/Makefile: Likewise.
28487         * iconvdata/Makefile: Likewise.
28488         * locale/Makefile: Likewise.
28489         * malloc/Makefile: Likewise.
28490         * nss/Makefile: Likewise.
28491         * sysdeps/gnu/Makefile: Likewise.
28492         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28493         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28494         * sysdeps/s390/s390-64/Makefile: Likewise.
28495         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28496         CPPFLAGS for nscd instead of nonlib.
28498 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28500         * nptl/createthread.c: New file.
28502         * nptl/createthread.c: Moved ...
28503         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28505         * nptl/createthread.c: Add proper top-line comment.
28506         (do_clone): Folded into ...
28507         (create_thread): ... here.  Take new arguments STOPPED_START and
28508         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28509         increment __nptl_threads, do event-reporting logic, do
28510         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28511         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28512         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28513         just send SIGCANCEL.
28514         * nptl/pthread_create.c: Forward-declare create_thread before
28515         including createthread.c.
28516         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28517         declaration, and new macro START_THREAD_SELF to replace argument.
28518         Remove return statement.
28519         (report_thread_creation): New function.
28520         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28521         synchronization logic, and __nptl_nthreads increment here, around
28522         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28523         PD->parent_cancelhandling here, before create_thread.  When
28524         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28525         __deallocate_stack, and ENOMEM translation here.
28527 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28529         [BZ #17616]
28530         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28531         (mptwo): Rename to __mptwo.
28532         (__inv): Use __mptwo instead of mptwo.
28533         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28534         (mptwo): Rename to __mptwo.
28535         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28536         of mpone and __mptwo instead of mptwo.
28537         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28538         instead of mpone.
28539         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28540         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28541         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28542         of mpone and __mptwo instead of mptwo.
28543         (__mpranred): Use __mpone instead of mpone.
28544         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28545         variable.
28546         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28547         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28548         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28549         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28550         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28551         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28552         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28553         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28554         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28555         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28556         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28557         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28558         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28559         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28560         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28561         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28562         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28563         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28564         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28566 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28568         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28569         replace BSD Handler xref with BSD Signal Handling.
28571 2014-11-17  Richard Henderson  <rth@redhat.com>
28573         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28574         (_FP_PACK_RAW_2): Remove.
28575         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28576         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28577         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28578         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28579         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28580         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28581         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28582         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28583         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28584         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28585         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28586         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28587         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28588         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28589         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28590         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28592 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28594         * signal/signal.h [__USE_MISC]
28595         (struct sigvec): Remove type.
28596         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28597         (sigvec): Remove declaration.
28598         * sysdeps/posix/sigvec.c: Moved ...
28599         * signal/sigvec.c: ... here, replacing old file.
28600         (struct sigvec): New type, copied from old signal.h definition.
28601         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28602         (__sigvec): Convert definition to prototype.
28603         (sigvec): Replace weak_alias with compat_symbol.
28604         * signal/Versions (libc: GLIBC_2.21): New version set.
28605         * include/signal.h: Remove __sigvec declaration.
28606         * sysdeps/unix/bsd/sigvec.c: Remove file.
28607         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28608         * manual/signal.texi (BSD Handler): Remove subsection.
28609         Move siginterrupt up to ...
28610         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28611         (Blocking in BSD): Fold subsection into its parent.
28612         * NEWS: Mention sigvec removal.
28614 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28616         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28617         (DLA_FMS): Make definition conditional only on [__FMA4__].
28618         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28619         definition.
28621         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28622         Make definition conditional only on [PROF].
28623         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28624         definition.
28625         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28626         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28628         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28629         !__GNUC__].
28630         * include/signal.h (__sigpause): Move declaration above call to
28631         libc_hidden_proto.
28632         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28633         variable.
28634         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28635         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28637 2014-11-14  David S. Miller  <davem@davemloft.net>
28639         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28640         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28642 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28644         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28645         * configure: Regenerated.
28646         * manual/install.texi (Tools for Compilation): Document a
28647         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28648         compiler verified to work.
28649         * INSTALL: Regenerated.
28651         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28652         redeclare with asm name.
28653         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28654         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28655         including <string.h>.
28656         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28657         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28658         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28659         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28660         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28662         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28664 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28666         * stdlib/strtol.c (__strtol): Use prototype definition.
28668         [BZ #17594]
28669         * stdlib/strtol.c (SYM__): New macro.
28670         (SYM__1): Likewise.
28671         (__strtol): Likewise.
28672         (strtol): Rename to __strtol and define as weak alias of
28673         __strtol.  Use libc_hidden_weak.
28675 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28677         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28678         Use numbered labels in inline assembly.
28680 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28682         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28683         Add setjmp LIBC_PROBE.
28684         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28685         Likewise.
28686         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28687         Add longjmp, longjmp_target LIBC_PROBE.
28688         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28689         Likewise.
28691 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28693         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28694         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28695         to get rid of unused variable warning.
28697 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28699         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28700         Check for unwind_backtrace ==  NULL only in SHARED case.
28701         (__backchain_backtrace): Compile only in SHARED case.
28702         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28703         Likewise.
28704         (__backchain_backtrace): Declare as static.
28706 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28708         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28709         (__libc_multiple_threads_ptr): Variable moved ...
28710         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28712 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28714         * conform/GlibcConform.pm: New file.
28715         * conform/conformtest.pl: Use GlibcConform module.
28716         * conform/linknamespace.pl: New file.
28717         * conform/list-header-symbols.pl: Likewise.
28718         * conform/Makefile (linknamespace-symlists-base): New variable.
28719         (linknamespace-symlists-tests): Likewise.
28720         (linknamespace-header-base): Likewise.
28721         (linknamespace-header-tests): Likewise.
28722         (tests-special): Add new tests.
28723         ($(linknamespace-symlists-tests)): New rule.
28724         (linknamespace-libs): New variable.
28725         ($(objpfx)symlist-stdlibs): New rule.
28726         ($(linknamespace-header-tests)): Likewise.
28727         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28728         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28729         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28730         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28731         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28732         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28733         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28734         (test-xfail-ISO/math.h/linknamespace): Likewise.
28735         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28736         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28737         (test-xfail-ISO/time.h/linknamespace): Likewise.
28738         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28739         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28740         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28741         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28742         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28743         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28744         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28745         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28746         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28747         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28748         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28749         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28750         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28751         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28752         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28753         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28754         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28755         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28756         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28757         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28758         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28759         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28760         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28761         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28762         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28763         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28764         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28765         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28766         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28767         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28768         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28769         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28770         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28771         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28772         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28773         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28774         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28775         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28776         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28777         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28778         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28779         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28780         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28781         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28782         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28783         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28784         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28785         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28786         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28787         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28788         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28789         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28790         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28791         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28792         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28793         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28794         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28795         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28796         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28797         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28798         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28799         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28800         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28801         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28802         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28803         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28804         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28805         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28806         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28807         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28808         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28809         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28810         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28811         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28812         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28813         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28814         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28815         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28816         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28817         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28818         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28819         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28820         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28821         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28822         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28823         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28824         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28825         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28826         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28827         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28828         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28829         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28830         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28831         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28832         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28833         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28834         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28835         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28836         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28837         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28838         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28839         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28840         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28841         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28842         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28843         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28844         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28845         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28846         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28847         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28848         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28849         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28850         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28851         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28852         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28853         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28854         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28855         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28856         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28857         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28858         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28859         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28860         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28861         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28862         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28863         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28864         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28865         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28866         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28867         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28868         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28869         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28870         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28871         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28872         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28873         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28874         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28875         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28876         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28877         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28878         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28879         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28880         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28881         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28882         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28883         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28884         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28885         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28886         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28887         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28889         [BZ #17589]
28890         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28891         of fgets_unlocked.
28893         [BZ #17585]
28894         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28895         (memmem): Rename to __memmem and define as weak alias of
28896         __memmem.  Use libc_hidden_weak.
28897         (__memmem): Use libc_hidden_def.
28898         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28899         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28900         memmem.
28902         [BZ #17582]
28903         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28904         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28905         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28906         and define as weak alias of __fgets_unlocked.  Use
28907         libc_hidden_weak.
28908         (__fgets_unlocked): Use libc_hidden_def.
28909         * include/stdio.h (__fgets_unlocked): Declare.  Use
28910         libc_hidden_proto.
28911         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28912         __fgets_unlocked instead of fgets_unlocked.
28913         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28914         (GET_NPROCS_CONF_PARSER): Likewise.
28915         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28916         (GET_NPROCS_CONF_PARSER): Likewise.
28918         [BZ #17574]
28919         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28920         weak alias of __wmemset.  Use libc_hidden_weak.
28921         (__wmemset): Use libc_hidden_def.
28922         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28923         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28924         of wmemset.
28926         [BZ #17573]
28927         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28928         with asm name __mempcpy.
28929         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28931         [BZ #17572]
28932         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28933         and define as weak alias of __rawmemchr.
28934         (__rawmemchr): Do not define as strong alias of rawmemchr.
28936         [BZ #17571]
28937         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28938         alias of __qsort_r.
28939         (qsort): Call __qsort_r instead of qsort_r.
28940         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28941         (__qsort_r): Declare.  Call libc_hidden_proto.
28942         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28943         instead of qsort_r.
28944         * nscd/gai.c (__qsort_r): Define to qsort_r.
28945         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28946         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28947         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28949         [BZ #17570]
28950         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28951         define as weak alias of __malloc_info.
28953         [BZ #17584]
28954         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28955         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28956         (__rewinddir): Use libc_hidden_def.
28957         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28958         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28959         (__rewinddir): Use libc_hidden_def.
28960         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28961         weak alias of __rewinddir.  Don't use libc_hidden_def.
28962         (__rewinddir): Use libc_hidden_def.
28963         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28964         (__rewinddir): Use libc_hidden_proto.
28965         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28966         rewinddir.
28967         (__getcwd): Use __rewinddir instead of rewinddir.
28969         [BZ #17583]
28970         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28971         alias of __fileno.  Use libc_hidden_weak.
28972         (__fileno): Use libc_hidden_def.
28973         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28974         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28975         alias of __ftello.
28976         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28977         __ftello.
28978         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28979         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28980         libc_hidden_def.
28981         (fread_unlocked): Don't use libc_hidden_ver.
28982         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28983         and define as weak alias of __fread_unlocked.  Don't use
28984         libc_hidden_def.
28985         (__fread_unlocked): Use libc_hidden_def.
28986         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28987         (ftello): Don't use libc_hidden_proto.
28988         (__ftello): Declare.  Use libc_hidden_proto.
28989         (fread_unlocked): Don't use libc_hidden_proto.
28990         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28991         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28992         and __ftello instead of fileno, fread_unlocked and ftello.
28994 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28996         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28997         GOT12.
28998         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28999         Likewise.
29000         (_dl_start_user): Likewise.
29001         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29003 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29004             Siddhesh Poyarekar  <siddhesh@redhat.com>
29006         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29007         Move argv and envp down instead of moving argc up.
29008         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29010 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29012         [BZ #17506]
29013         * test-skeleton.c (main): Return successful if one of
29014         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29015         * string/tst-strcoll-overflow.c: Define expected status.
29017 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29019         [BZ #17475]
29020         * locale/iso-639.def: Define Bhili and Tulu language codes.
29022 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29024         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29026 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29028         [BZ #17555]
29029         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29031 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29033         * configure.ac: Updated check of minimal required version to
29034         2.22.
29035         * manual/install.texi (Tools for Compilation): Updated version
29036         number.
29037         * configure: Regenerated.
29038         * INSTALL: Likewise.
29040 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29042         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29043         __tls_get_addr.
29045 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29047         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29048         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29049         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29050         libc_hidden_weak.
29051         (waitpid): Define as alias of __waitpid.
29052         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29053         __waitpid.
29054         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29055         libc_hidden_weak.
29056         (waitpid): Define as alias of __waitpid.
29057         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29058         __libc_waitpid alias.
29059         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29060         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29061         Likewise.
29062         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29063         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29064         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29065         alias.
29066         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29067         __waitpid.
29068         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29069         libc_hidden_weak.
29070         (waitpid): Define as alias of __waitpid.
29072 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29074         * manual/llio.texi: Add comment that write safety has been
29075         fixed in Linux.
29077         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29078         (localplt-build-dso): Add elf/ld.so.
29079         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29080         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29081         and free for ld.so.
29082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29083         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29085         Likewise.
29086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29087         Likewise.
29088         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29089         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29090         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29091         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29092         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29093         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29094         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29095         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29096         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29097         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29098         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29100 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29102         [BZ #14132]
29103         * include/libc-symbols.h (INTUSE): Remove macro.
29104         (INTDEF): Likewise.
29105         (INTVARDEF): Likewise.
29106         (_INTVARDEF): Likewise.
29107         (INTDEF2): Likewise.
29108         (INTVARDEF2): Likewise.
29109         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29110         rtld_hidden_def instead of INTVARDEF.
29111         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29112         (_dl_starting_up_internal): Remove declaration.
29113         (_dl_starting_up): Use rtld_hidden_proto.
29114         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29115         declaration.
29116         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29117         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29118         _dl_starting_up.
29119         * elf/dl-writev.h (_dl_writev): Likewise.
29120         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29121         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29122         _dl_starting_up_internal.
29124 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29126         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29127         test-skeleton.c.
29129 2014-11-05  Will Newton  <will.newton@linaro.org>
29131         * benchtests/Makefile: (bench-malloc): Add malloc thread
29132         scalability benchmark.
29133         * benchtests/bench-malloc-threads.c: New file.
29135 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29137         * sysdeps/aarch64/strchrnul.S: New file.
29139 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29141         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29142         definition.
29143         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29144         Likwise.
29145         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29146         Likewise.
29147         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29148         Likewise.
29149         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29150         Likewise.
29151         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29152         Likewise.
29154 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29156         * catgets/test-gencat.c: Use test-skeleton.c.
29157         * catgets/tst-catgets.c: Likewise.
29158         * csu/tst-empty.c: Likewise.
29159         * elf/tst-audit2.c: Likewise.
29160         * elf/tst-global1.c: Likewise.
29161         * elf/tst-pathopt.c: Likewise.
29162         * elf/tst-piemod1.c: Likewise.
29163         * elf/tst-tls10.c: Likewise.
29164         * elf/tst-tls11.c: Likewise.
29165         * elf/tst-tls12.c: Likewise.
29166         * gnulib/tst-gcc.c: Likewise.
29167         * iconvdata/tst-e2big.c: Likewise.
29168         * iconvdata/tst-loading.c: Likewise.
29169         * iconv/tst-iconv1.c: Likewise.
29170         * iconv/tst-iconv2.c: Likewise.
29171         * inet/test-inet6_opt.c: Likewise.
29172         * inet/tst-gethnm.c: Likewise.
29173         * inet/tst-network.c: Likewise.
29174         * inet/tst-ntoa.c: Likewise.
29175         * intl/tst-codeset.c: Likewise.
29176         * intl/tst-gettext2.c: Likewise.
29177         * intl/tst-gettext3.c: Likewise.
29178         * intl/tst-ngettext.c: Likewise.
29179         * intl/tst-translit.c: Likewise.
29180         * io/test-stat.c: Likewise.
29181         * libio/test-fmemopen.c: Likewise.
29182         * libio/tst-freopen.c: Likewise.
29183         * libio/tst-sscanf.c: Likewise.
29184         * libio/tst-ungetwc1.c: Likewise.
29185         * libio/tst-ungetwc2.c: Likewise.
29186         * libio/tst-widetext.c: Likewise.
29187         * localedata/tst-ctype.c: Likewise.
29188         * localedata/tst-digits.c: Likewise.
29189         * localedata/tst-leaks.c: Likewise.
29190         * localedata/tst-mbswcs1.c: Likewise.
29191         * localedata/tst-mbswcs2.c: Likewise.
29192         * localedata/tst-mbswcs3.c: Likewise.
29193         * localedata/tst-mbswcs4.c: Likewise.
29194         * localedata/tst-mbswcs5.c: Likewise.
29195         * localedata/tst-setlocale.c: Likewise.
29196         * localedata/tst-trans.c: Likewise.
29197         * localedata/tst-wctype.c: Likewise.
29198         * localedata/tst-xlocale1.c: Likewise.
29199         * login/tst-grantpt.c: Likewise.
29200         * malloc/tst-calloc.c: Likewise.
29201         * malloc/tst-malloc.c: Likewise.
29202         * malloc/tst-mallocstate.c: Likewise.
29203         * malloc/tst-mcheck.c: Likewise.
29204         * malloc/tst-mtrace.c: Likewise.
29205         * malloc/tst-obstack.c: Likewise.
29206         * math/atest-exp2.c: Likewise.
29207         * math/atest-exp.c: Likewise.
29208         * math/atest-sincos.c: Likewise.
29209         * math/test-matherr.c: Likewise.
29210         * math/test-misc.c: Likewise.
29211         * math/test-powl.c: Likewise.
29212         * math/tst-definitions.c: Likewise.
29213         * misc/tst-dirname.c: Likewise.
29214         * misc/tst-efgcvt.c: Likewise.
29215         * misc/tst-fdset.c: Likewise.
29216         * misc/tst-hsearch.c: Likewise.
29217         * misc/tst-mntent2.c: Likewise.
29218         * nptl/tst-sem7.c: Likewise.
29219         * nptl/tst-sem8.c: Likewise.
29220         * nptl/tst-sem9.c: Likewise.
29221         * nss/test-netdb.c: Likewise.
29222         * posix/tst-fnmatch.c: Likewise.
29223         * posix/tst-getlogin.c: Likewise.
29224         * posix/tst-gnuglob.c: Likewise.
29225         * posix/tst-mmap.c: Likewise.
29226         * pwd/tst-getpw.c: Likewise.
29227         * resolv/tst-inet_ntop.c: Likewise.
29228         * rt/tst-timer.c: Likewise.
29229         * stdio-common/test-fseek.c: Likewise.
29230         * stdio-common/test-popen.c: Likewise.
29231         * stdio-common/test-vfprintf.c: Likewise.
29232         * stdio-common/tst-cookie.c: Likewise.
29233         * stdio-common/tst-fileno.c: Likewise.
29234         * stdio-common/tst-gets.c: Likewise.
29235         * stdio-common/tst-obprintf.c: Likewise.
29236         * stdio-common/tst-perror.c: Likewise.
29237         * stdio-common/tst-sprintf2.c: Likewise.
29238         * stdio-common/tst-sprintf3.c: Likewise.
29239         * stdio-common/tst-sprintf.c: Likewise.
29240         * stdio-common/tst-swprintf.c: Likewise.
29241         * stdio-common/tst-tmpnam.c: Likewise.
29242         * stdio-common/tst-unbputc.c: Likewise.
29243         * stdio-common/tst-wc-printf.c: Likewise.
29244         * stdlib/tst-environ.c: Likewise.
29245         * stdlib/tst-fmtmsg.c: Likewise.
29246         * stdlib/tst-limits.c: Likewise.
29247         * stdlib/tst-rand48-2.c: Likewise.
29248         * stdlib/tst-rand48.c: Likewise.
29249         * stdlib/tst-random2.c: Likewise.
29250         * stdlib/tst-random.c: Likewise.
29251         * stdlib/tst-strtol.c: Likewise.
29252         * stdlib/tst-strtoll.c: Likewise.
29253         * stdlib/tst-tls-atexit.c: Likewise.
29254         * stdlib/tst-xpg-basename.c: Likewise.
29255         * string/test-ffs.c: Likewise.
29256         * string/tst-bswap.c: Likewise.
29257         * string/tst-inlcall.c: Likewise.
29258         * string/tst-strtok.c: Likewise.
29259         * string/tst-strxfrm.c: Likewise.
29260         * sysdeps/x86_64/tst-audit10.c: Likewise.
29261         * sysdeps/x86_64/tst-audit3.c: Likewise.
29262         * sysdeps/x86_64/tst-audit4.c: Likewise.
29263         * sysdeps/x86_64/tst-audit5.c: Likewise.
29264         * time/tst-ftime_l.c: Likewise.
29265         * time/tst-getdate.c: Likewise.
29266         * time/tst-mktime3.c: Likewise.
29267         * time/tst-mktime.c: Likewise.
29268         * time/tst-posixtz.c: Likewise.
29269         * time/tst-strptime2.c: Likewise.
29270         * time/tst-strptime3.c: Likewise.
29271         * wcsmbs/tst-btowc.c: Likewise.
29272         * wcsmbs/tst-mbrtowc.c: Likewise.
29273         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29274         * wcsmbs/tst-wchar-h.c: Likewise.
29275         * wcsmbs/tst-wcpncpy.c: Likewise.
29276         * wcsmbs/tst-wcrtomb.c: Likewise.
29277         * wcsmbs/tst-wcsnlen.c: Likewise.
29278         * wcsmbs/tst-wcstof.c: Likewise.
29280 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29282         [BZ #14132]
29283         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29284         INTDEF.
29285         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29286         declaration.
29287         (_dl_mcount): Use rtld_hidden_proto.
29288         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29289         _dl_mcount.
29290         * elf/rtld.c (_rtld_global_ro): Likewise.
29292         [BZ #14132]
29293         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29294         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29295         of _dl_init_internal.
29296         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29297         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29298         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29299         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29300         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29301         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29302         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29303         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29304         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29305         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29306         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29307         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29308         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29309         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29310         * sysdeps/tile/dl-start.S (_start): Likewise.
29311         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29312         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29314         [BZ #14132]
29315         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29316         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29317         (rtld_progname): Make macro definition unconditional.
29318         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29319         INTDEF.
29320         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29321         (dl_main): Likewise.
29322         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29323         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29324         instead of _dl_argv_internal.
29325         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29326         __GI__dl_argv instead of INTUSE(_dl_argv).
29327         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29328         __GI__dl_argv instead of _dl_argv_internal.
29330         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29331         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29332         macro.
29333         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29334         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29335         New macro.
29336         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29337         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29338         macro.
29339         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29340         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29342 2014-11-04  Andreas Schwab  <schwab@suse.de>
29344         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29346 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29348         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29349         mtvsrd instruction in binary form.
29351 2014-11-03  Andreas Schwab  <schwab@suse.de>
29353         [BZ #17522]
29354         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29355         for less than MB_LEN_MAX use a local buffer of that size.
29356         * libio/tst-fputws.c: New file.
29357         * libio/Makefile (tests): Add tst-fputws.
29359 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29361         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29362         the size of the fpu_fr.fpu_dregs[] array.
29364 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29366         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29367         (__nanosleep): Do not define as alias.
29368         (nanosleep): Define as alias of __nanosleep.
29369         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29370         __libc_nanosleep name.
29372 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29374         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29375         install.texi in comment.
29377 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29379         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29380         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29381         ... add here and use lwsync or sync ...
29382         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29383         ... and add here using lwsync.
29385 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29387         * elf/dl-machine-reject-phdr.h: New file.
29388         * elf/dl-load.c: #include that.
29389         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29390         if that returned true.
29392 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29394         [BZ #17496]
29395         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29396         gen-as-const-headers chunk.  Add a big scare comment after the last
29397         safe place to touch before-compile.
29399 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29401         * manual/install.texi (Tools for Compilation): Update autoconf
29402         version requirements.
29403         * INSTALL: Regenerated.
29405         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29406         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29407         (__libc_pselect): Likewise.
29409         [BZ #14138]
29410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29415 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29417         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29418         correct barrier instruction.
29419         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29420         Likewise.
29421         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29422         Likewise.
29424 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29426         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29427         after defining inlines.  Instead, just use parens to defeat macro
29428         expansion of __isctype in its declaration.
29430 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29432         * include/sys/uio.h (__libc_readv): Remove declaration.
29433         (__libc_writev): Likewise.
29434         * misc/readv.c (__libc_readv): Rename to __readv.
29435         (__readv): Do not define as alias.
29436         (readv): Define as alias of __readv.
29437         * misc/writev.c (__libc_writev): Rename to __writev.
29438         (__writev): Do not define as alias.
29439         (writev): Define as alias of __writev.
29440         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29441         (__readv): Do not define as alias.
29442         (readv): Define unconditionally as alias of __readv.
29443         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29444         (__writev): Do not define as alias.
29445         (writev): Define unconditionally as alias of __writev.
29446         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29447         name.
29448         (writev): Do not define __libc_writev name.
29450 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29452         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29453         (convert_charseq): New function, broken out of ...
29454         (use_from_charmap): ... here.  Call it.
29455         (use_to_charmap): Use convert_charseq and free instead of duplicating
29456         its code with a variable-length stack struct.
29458 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29460         * include/fcntl.h (__libc_creat): Remove declaration.
29461         * io/creat.c (__libc_creat): Rename to creat.
29462         (creat): Do not define as alias.
29463         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29464         of creat instead of __libc_creat.
29465         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29466         to creat.
29467         (creat): Do not define as alias.
29468         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29469         __libc_creat.
29470         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29471         __libc_creat name.
29472         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29473         Likewise.
29475 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29477         * manual/llio.texi: Add comments discussing why write() may be
29478         considered MT-unsafe on Linux.
29480 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29482         * dl-load.c (local_strdup): Remove.
29483         (expand_dynamic_string_token): Use __strdup.
29484         (decompose_rpath): Likewise.
29485         (_dl_map_object): Likewise.
29487 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29489         [BZ #14132]
29490         * sysdeps/generic/unwind-dw2-fde.c
29491         (__register_frame_info_bases_internal): Do not declare.
29492         (__register_frame_info_table_bases_internal): Likewise.
29493         (__deregister_frame_info_bases_internal): Likewise.
29494         (__register_frame_info_bases): Declare and use hidden_proto before
29495         definition.  Use hidden_def instead of INTDEF.
29496         (__register_frame_info_table_bases): Likewise.
29497         (__deregister_frame_info_bases): Likewise.
29498         (__register_frame_info): Do not use INTUSE.
29499         (__register_frame): Likewise.
29500         (__register_frame_info_table): Likewise.
29501         (__register_frame_table): Likewise.
29502         (__deregister_frame_info): Likewise.
29503         (__deregister_frame): Likewise.
29505 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29507         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29508         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29509         not undefine.
29510         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29511         Likewise.
29512         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29513         Likewise.
29515 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29517         [BZ #14138]
29518         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29519         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29520         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29521         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29522         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29523         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29524         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29525         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29526         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29527         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29528         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29529         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29530         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29531         syscall.
29532         (setfsuid): Likewise.
29533         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29534         (setfsuid): Likewise.
29535         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29536         (setfsuid): Likewise.
29537         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29538         Likewise.
29539         (setfsuid): Likewise.
29540         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29541         (setfsuid): Likewise.
29542         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29543         Likewise.
29544         (setfsuid): Likewise.
29546 2014-10-27  Andreas Schwab  <schwab@suse.de>
29548         [BZ #17501]
29549         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29550         check for Slow_SSE4_2 feature bit.
29551         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29552         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29553         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29554         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29556 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29558         * configure.ac: Validate compiler version with a empirical test of
29559         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29560         $CC -v output.
29561         * configure: Regenerated.
29563         * inet/htons.c (htons): Prototypify.
29564         * inet/htonl.c (htonl): Likewise.
29566 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29568         * string/strncat.c (strncat): Improve performance by using strlen.
29570 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29572         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29574 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29576         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29577         Call libc_fetestexcept_aarch64.
29579 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29581         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29582         Call libc_feholdexcept_aarch64.
29584 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29586         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29587         Call get_rounding_mode.
29589 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29591         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29592         Simplify logic.
29594 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29596         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29597         Simplify logic.
29599 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29601         [BZ #14138]
29602         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29603         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29604         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29605         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29606         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29607         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29608         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29609         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29610         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29611         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29612         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29613         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29614         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29615         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29616         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29617         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29618         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29619         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29620         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29621         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29622         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29623         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29624         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29625         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29626         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29627         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29628         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29629         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29630         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29631         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29632         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29633         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29634         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29635         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29636         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29637         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29638         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29639         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29640         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29641         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29642         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29643         syscall.
29644         (geteuid): Likewise.
29645         (getgid): Likewise.
29646         (getuid): Likewise.
29647         (getresgid): Likewise.
29648         (getresuid): Likewise.
29649         (getgroups): Likewise.
29650         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29651         (geteuid): Likewise.
29652         (getgid): Likewise.
29653         (getuid): Likewise.
29654         (getresgid): Likewise.
29655         (getresuid): Likewise.
29656         (getgroups): Likewise.
29657         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29658         (geteuid): Likewise.
29659         (getgid): Likewise.
29660         (getuid): Likewise.
29661         (getresgid): Likewise.
29662         (getresuid): Likewise.
29663         (getgroups): Likewise.
29664         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29665         Likewise.
29666         (geteuid): Likewise.
29667         (getgid): Likewise.
29668         (getuid): Likewise.
29669         (getresgid): Likewise.
29670         (getresuid): Likewise.
29671         (getgroups): Likewise.
29672         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29673         (geteuid): Likewise.
29674         (getgid): Likewise.
29675         (getuid): Likewise.
29676         (getresgid): Likewise.
29677         (getresuid): Likewise.
29678         (getgroups): Likewise.
29679         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29680         Likewise.
29681         (geteuid): Likewise.
29682         (getgid): Likewise.
29683         (getuid): Likewise.
29684         (getgroups): Likewise.
29686         [BZ #14138]
29687         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29688         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29689         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29690         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29691         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29692         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29693         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29694         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29695         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29696         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29697         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29698         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29699         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29700         __chown.
29701         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29702         (lchown): Likewise.
29703         (fchown): Likewise.
29704         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29705         Likewise.
29706         (lchown): Likewise.
29707         (fchown): Likewise.
29708         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29709         (lchown): Likewise.
29710         (fchown): Likewise.
29711         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29712         Likewise.
29713         (lchown): Likewise.
29714         (fchown): Likewise.
29716 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29718         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29719         Simplify logic.
29721 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29723         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29724         Cleanup logic.
29726 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29728         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29729         Remove unused include.
29731 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29733         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29734         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29735         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29736         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29738 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29739             Helge Deller <deller@gmx.de>
29741         [BZ #17508]
29742         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29743         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29744         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29746 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29748         [BZ #14132]
29749         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29750         Remove macro definition.
29751         (__ashrdi3_v_glibc20): Likewise.
29752         (__lshrdi3_v_glibc20): Likewise.
29753         (__cmpdi2_v_glibc20): Likewise.
29754         (__ucmpdi2_v_glibc20): Likewise.
29755         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29756         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29757         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29758         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29759         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29760         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29762 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29764         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29765         old GNU extension [0] syntax.
29766         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29767         alloca rather than an array member with variable length.
29768         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29769         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29770         (parse_opt): ... here.  Likewise use alloca there.
29771         Validate the -i argument before checking for rootness.
29772         (send_shutdown): New function, broken out of ...
29773         (parse_opt): ... here.
29775 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29777         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29778         macro to get at the _rt_local_ro field.
29779         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29780         ([PIC] case) or _dl_hwcap ([!PIC] case).
29781         * sysdeps/arm/setjmp.S: Likewise.
29783         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29784         * sysdeps/arm/configure.ac: New check to define it.
29785         * sysdeps/arm/configure: Regenerated.
29786         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29787         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29788         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29789         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29790         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29791         Use move/movt pair instead of a load.
29792         (LDST_GLOBAL): Macro removed.
29793         (LDR_GLOBAL): New macro replaces it.
29794         (LDR_HIDDEN): New macro.
29795         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29796         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29798         * setjmp/tst-setjmp-static.c: New file.
29799         * setjmp/Makefile (tests): Add it.
29800         (tests-static): New variable.
29802 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29804         [BZ #17485]
29805         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29807 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29809         [BZ #14132]
29810         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29812 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29814         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29816 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29818         * io/fts.c (dirent_not_directory): New function.
29819         (fts_build): Call it.
29821 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29823         * nptl/version.c (__nptl_main): Use normal __write rather than
29824         INTERNAL_SYSCALL.
29825         (banner): Update copyright years.
29827         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29828         gettimeofday.
29829         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29830         * nptl/pthread_cond_timedwait.c: Likewise.
29831         * nptl/pthread_mutex_timedlock.c: Likewise.
29832         * nptl/sem_timedwait.c: Likewise.
29834         * sysdeps/nptl/bits/libc-lock.h
29835         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29836         (__libc_lock_init_recursive): Return void, not 0.
29837         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29838         (__libc_rwlock_init): Likewise.
29839         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29841 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29843         [BZ #15215]
29844         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29845         (__pthread_once_slow): ... here.
29846         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29847         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29849 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29851         [BZ #15215]
29852         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29853         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29854         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29855         * nptl/pthread_once.c (__pthread_once): Likewise.
29856         Update comments.
29858 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29860         [BZ #14138]
29861         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29862         name.
29863         (writev): Use __libc_writev as strong name.
29864         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29865         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29867 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29869         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29871         * sysdeps/i386/nptl/tls.h
29872         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29873         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29874         New macros.
29875         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29876         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29877         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29878         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29879         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29880         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29882         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29883         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29884         on [__NR_futex].
29885         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29886         broken out of ...
29887         (__pthread_mutex_init): ... here.  Call it.
29888         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29889         Conditionalize PI cases on [__NR_futex].
29890         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29891         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29892         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29894         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29895         conditional on [SIGSETXID].
29896         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29897         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29898         is defined.  Likewise for SIGSETXID.
29899         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29900         Conditionalize definitions on [SIGSETXID].
29901         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29902         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29903         unblocking on [SIGCANCEL].
29905         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29906         [__NR_set_robust_list].
29908 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29910         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29911         (do_compare): Likewise.
29913 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29915         [BZ #15884]
29916         * string/strcoll_l.c: Don't include stdio.h.
29917         (coll_seq): Remove members idxarr and rulearr.
29918         (get_next_seq_cached): Remove function.
29919         (get_next_seq): Likewise.
29920         (get_next_seq_nocache): Rename to get_next_seq.
29921         (do_compare): Remove function.
29922         (do_compare_nocache): Rename to do_compare.
29923         (STRCOLL): Remove weight and rules cache.
29925 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29927         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29928         * sysdeps/arm/sfp-machine.h: ... to here.
29929         * sysdeps/arm/Implies: Remove arm/soft-fp.
29931 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29933         * conform/data/sys/utsname.h-data (*_t): Allow.
29934         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29935         [POSIX] (WEXITED): Do not expect constant.
29936         [POSIX] (WSTOPPED): Likewise.
29937         [POSIX] (WNOHANG): Likewise.
29938         [POSIX] (WNOWAIT): Likewise.
29939         [POSIX] (siginfo_t): Do not expect type or elements.
29940         [POSIX] (pid_t): Do not expect type.
29941         [POSIX] (signal.h): Do not allow header.
29942         [POSIX] (sys/resource.h): Likewise.
29943         [POSIX] (si_*): Do not allow pattern.
29944         [POSIX] (W*): Likewise.
29945         [POSIX] (P_*): Likewise.
29946         [POSIX] (BUS_*): Likewise.
29947         [POSIX] (CLD_*): Likewise.
29948         [POSIX] (FPE_*): Likewise.
29949         [POSIX] (ILL_*): Likewise.
29950         [POSIX] (POLL_*): Likewise.
29951         [POSIX] (SEGV_*): Likewise.
29952         [POSIX] (SI_*): Likewise.
29953         [POSIX] (TRAP_*): Likewise.
29954         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29955         variable.
29957 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29959         [BZ #12926]
29960         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29961         infinite loop when __recvmsg returns 0.
29963 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29965         * CANCEL-FCT-WAIVE: Remove file.
29966         * CANCEL-FILE-WAIVE: Likewise.
29968         [BZ #14132]
29969         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29970         instead of INTVARDEF.
29971         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29972         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29973         rtld_hidden_data_def instead of INTVARDEF.
29974         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29975         * elf/dl-deps.c (expand_dst): Likewise.
29976         * elf/dl-load.c (_dl_dst_count): Likewise.
29977         (_dl_dst_substitute): Likewise.
29978         (decompose_rpath): Likewise.
29979         (_dl_init_paths): Likewise.
29980         (open_path): Likewise.
29981         (_dl_map_object): Likewise.
29982         * elf/rtld.c (dl_main): Likewise.
29983         (process_dl_audit): Likewise.
29984         (process_envvars): Likewise.
29985         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29986         Remove declaration.
29987         (__libc_enable_secure): Use rtld_hidden_proto.
29989 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29991         * elf/dl-load.c
29992         (add_path): New function broken out of _dl_rtld_di_serinfo.
29993         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29995 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29997         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29998         parentheses around macro arguments.
29999         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30000         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30001         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30002         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30003         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30004         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30005         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30006         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30007         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30008         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30009         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30010         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30011         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30012         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30013         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30014         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30015         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30016         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30017         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30019         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30020         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30021         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30022         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30023         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30024         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30025         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30026         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30027         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30028         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30029         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30030         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30031         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30032         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30033         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30034         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30035         Likewise.
30036         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30037         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30038         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30039         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30040         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30041         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30042         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30043         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30044         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30045         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30046         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30047         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30048         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30049         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30050         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30051         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30052         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30053         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30055         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30056         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30057         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30058         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30059         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30060         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30061         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30062         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30063         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30064         (_FP_FRAC_SRS_1): Likewise.
30065         (_FP_FRAC_CLZ_1): Likewise.
30066         (_FP_MUL_MEAT_1_imm): Likewise.
30067         (_FP_MUL_MEAT_1_wide): Likewise.
30068         (_FP_MUL_MEAT_1_hard): Likewise.
30069         (_FP_SQRT_MEAT_1): Likewise.
30070         (_FP_FRAC_ASSEMBLE_1): Likewise.
30071         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30072         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30073         (__FP_CLZ_2): Likewise.
30074         (_FP_MUL_MEAT_2_wide): Likewise.
30075         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30076         (_FP_MUL_MEAT_2_gmp): Likewise.
30077         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30078         (_FP_SQRT_MEAT_2): Likewise.
30079         (_FP_FRAC_ASSEMBLE_2): Likewise.
30080         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30081         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30082         (_FP_FRAC_CLZ_4): Likewise.
30083         (_FP_MUL_MEAT_4_wide): Likewise.
30084         (_FP_MUL_MEAT_4_gmp): Likewise.
30085         (_FP_SQRT_MEAT_4): Likewise.
30086         (_FP_FRAC_ASSEMBLE_4): Likewise.
30087         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30088         * soft-fp/op-common.h (_FP_CMP): Likewise.
30089         (_FP_CMP_EQ): Likewise.
30090         (_FP_CMP_UNORD): Likewise.
30091         (_FP_TO_INT): Likewise.
30092         (_FP_FROM_INT): Likewise.
30093         [!__FP_CLZ] (__FP_CLZ): Likewise.
30094         (_FP_DIV_HELP_imm): Likewise.
30095         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30096         Likewise.
30097         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30098         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30099         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30100         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30101         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30102         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30103         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30104         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30105         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30106         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30107         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30108         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30109         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30110         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30111         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30112         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30113         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30114         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30115         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30116         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30117         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30118         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30119         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30121         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30122         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30123         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30124         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30126         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30127         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30128         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30129         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30130         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30131         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30132         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30133         (FP_UNPACK_RAW_SP): Likewise.
30134         (FP_PACK_RAW_S): Likewise.
30135         (FP_PACK_RAW_SP): Likewise.
30136         (FP_UNPACK_S): Likewise.
30137         (FP_UNPACK_SP): Likewise.
30138         (FP_UNPACK_SEMIRAW_S): Likewise.
30139         (FP_UNPACK_SEMIRAW_SP): Likewise.
30140         (FP_PACK_S): Likewise.
30141         (FP_PACK_SP): Likewise.
30142         (FP_PACK_SEMIRAW_S): Likewise.
30143         (FP_PACK_SEMIRAW_SP): Likewise.
30144         (_FP_SQRT_MEAT_S): Likewise.
30145         (FP_CMP_S): Likewise.
30146         (FP_CMP_EQ_S): Likewise.
30147         (FP_CMP_UNORD_S): Likewise.
30148         (FP_TO_INT_S): Likewise.
30149         (FP_FROM_INT_S): Likewise.
30151         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30153         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30154         (FP_EX_INVALID_IMZ): Likewise.
30155         (FP_EX_INVALID_IMZ_FMA): Likewise.
30156         (FP_EX_INVALID_ISI): Likewise.
30157         (FP_EX_INVALID_ZDZ): Likewise.
30158         (FP_EX_INVALID_IDI): Likewise.
30159         (FP_EX_INVALID_SQRT): Likewise.
30160         (FP_EX_INVALID_CVI): Likewise.
30161         (FP_EX_INVALID_VC): Likewise.
30162         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30163         "invalid" exceptions.
30164         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30165         (_FP_ADD_INTERNAL): Likewise.
30166         (_FP_MUL): Likewise.
30167         (_FP_FMA): Likewise.
30168         (_FP_DIV): Likewise.
30169         (_FP_CMP_CHECK_NAN): Likewise.
30170         (_FP_SQRT): Likewise.
30171         (_FP_TO_INT): Likewise.
30172         (FP_EXTEND): Likewise.
30174 2014-10-09  Allan McRae  <allan@archlinux.org>
30176         * po/fr.po: Update French translation from translation project.
30178 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30180         [BZ #14132]
30181         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30182         of INTDEF.
30183         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30184         (__cxa_atexit): Use libc_hidden_proto.
30185         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30187         [BZ #14132]
30188         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30189         declaration.
30190         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30191         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30192         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30193         [!_ISOMAC] (__iswctype_internal): Likewise.
30194         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30195         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30196         alias.
30197         (fcntl): Remove __fcntl_internal alias.
30198         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30199         __connect_internal alias.
30200         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30201         Likewise.
30203         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30204         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30205         FP_DENORM_ZERO.
30206         (_FP_CHECK_FLUSH_ZERO): New macro.
30207         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30208         (_FP_CMP): Likewise.
30209         (_FP_CMP_EQ): Likewise.
30210         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30211         FP_DENORM_ZERO.
30212         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30213         (FP_TRUNC): Likewise.
30215         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30216         treated as invalid conversion, not as normal exponent.
30218         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30219         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30220         (_FP_CMP_EQ): Likewise.
30221         (_FP_CMP_UNORD): Likewise.
30222         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30223         (FP_CMP_EQ_D): Likewise.
30224         (FP_CMP_UNORD_D): Likewise.
30225         * soft-fp/extended.h (FP_CMP_E): Likewise.
30226         (FP_CMP_EQ_E): Likewise.
30227         (FP_CMP_UNORD_E): Likewise.
30228         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30229         (FP_CMP_EQ_Q): Likewise.
30230         (FP_CMP_UNORD_Q): Likewise.
30231         * soft-fp/single.h (FP_CMP_S): Likewise.
30232         (FP_CMP_EQ_S): Likewise.
30233         (FP_CMP_UNORD_S): Likewise.
30234         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30235         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30236         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30237         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30238         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30239         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30240         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30241         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30242         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30243         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30244         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30245         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30246         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30247         to FP_CMP_Q.
30248         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30249         FP_CMP_Q.
30250         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30251         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30252         FP_CMP_EQ_Q.
30253         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30254         FP_CMP_Q.
30255         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30256         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30257         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30258         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30259         FP_CMP_EQ_Q.
30260         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30261         FP_CMP_Q.
30262         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30263         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30264         FP_CMP_EQ_Q.
30265         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30266         FP_CMP_Q.
30267         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30268         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30269         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30270         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30271         FP_CMP_EQ_Q.
30273         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30274         a subnormal result, set the underflow exception if trapping on
30275         underflow is enabled.
30276         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30277         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30278         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30279         redefine to 0.
30280         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30281         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30282         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30283         * soft-fp/extendxftf2.c (__extendxftf2): Use
30284         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30286         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30287         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30288         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30289         FP_HANDLE_EXCEPTIONS.
30290         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30291         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30292         FP_HANDLE_EXCEPTIONS.
30293         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30294         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30295         FP_HANDLE_EXCEPTIONS.
30296         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30297         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30298         FP_HANDLE_EXCEPTIONS.
30300 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30302         [BZ #14132]
30303         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30304         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30305         use INTUSE.
30306         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30307         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30308         Remove alias.
30309         (__adjtimex): Define using libc_hidden_ver.
30310         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30311         Remove declaration.
30312         (ntp_gettime): Call __adjtimex directly.
30313         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30314         Remove declaration.
30315         (ntp_gettimex): Call __adjtimex directly.
30316         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30317         __adjtimex_internal alias.
30319 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30321         [BZ #17460]
30322         * nscd/nscd.c (more_help): Rewrite list of tables collection
30323         using xstrdup and asprintf.
30325         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30327 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30328             Roland McGrath  <roland@hack.frob.com>
30330         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30331         (do_lookup_unique): ... local function 'enter' here; update callers.
30333 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30335         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30336         compat_symbol calls on [SHARED].
30337         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30338         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30339         Remove.
30340         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30341         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30342         (oldsetrlimit): Remove.
30343         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30345         (lchown): New syscall entry.
30346         (oldsetrlimit): Remove.
30347         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30348         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30349         (oldsetrlimit): Remove.
30350         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30352         [BZ #14138]
30353         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30354         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30355         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30356         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30357         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30358         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30359         (fchown): Likewise.
30360         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30361         (fchown): Likewise.
30362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30363         Likewise.
30365 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30367         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30368         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30369         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30370         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30371         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30372         Likewise.
30373         (__old_sem_post): Likewise.
30375 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30377         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30378         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30379         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30380         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30381         Use INLINE_VSYSCALL macro.
30382         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30383         __vdso_clock_gettime.
30384         * sysdeps/unix/sysv/linux/tile/init-first.c
30385         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30386         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30387         __vdso_clock_gettime.
30389         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30390         to set up frame more cleanly.
30392         * sysdeps/tile/memcmp.c: New file.
30394         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30396         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30397         * sysdeps/tile/tilegx/strcasestr.c: New file.
30398         * sysdeps/tile/tilegx/strnlen.c: New file.
30399         * sysdeps/tile/tilegx/strstr.c: New file.
30401         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30403 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30405         * nptl/tst-setuid3.c: Write errors to stdout.
30407 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30409         * elf/dl-deps.c
30410         (preload): New functions broken out of _dl_map_object_deps.
30411         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30413 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30415         [BZ #14138]
30416         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30417         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30419 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30421         * sysdeps/mips/strcmp.S: New.
30423 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30425         [BZ #14138]
30426         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30427         (linkat): Likewise.
30428         (mkdirat): Likewise.
30429         (readlinkat): Likewise.
30430         (renameat): Likewise.
30431         (symlinkat): Likewise.
30432         (unlinkat): Likewise.
30433         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30434         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30435         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30436         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30437         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30438         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30439         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30441 2014-09-30  Will Newton  <will.newton@linaro.org>
30443         * math/math.h: Define long double math functions if
30444         _LIBC_TEST is defined.
30445         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30447         * localedata/Makefile: Move assignment to tests-special
30448         into an ifdef testing run-built-tests.
30449         * timezone/Makefile: Likewise.
30451 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30453         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30454         with $(BASH) not $(SHELL).
30456 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30457             Matthew LeGendre  <legendre1@llnl.gov>
30459         [BZ #17411]
30460         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30461         l_reloc_result.
30463 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30465         * stdio-common/printf_fp.c
30466         (hack_digit): New function, broken out of ...
30467         (__printf_fp): ... local function here.  Update call sites.
30468         hack_digit now takes an additional parameter that is a pointer
30469         to a struct of the referenced locals.  Those locals moved inside
30470         the struct and references updated.
30472 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30474         * aclocal.m4: Require autoconf 2.69.
30475         * configure: Regenerated.
30476         * sysdeps/aarch64/configure: Likewise.
30477         * sysdeps/alpha/configure: Likewise.
30478         * sysdeps/arm/armv7/configure: Likewise.
30479         * sysdeps/arm/configure: Likewise.
30480         * sysdeps/ia64/configure: Likewise.
30481         * sysdeps/mach/configure: Likewise.
30482         * sysdeps/mips/configure: Likewise.
30483         * sysdeps/s390/configure: Likewise.
30484         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30487         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30488         file.
30489         * sysdeps/ia64/configure.ac: Likewise.
30491 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30494         specify symbol version for ld.so.  Do not include entry for
30495         libpthread.
30496         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30497         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30498         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30500         [BZ #14171]
30501         * Makeconfig [$(build-shared) = yes]
30502         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30503         makefiles.
30504         [$(build-shared) = yes && $(soversions.mk-done) = t]
30505         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30506         [$(build-shared) = yes && $(soversions.mk-done) = t]
30507         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30508         to Makerules.
30509         [$(build-shared) = yes && $(soversions.mk-done) = t]
30510         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30511         here.
30512         [$(build-shared) = yes && $(soversions.mk-done) = t]
30513         (common-generated): Don't append gnu/lib-names.h and
30514         gnu/lib-names.stmp here.
30515         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30516         (lib-names-h-abi): New variable.
30517         [$(build-shared) = yes && $(soversions.mk-done) = t]
30518         (lib-names-stmp-abi): Likewise.
30519         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30520         abi-variants] (before-compile): Append
30521         $(common-objpfx)$(lib-names-h-abi).
30522         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30523         abi-variants] (common-generated): Append gnu/lib-names.h.
30524         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30525         abi-variants] (install-others-nosubdir): Depend on
30526         $(inst_includedir)/$(lib-names-h-abi).
30527         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30528         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30529         [$(build-shared) = yes && $(soversions.mk-done) = t]
30530         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30531         [$(build-shared) = yes && $(soversions.mk-done) = t]
30532         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30533         [$(build-shared) = yes && $(soversions.mk-done) = t]
30534         (common-generated): Append $(lib-names-h-abi) and
30535         $(lib-names-stmp-abi).
30536         * scripts/lib-names.awk: Do not handle multi being set.
30537         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30538         Remove variable.
30539         (abi-lp64_be-ld-soname): Likewise.
30540         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30541         Likewise.
30542         (abi-hard-ld-soname): Likewise.
30543         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30544         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30545         Remove variable.
30546         (abi-o32_hard-ld-soname): Likewise.
30547         (abi-o32_soft_2008-ld-soname): Likewise.
30548         (abi-o32_hard_2008-ld-soname): Likewise.
30549         (abi-n32_soft-ld-soname): Likewise.
30550         (abi-n32_hard-ld-soname): Likewise.
30551         (abi-n32_soft_2008-ld-soname): Likewise.
30552         (abi-n32_hard_2008-ld-soname): Likewise.
30553         (abi-n64_soft-ld-soname): Likewise.
30554         (abi-n64_hard-ld-soname): Likewise.
30555         (abi-n64_soft_2008-ld-soname): Likewise.
30556         (abi-n64_hard_2008-ld-soname): Likewise.
30557         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30558         Likewise.
30559         (abi-64-v2-ld-soname): Likewise.
30560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30561         ld.so entries.
30562         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30563         variable.
30564         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30565         entry.
30566         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30567         variable.
30568         (abi-64-ld-soname): Likewise.
30569         (abi-x32-ld-soname): Likewise.
30570         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30571         entry.
30572         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30574 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30576         [BZ #14138]
30577         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30578         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30579         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30580         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30581         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30582         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30583         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30584         syscall entry for GLIBC_2.2 symbol version.
30585         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30586         Likewise.
30587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30588         (setrlimit): Likewise.
30589         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30590         Likewise.
30592 2014-09-23  Will Newton  <will.newton@linaro.org>
30594         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30595         _LINUX_ARM_SYSDEP_H include guard too.
30596         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30597         define.
30599 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30601         * sysdeps/unix/sysv/linux/eventfd.c:
30602         Make first argument unsigned.
30603         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30604         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30606 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30608         [BZ #16852]
30609         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30610         * socket/sys/socket.h: Likewise.
30611         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30613 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30615         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30617 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30619         * time/tst-ftime.c: New test.
30620         * time/Makefile (tests): Add tst-ftime.
30622 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30624         * soft-fp/extended.h: Fix comment formatting.
30625         * soft-fp/op-1.h: Likewise.
30626         * soft-fp/op-2.h: Likewise.
30627         * soft-fp/op-4.h: Likewise.
30628         * soft-fp/op-8.h: Likewise.
30629         * soft-fp/op-common.h: Likewise.
30630         * soft-fp/soft-fp.h: Likewise.
30632         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30634 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30636         [BZ #6652]
30637         * Makeconfig (soversions-default-setname): Remove variable.
30638         ($(common-objpfx)soversions.i): Don't pass default_setname to
30639         soversions.awk.
30640         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30641         oldest_abi to abi-versions.awk.
30642         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30643         * config.make.in (oldest-abi): Remove variable.
30644         * configure.ac (--enable-oldest-abi): Remove configure option.
30645         * configure: Regenerated.
30646         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30647         text.
30648         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30649         * scripts/soversions.awk: Do not handle default_setname variable.
30650         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30651         variable.
30652         * sysdeps/mach/hurd/configure: Regenerated.
30653         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30654         variable.
30655         * sysdeps/unix/sysv/linux/configure: Regenerated.
30657 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30659         * elf/Makefile (CFLAGS-interp.c): Remove.
30660         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30661         path string.
30662         * elf/interp.c: Include generated runtime-linker.h
30664         * Makerules (lib%.so): Don't include $(+interp) in
30665         prerequisites.
30666         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30667         * dlfcn/eval.c: Remove file.
30669         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30670         macros.
30672         [BZ #17266]
30673         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30674         4.2 and newer.
30676         [BZ #17370]
30677         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30679 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30680             Jakub Jelinek  <jakub@redhat.com>
30682         [BZ #17266]
30683         * libio/stdio.h: Check definition of __fortify_function
30684         instead of __extern_always_inline to include bits/stdio2.h.
30685         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30686         check if __extern_always_inline is defined.
30687         [__USE_MISC || __USE_XOPEN]: Likewise.
30688         [__USE_ISOC99] Likewise.
30689         * misc/sys/cdefs.h (__fortify_function): Define only if
30690         __extern_always_inline is defined.
30691         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30692         __extern_always_inline and __extern_inline only for g++-4.3
30693         and newer or a compatible gcc.
30695 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30697         [BZ #17371]
30698         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30699         last change to handle zero prefix length.
30701 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30703         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30704         _SC_REGEX_VERSION.
30706         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30707         _POSIX_RAW_SOCKETS.
30709 2014-09-13  Allan McRae  <allan@archlinux.org>
30711         * po/ru.po: Update Russian translation from translation project.
30713 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30715         * locale/programs/locale.c (show_locale_vars): Inline local function
30716         into its sole call site.  Clean up some style nits.
30717         (print_item): New function, broken out of ...
30718         (show_info): ... local function here.  Clean up style nits.
30720         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30721         out of ...
30722         (set_class_defaults): ... local function set_default here.
30723         Define set_default as a macro locally to pass constant parameters.
30724         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30725         rather than a shared local.
30727         * stdlib/rpmatch.c (try): New function, broken out of ...
30728         (rpmatch): ... local function here.  Also, prototypify definition.
30730 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30732         * scripts/soversions.awk: Do not handle configuration names.
30733         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30734         vendor and os variables to soversions.awk.
30735         * configure.ac: Do not modify gnu-* host_os.
30736         * configure: Regenerated
30737         * shlib-versions: Remove first column with configuration names.
30738         * nptl/shlib-versions: Likewise.
30739         * nptl_db/shlib-versions: Likewise.
30740         * sysdeps/hppa/shlib-versions: Likewise.
30741         * sysdeps/m68k/shlib-versions: Likewise.
30742         * sysdeps/mach/hurd/shlib-versions: Likewise.
30743         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30744         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30745         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30746         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30747         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30748         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30749         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30750         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30752         Likewise.
30753         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30754         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30755         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30756         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30757         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30758         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30759         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30760         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30763         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30765         Regenerated.
30766         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30768         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30770         * shlib-versions: Remove OS-specific entries.  Moved to files in
30771         sysdeps.
30772         * sysdeps/mach/hurd/shlib-versions: New file.
30773         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30775         * nptl/shlib-versions: Remove architecture-specific entries.
30776         Moved to files in sysdeps.
30777         * shlib-versions: Likewise.
30778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30779         file.
30780         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30781         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30782         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30783         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30785         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30786         (UDP_NO_CHECK6_RX): Likewise.
30788 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30790         * sysdeps/posix/sysconf.c (__sysconf): Spell
30791         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30793 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30795         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30796         loading.
30797         * iconv/Versions (__gconv_transliterate): Export for use from
30798         gconv modules.
30799         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30800         (struct __gconv_trans_data, __gconv_trans_fct,
30801         __gconv_trans_context_fct, __gconv_trans_query_fct,
30802         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30803         definitions.
30804         (struct __gconv_step_data): Remove __trans member.
30805         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30806         longer hidden.  Remove unused trans_data argument.
30807         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30808         (__gconv_translit_find): Remove declaration.
30809         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30810         prototype.
30811         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30812         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30813         trans_data argument.  Add hidden definition.
30814         (__gconv_translit_find): Remove.
30815         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30816         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30817         * iconv/skeleton.c: Remove transliteration initialization.
30818         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30819         __gconv_step_data initialization.
30820         * libio/iofwide.c (__libio_translit_): Remove.
30821         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30822         * wcsmbs/btowc.c (__btowc): Likewise.
30823         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30824         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30825         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30826         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30827         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30828         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30829         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30830         * wcsmbs/wctob.c (wctob): Likewise.
30832 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30834         [BZ #16194]
30835         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30836         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30837         register usage.
30838         * sysdeps/x86/Makefile: Adjust.
30840 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30841             Roland McGrath  <roland@hack.frob.com>
30843         * locale/weight.h: Add include guard.
30844         (findidx): Make static rather than auto; take new parameters
30845         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30846         * locale/weightwc.h: Likewise.
30847         * posix/fnmatch_loop.c
30848         (FCT): Change type of EXTRA from int32_t to wint_t.
30849         Don't include either header inside the function.
30850         Call FINDIDX rather than findidx, and pass new arguments.
30851         #undef FINDIDX at the end of the file.
30852         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30853         FINDIDX before including fnmatch_loop.c for the non-wide version.
30854         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30855         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30856         for the wide version.
30857         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30858         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30859         Pass new arguments to findidx.
30860         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30861         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30862         Don't #include it inside the function.  Pass new arguments to findidx.
30863         * posix/regex_internal.h
30864         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30865         (re_string_elem_size_at): Don't #include it inside the function.
30866         Pass new arguments to findidx.
30867         * string/strcoll_l.c: #include WEIGHT_H at top level.
30868         (get_next_seq): Don't #include it inside the function.
30869         Pass new arguments to findidx.
30870         (get_next_seq_nocache): Likewise.
30871         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30872         (STRXFRM): Don't #include it inside the function.
30873         Pass new arguments to findidx.
30875 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30877         [BZ #17344]
30878         * malloc/malloc.c (unlink): Turn asserts into a call to
30879         malloc_printerr.
30881 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30883         [BZ #17370]
30884         * libio/wfileops (do_ftell_wide): Free OUT.
30886 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30888         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30890 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30892         [BZ #17363]
30893         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30894         group if the current group is empty.
30896 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30898         * benchtests/bench-memset.c (test_main): Add more test from size
30899         from 32 to 512 bytes.
30900         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30901         Add POWER8 memset object.
30902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30903         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30904         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30905         implementation.
30906         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30907         Likewise.
30908         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30909         multiarch POWER8 memset optimization.
30910         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30911         POWER8 memset optimization.
30913         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30914         Remove bzero multiarch objects.
30915         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30916         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30917         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30918         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30919         Remove define.
30920         [__bzero]: Redefine to specific name.
30921         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30922         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30923         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30924         define.
30925         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30926         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30928 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30930         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30931         warnings into errors.
30933         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30934         __cxa_thread_atexit_impl prototype.
30936 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30938         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30939         Fix capitalization of error message.
30941 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30943         * sysdeps/mips/preconfigure: Modify ABI tests.
30945 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30947         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30949 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30950             Carlos O'Donell  <carlos@systemhalted.org>
30952         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30953         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30954         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30955         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30956         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30957         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30958         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30959         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30960         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30961         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30962         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30963         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30964         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30965         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30966         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30967         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30968         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30969         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30970         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30971         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30972         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30973         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30974         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30975         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30976         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30977         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30978         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30979         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30980         Deconditionalize the code that was previously under [RESET_PID].
30981         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30982         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30983         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30984         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30985         include sysdep.h.
30987 2014-09-08  Allan McRae  <allan@archlinux.org>
30989         * version.h (RELEASE): Set to "development".
30990         (VERSION): Set to "2.20.90"
30992 2014-09-07  Allan McRae  <allan@archlinux.org
30994         * version.h (RELEASE): Set to "stable".
30995         (VERSION): Set to "2.20"
30996         * include/features.h (__GLIBC_MINOR__): Set to 20.
30998         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30999         Liebler.
31001         * po/ko.po: Update Korean translation from translation project.
31003 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31005         [BZ #17354]
31006         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31007         macro for handling signed relocations.
31009 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31011         [BZ #17325]
31012         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31013         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31014         assert.
31015         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31016         * iconvdata/ibm935.c (BODY): Likewise.
31017         * iconvdata/ibm937.c (BODY): Likewise.
31018         * iconvdata/ibm939.c (BODY): Likewise.
31019         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31020         assert.
31021         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31022         script.
31023         * iconvdata/run-iconv-test.sh: New test loop for checking for
31024         decoder crashers.
31026 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31028         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31029         libm_hidden_ver.
31031 2014-09-01  Allan McRae  <allan@archlinux.org>
31033         * po/eo.po: Update Esperanto translation from translation project.
31035         * po/ca.po: Update Catalan translation from translation project.
31037 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31039         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31040         __proc_dostop call.
31042 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31044         [BZ #17319]
31045         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31046         to call set_thread_area instead of hand written asm.
31047         (__NR_set_thread_area): Removed define.
31048         (TLS_FLAG_WRITABLE): Likewise.
31049         (__ASSUME_SET_THREAD_AREA): Remove check.
31050         (TLS_EBX_ARG): Remove define.
31051         (TLS_LOAD_EBX): Likewise.
31053 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31055         Simplify atomicity of socket creation in bind.
31057         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31058         looking up the name after linking the file.
31060 2014-08-27  Allan McRae  <allan@archlinux.org>
31062         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31064 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31066         [BZ #17187]
31067         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31068         trans_compare, open_translit, __gconv_translit_find):
31069         Remove module loading code.
31071 2014-08-26  Allan McRae  <allan@archlinux.org>
31073         * po/vi.po: Update Vietnamese translation from translation project.
31075         * po/uk.po: Update Ukrainian translation from translation project.
31077         * po/fr.po: Update French translation from translation project.
31079         * po/ru.po: Update Russian translation from translation project.
31081         * po/pl.po: Update Polish translation from translation project.
31083         * po/cs.po: Update Czech translation from translation project.
31085         * po/de.po: Update German translation from translation project.
31087         * po/bg.po: Update Bulgarian translation from translation project.
31089         * po/sv.po: Update Sweedish translation from translation project.
31091         * po/nl.po: Update Dutch translation from translation project.
31093         * po/es.po: Update Spanish translation from translation project.
31095 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31097         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31099         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31100         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31101         (CPPFLAGS-iconvconfig): Likewise.
31102         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31104         * include/libc-symbols.h: Remove unnecessary check for
31105         NOT_IN_libc.
31106         * nptl/pthreadP.h: Likewise.
31107         * sysdeps/aarch64/setjmp.S: Likewise.
31108         * sysdeps/alpha/setjmp.S: Likewise.
31109         * sysdeps/arm/sysdep.h: Likewise.
31110         * sysdeps/i386/setjmp.S: Likewise.
31111         * sysdeps/m68k/setjmp.c: Likewise.
31112         * sysdeps/posix/getcwd.c: Likewise.
31113         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31114         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31115         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31116         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31117         * sysdeps/sh/sh3/setjmp.S: Likewise.
31118         * sysdeps/sh/sh4/setjmp.S: Likewise.
31119         * sysdeps/unix/alpha/sysdep.h: Likewise.
31120         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31121         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31122         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31123         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31127         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31128         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31129         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31131         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31133         * sysdeps/x86_64/setjmp.S: Likewise.
31135 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31137         [BZ #17263]
31138         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31139         <stdint.h>.
31140         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31141         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31143 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31145         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31147         [BZ #17262]
31148         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31149         and __x86_64__ when disabling x87 inline functions.
31151 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31153         [BZ #17259]
31154         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31155         asm statement with __cpuid_count.
31157 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31159         * configure.ac: Change __ehdr_start code to dereference the struct.
31160         Run readelf on the output to look for relocations.
31161         * configure: Regenerated.
31163 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31165         [BZ #17261]
31166         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31167         value to 0.
31168         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31170 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31172         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31174 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31176         [BZ #16892]
31177         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31178         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31180 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31182         * malloc/malloc.c: Fix typo in comment.
31184 2014-08-09  Allan McRae  <allan@archlinux.org>
31186         * Regenerate libc.po.
31188 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31190         * intl/tst-gettext2.sh: Check every lang file for creation.
31192 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31194         * sysdeps/aarch64/fpu/math_private.h
31195         (libc_feholdsetround_noex_aarch64_ctx): New function.
31197 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31199         * sysdeps/arm/armv6/strcpy.S (strcpy):
31200         Fix performance issue in misaligned cases.
31202 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31204         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31205         Move definition from termios.h.
31206         (struct termio): Likewise.
31207         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31208         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31209         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31210         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31211         Likewise.
31212         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31213         Move definition to ioctl-types.h
31214         (struct termio): Likewise.
31215         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31216         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31217         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31218         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31219         Likewise.
31221 2014-08-05  Richard Henderson  <rth@redhat.com>
31223         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31224         exceptions.
31225         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31226         Add fraiseexcpt.
31227         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31228         Use __feraiseexcept.
31229         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31230         Protect libm symbols with IS_IN_libm.
31232         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31234 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31236         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31238 2014-08-04  Will Newton  <will.newton@linaro.org>
31240         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31241         file.
31243 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31245         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31246         variants for each function.
31248 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31250         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31251         appended ...
31252         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31253         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31254         appended ...
31255         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31256         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31257         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31258         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31259         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31260         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31261         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31262         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31263         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31264         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31265         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31266         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31267         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31268         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31269         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31270         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31271         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31272         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31273         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31274         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31275         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31276         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31277         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31278         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31279         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31280         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31281         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31282         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31283         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31284         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31285         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31286         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31287         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31288         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31289         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31290         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31291         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31292         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31293         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31294         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31295         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31296         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31297         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31298         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31299         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31300         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31301         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31302         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31303         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31304         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31305         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31306         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31307         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31308         Update #include.
31309         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31310         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31312 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31314         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31315         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31316         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31317         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31318         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31319         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31321 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31323         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31324         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31325         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31326         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31328 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31330         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31331         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31332         (__libc_vfork): Define function under this name.
31333         (__vfork): Define as an alias.
31334         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31335         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31337 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31339         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31340         that was previously under [RESET_PID].
31341         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31343 2014-08-04  Andreas Schwab  <schwab@suse.de>
31345         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31347 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31349         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31350         (main): Likewise.
31352 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31354         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31356 2014-08-01  Richard Henderon  <rth@redhat.com>
31358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31359         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31360         typo in exact zero test.
31361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31362         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31363         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31365 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31367         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31368         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31369         * sysdeps/arm/sysdep.h: ... here.
31370         [!__ASSEMBLER__]: Include <stdint.h>.
31372 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31374         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31375         (HAVE_WCTYPE_H): Likewise.
31376         (HAVE_ISWCTYPE): Likewise.
31377         (ENABLE_NLS): Likewise.
31378         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31379         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31381         * posix/regex_internal.c: Check if DEBUG is defined and is
31382         set.
31384         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31385         (HAVE_MBSRTOWCS): Likewise.
31386         * posix/fnmatch.c: Include string.h unconditionally.
31388 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31390         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31391         reversal.
31393 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31395         * sysdeps/generic/safe-fatal.h: New file.
31396         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31397         * nptl/forward.c: Include it.
31398         (__pthread_unwind): Use __safe_fatal as default action, rather
31399         than a bogus use of INTERNAL_SYSCALL that could never work.
31401         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31402         * configure.ac (libc_cv_builtin_trap): New test.
31403         * configure: Regenerated.
31404         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31405         (ABORT_INSTRUCTION): Define using __builtin_trap.
31407         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31408         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31409         * sysdeps/nptl/nptl-signals.h: New file.
31410         * nptl/pthreadP.h: Include <nptl-signals.h>.
31412 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31414         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31415         (ONE_DIRECTION): Define.
31416         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31417         (ONE_DIRECTION): Define.
31418         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31419         (ONE_DIRECTION): Define.
31421 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31423         * sysdeps/s390/Makefile: Delete file.
31424         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31425         * sysdeps/s390/__longjmp.c: Delete file.
31426         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31427         Remove fields __flags and __reserved.
31428         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31429         and add versioning.
31430         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31431         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31432         * sysdeps/s390/rtld-setjmp.S: Likewise.
31433         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31434         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31435         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31436         * sysdeps/s390/s390-32/setjmp.S: ... here.
31437         Add versioning.
31438         (__sigsetjmp): Remove setting __flags field.
31439         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31440         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31441         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31442         * sysdeps/s390/s390-64/setjmp.S: ... here.
31443         Add versioning.
31444         (__sigsetjmp): Remove setting __flags field.
31445         * sysdeps/s390/setjmp.S: Delete file.
31446         * sysdeps/s390/sigjmp.c: Likewise.
31447         * sysdeps/s390/v1-longjmp.c: Likewise.
31448         * sysdeps/s390/v1-setjmp.h: Likewise.
31449         * sysdeps/s390/v1-sigjmp.c: Likewise.
31450         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31451         Remove v1-longjmp_chk.
31452         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31453         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31454         Include debug/longjmp_chk.c and add versioning.
31455         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31456         Include nptl/pt-longjmp.c and add versioning.
31457         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31458         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31459         Include __longjmp.c.
31460         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31461         Move to ...
31462         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31463         (__getcontext): Remove setting __flags field.
31464         Add versioning.
31465         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31466         Don't restore upper high grps.
31467         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31468         Likewise.
31469         (__swapcontext): Remove setting uc_flags field.
31470         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31471         Delete file.
31472         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31473         Include __longjmp.c.
31474         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31475         Move to ...
31476         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31477         (__getcontext): Remove setting __flags field.
31478         Add versioning.
31479         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31480         (__swapcontext): Remove setting uc_flags field.
31481         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31482         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31483         Remove fields uc_high_gprs and __reserved.
31484         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31485         New file with reverted content.
31486         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31487         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31488         Regenerated.
31489         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31490         Regenerated.
31492 2014-07-31  Andreas Schwab  <schwab@suse.de>
31494         * config.h.in (HAVE_IFUNC): Define to 0.
31495         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31496         definedness.
31498 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31501         memmove-avx-unaligned, memcpy-avx-unaligned and
31502         mempcpy-avx-unaligned.
31503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31504         Add tests for AVX memcpy functions.
31505         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31506         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31507         memcpy_chk.
31508         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31509         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31510         memmove_chk.
31511         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31512         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31513         mempcpy_chk.
31514         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31515         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31516         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31518 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31520         [BZ #17213]
31521         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31522         powerpc64le.
31524 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31526         [BZ #16839]
31527         * manual/llio.texi: Add section about open file description locks.
31528         * manual/examples/ofdlocks.c: Example of open file description
31529         lock usage.
31530         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31531         F_OFD_SETLK, and F_OFD_SETLKW.
31533 2014-07-23  Allan McRae  <allan@archlinux.org>
31535         * po/es.po: Update Spanish translation from translation project.
31537 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31539         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31541 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31543         [BZ #17078]
31544         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31545         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31546         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31548 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31550         [BZ #17088]
31551         * math/fesetenv.c (__fesetenv)
31552         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31553         * math/feupdateenv.c (__feupdateenv)
31554         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31556         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31557         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31558         (__ASSUME_SOCKETCALL): Do not define.
31560         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31561         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31562         (__ASSUME_SOCKETCALL): Do not define.
31563         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31564         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31565         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31566         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31567         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31568         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31569         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31570         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31572         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31573         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31574         (__ASSUME_SOCKETCALL): Do not define.
31575         (__ASSUME_IPC64): Define unconditionally.
31576         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31577         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31578         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31579         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31580         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31581         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31582         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31583         Likewise.
31585         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31586         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31587         (__ASSUME_SOCKETCALL): Do not define.
31588         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31589         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31590         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31591         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31592         (__ASSUME_REQUEUE_PI): Define unconditionally.
31593         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31594         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31595         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31596         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31597         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31598         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31600         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31601         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31602         (__ASSUME_SOCKETCALL): Do not define.
31603         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31604         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31605         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31606         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31607         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31608         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31610         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31611         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31612         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31613         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31614         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31615         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31616         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31617         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31618         (__ASSUME_GETCPU_SYSCALL): Likewise.
31620         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31621         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31622         cases for individual architectures.
31623         * sysdeps/gnu/configure: Regenerated.
31624         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31625         LIBC_SLIBDIR_RTLDDIR.
31626         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31627         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31628         LIBC_SLIBDIR_RTLDDIR.
31629         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31631         LIBC_SLIBDIR_RTLDDIR.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31633         Regenerated.
31634         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31635         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31636         file.
31637         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31638         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31639         file.
31640         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31641         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31642         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31643         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31645         * sysdeps/aarch64/shlib-versions: Move to ...
31646         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31647         * sysdeps/alpha/shlib-versions: Move to ...
31648         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31649         * sysdeps/arm/shlib-versions: Move to ...
31650         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31651         * sysdeps/hppa/shlib-versions: Move all contents except for
31652         libgcc_s entry to ...
31653         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31654         entry from ...
31655         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31656         * sysdeps/ia64/shlib-versions: Move to ...
31657         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31658         entry from ...
31659         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31660         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31661         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31662         * sysdeps/microblaze/shlib-versions: Move to ...
31663         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31664         * sysdeps/mips/shlib-versions: Move to ...
31665         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31666         entry from ...
31667         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31668         * sysdeps/tile/shlib-versions: Move to ...
31669         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31670         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31671         from ...
31672         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31673         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31674         entry from ...
31675         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31677 2014-07-17  Will Newton  <will.newton@linaro.org>
31679         * sysdeps/arm/bits/atomic.h
31680         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31681         (__arch_compare_and_exchange_bool_16_int): Likewise.
31682         (__arch_compare_and_exchange_bool_64_int): Likewise.
31684         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31685         into an #else block.
31687 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31689         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31690         just Linux configurations.  Test empirically that the compiler sets
31691         __ARM_EABI__, rather than using the tuple to decide.
31692         * sysdeps/arm/preconfigure: Regenerated.
31693         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31694         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31695         contents appended ...
31696         * sysdeps/arm/configure.ac: ... here.
31697         * sysdeps/arm/configure: Regenerated.
31699 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31701         * nptl/pthread_kill.c: New file.
31702         * nptl/pthread_sigmask.c: New file.
31703         * nptl/pthread_sigqueue.c: New file.
31705         * sysdeps/nptl/lowlevellock.h: New file.
31706         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31707         * sysdeps/nptl/lowlevellock-futex.h: New file.
31709         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31710         Remove dead declarations.
31712 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31714         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31715         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31716         config-cflags-avx2.
31717         * sysdeps/x86_64/configure.ac: Likewise.
31718         * sysdeps/i386/configure: Regenerated.
31719         * sysdeps/x86_64/configure: Likewise.
31720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31721         memset-avx2 only if config-cflags-avx2 is yes.
31722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31723         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31724         defined.
31725         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31726         only if HAVE_AVX2_SUPPORT is defined.
31727         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31729 2014-07-14  Alan Modra  <amodra@gmail.com>
31731         [BZ #17153]
31732         * elf/elf.h (DT_PPC64_NUM): Correct value.
31733         * NEWS: Add to fixed bug list.
31735 2014-07-13  Jim Meyering  <meyering@fb.com>
31737         [BZ 17150]
31738         regex: don't deref NULL upon heap allocation failure
31739         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31740         failure in one more place.
31741         To trigger the segfault, configure grep -with-included-regex,
31742         build it, and run these commands:
31743         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31745 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31747         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31749 2014-07-11  Richard Henderson  <rth@redhat.com>
31751         * sysdeps/aarch64/libm-test-ulps: Update.
31753 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31755         [BZ #17135]
31756         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31757         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31758         (__nptl_setxid): Initialize error member.  Call
31759         __nptl_setxid_error.
31760         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31761         * nptl/descr.h (struct xid_command): Add error member.
31762         * nptl/tst-setuid3.c: New file.
31763         * nptl/Makefile (tests): Add it.
31765 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31767         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31768         New define.
31769         (__lll_trylock): Use __lll_base_trylock.
31770         (__lll_cond_trylock): Likewise.
31772 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31774         * nptl/pthread_create.c (start_thread): Use atomic_or and
31775         lll_futex_wake directly rather than lll_robust_dead.
31776         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31777         (lll_robust_dead): Macro removed.
31778         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31779         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31780         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31781         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31782         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31783         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31784         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31785         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31786         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31787         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31788         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31789         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31790         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31791         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31792         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31794         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31795         Use atomic_compare_and_exchange_val_acq directly rather than
31796         lll_robust_trylock.
31797         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31798         (__lll_robust_trylock, lll_robust_trylock): Removed.
31799         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31800         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31801         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31802         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31803         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31804         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31805         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31806         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31807         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31808         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31809         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31810         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31811         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31812         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31814 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31816         * manual/locale.texi (Locale Names): New section documenting
31817         locale name syntax.  Adjust menu and node chaining accordingly.
31818         (Choosing Locale): Reference Locale Names, Locale Categories.
31819         Mention setting LC_ALL=C.  Reflect that name syntax is now
31820         documented.
31821         (Locale Categories): New section title.  Reference Locale Names.
31822         LC_ALL is an environment variable, but not a category.
31823         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31824         description, now in Locale Name.  Reference that section.  Locale
31825         name syntax is now documented.
31827 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31829         [BZ #17137]
31830         * locale/findlocale.c (name_present, valid_locale_name): New
31831         functions.
31832         (_nl_find_locale): Use the loc_name variable to store name
31833         candidates.  Call name_present and valid_locale_name to check and
31834         validate locale names.  Return an error if the locale is invalid.
31836 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31838         * locale/setlocale.c (setlocale): Use strdup for allocating
31839         composite name copy.
31841 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31843         Sync up with gnulib.
31844         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31845         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31846         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31847         and _GL_ARG_NONNULL.
31848         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31849         [!_LIBC]: Include code for Windows and Cygwin.
31850         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31851         Include prototype for int strerror_r.
31852         [!_LIBC] (is_open): New function.
31853         (flush_stdout): New function.
31854         (print_errno_message): Use it.
31855         (error): Likewise.
31856         (error_at_line): Likewise.
31857         (error_tail) Add function attribute macros.  Use
31858         __builtin_expect.
31860         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31862         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31864         * io/ftw.c: Include sys/param.h unconditionally.
31866         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31868         [BZ #17125]
31869         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31870         libc_freeres_ptr.
31871         (freecache): New function to free CACHE on exit.
31873         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31874         initialization.
31876 2014-07-09  David S. Miller  <davem@davemloft.net>
31878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31880         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31881         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31882         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31883         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31884         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31885         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31886         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31887         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31888         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31889         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31890         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31891         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31892         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31894 2014-07-09  Andreas Schwab  <schwab@suse.de>
31896         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31897         output.
31898         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31899         (do_test): Likewise.
31901         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31903 2014-07-09  Will Newton  <will.newton@linaro.org>
31905         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31906         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31907         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31908         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31909         * sysdeps/hppa/start.S (_start): Likewise.
31911 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31913         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31915         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31916         defined.
31918 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31920         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31921         after checking that it is non-NULL.
31923         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31925 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31927         * sysdeps/powerpc/memmove.c: Remove file.
31928         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31929         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31930         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31931         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31932         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31933         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31934         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31935         string memmove instead of removed powerpc one.
31937         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31938         [weak_alias]: Fix compiler warning due trailing data.
31939         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31940         [weak_alias]: Likewise.
31941         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31942         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31945         (__libc_ifunc_impl_list): Add memmove functions.
31947 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31949         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31950         Remove code.
31951         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31952         Likewise.
31953         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31954         Likewise.
31955         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31956         Likewise.
31957         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31958         Likewise.
31959         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31960         Likewise.
31961         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31962         Likewise.
31963         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31964         Likewise.
31965         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31966         Likewise.
31967         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31968         Likewise.
31969         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31970         Likewise.
31971         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31972         Likewise.
31973         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31974         Likewise.
31975         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31976         Likewise.
31977         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31978         Likewise.
31979         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31980         Likewise.
31981         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31982         Likewise.
31984 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31986         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31987         to avoid alignment traps in non-cacheable memory.
31988         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31991         multiarch objects.
31992         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31993         file: multiarch power7 memmove.
31994         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31995         multiarch default memmove.
31996         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31997         multiarch memove for powerpc32/power4.
31999         * string/bcopy.c: Use full path to include memmove.c.
32000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32001         multiarch objects.
32002         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32003         bcopy for powerpc64.
32004         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32005         bcopy for powerpc64.
32006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32007         and memmove implementations.
32008         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32009         optimized multiarch memmove for POWER7/powerpc64.
32010         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32011         default multiarch memmove for powerpc64.
32012         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32013         multiarch for powerpc64.
32014         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32015         for POWER7/powerpc64.
32016         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32017         memmove for POWER7/powerpc64.
32019         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32020         glibc default one.
32022         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32023         __ELF_NATIVE_CLASS equal to 64.
32025 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32027         * sysdeps/nptl/lowlevellock.h: File removed.
32029         * NEWS: NPTL is no longer an add-on!
32030         * nptl/internaltypes.h: Moved ...
32031         * sysdeps/nptl/internaltypes.h: ... here.
32032         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32033         * sysdeps/nptl/fork.c: Likewise.
32034         * sysdeps/nptl/gai_misc.h: Likewise.
32035         * sysdeps/nptl/librt-cancellation.c: Likewise.
32036         * sysdeps/nptl/jmp-unwind.c: Likewise.
32037         * sysdeps/nptl/setxid.h: Likewise.
32038         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32039         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32040         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32041         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32042         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32043         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32044         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32045         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32046         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32047         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32048         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32049         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32050         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32051         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32052         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32053         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32054         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32055         * nptl/Makeconfig: Moved ...
32056         * sysdeps/nptl/Makeconfig: ... here.
32057         * nptl/configure: File removed.
32058         * nptl/ANNOUNCE: File removed.
32059         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32060         * sysdeps/unix/sysv/linux/configure: Regenerated.
32062         * nptl/Makefile (routines): Add libc_pthread_init,
32063         libc_multiple_threads, register-atfork and unregister-atfork.
32064         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32065         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32066         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32067         pthread-pi-defines.sym, structsem.sym.
32068         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32069         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32070         [$(subdir) = nptl] (tests): Add tst-setgetname.
32071         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32072         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32073         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32074         [!LIBC_SIGACTION]: Remove aliases.
32075         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32076         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32077         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32078         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32079         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32080         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32081         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32082         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32083         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32084         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32085         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32086         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32087         __libc_allocate_rtsig_private.
32088         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32089         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32090         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32091         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32092         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32093         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32094         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32095         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32096         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32097         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32098         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32099         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32100         * nptl/internaltypes.h: ... here.
32101         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32102         * sysdeps/nptl/jmp-unwind.c: ... here.
32103         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32104         * nptl/libc-lowlevellock.c: ... here.
32105         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32106         * nptl/libc_multiple_threads.c: ... here.
32107         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32108         * nptl/libc_pthread_init.c: ... here.
32109         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32110         * nptl/lowlevelbarrier.sym: ... here.
32111         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32112         * nptl/lowlevelcond.sym: ... here.
32113         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32114         * nptl/lowlevellock.c: ... here.
32115         * nptl/lowlevellock.h: Moved ...
32116         * sysdeps/nptl/lowlevellock.h: ... here.
32117         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32118         * nptl/lowlevelrobustlock.c: ... here.
32119         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32120         * nptl/lowlevelrobustlock.sym: ... here.
32121         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32122         * nptl/lowlevelrwlock.sym: ... here.
32123         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32124         * nptl/pt-fork.c: ... here.
32125         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32126         * nptl/pthread-pi-defines.sym: ... here.
32127         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32128         * nptl/pthread_attr_getaffinity.c: ... here.
32129         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32130         * nptl/pthread_attr_setaffinity.c: ... here.
32131         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32132         * nptl/pthread_mutex_cond_lock.c: ... here.
32133         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32134         Update #include.
32135         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32136         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32137         * nptl/pthread_once.c: ... here, replacing old file.
32138         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32139         * nptl/pthread_yield.c: ... here.
32140         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32141         * nptl/register-atfork.c: ... here.
32142         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32143         * nptl/sem_post.c: ... here.
32144         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32145         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32146         * nptl/sem_timedwait.c: ... here.
32147         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32148         * nptl/sem_trywait.c: ... here.
32149         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32150         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32151         * nptl/sem_wait.c: ... here.
32152         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32153         * nptl/structsem.sym: ... here.
32154         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32155         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32156         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32157         * nptl/unregister-atfork.c: ... here.
32158         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32159         * nptl/unwindbuf.sym: ... here.
32160         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32161         * sysdeps/nptl/fork.c: ... here.
32162         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32163         * sysdeps/nptl/fork.h: ... here.
32164         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32165         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32166         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32167         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32168         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32169         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32170         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32171         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32172         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32173         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32174         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32175         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32176         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32177         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32178         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32179         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32180         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32181         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32182         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32183         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32184         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32185         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32186         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32187         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32188         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32189         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32190         * sysdeps/unix/sysv/linux/raise.c: ... here.
32191         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32192         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32193         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32194         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32195         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32196         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32197         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32198         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32199         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32200         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32201         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32202         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32203         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32204         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32205         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32207 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32209         * sysdeps/generic/memcopy.h: Add comment for
32210         MEMCPY_OK_FOR_FWD_MEMMOVE.
32212 2014-07-04  Will Newton  <will.newton@linaro.org>
32214         * string/memchr.c: Merge from gnulib.
32215         [_LIBC]: Remove conditionals.
32216         (__ptr_t): Remove define.
32217         (LONG_MAX_32_BITS): Likewise.
32218         (LONG_MAX): Likewise.
32219         (MEMCHR): Use ANSI prototype and optimize algorithm.
32221         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32223 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32225         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32226         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32228         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32229         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32230         in a bare environment with no <stdlib.h> installed.
32231         * sysdeps/nptl/configure: Regenerated.
32233         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32235         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32236         AC_EGREP_CPP for kernel header checks, so they only succeed if
32237         including <linux/version.h> actually works right.
32238         * sysdeps/unix/sysv/linux/configure: Regenerated.
32240         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32241         value so it's not diagnosed as unused.
32243         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32244         thing) with "ifeq ($(subdir),rt)".
32246 2014-07-03  Richard Henderson  <rth@redhat.com>
32248         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32249         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32250         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32252         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32253         (math_force_eval): New.
32255         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32256         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32258         * sysdeps/alpha/fpu/s_round.c: Remove file.
32259         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32261         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32262         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32263         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32264         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32265         (_dl_start, print_statistics): Likewise.
32266         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32267         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32269         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32270         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32271         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32272         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32273         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32274         (HP_SMALL_TIMING_AVAIL): Define.
32275         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32276         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32277         (HP_SMALL_TIMING_AVAIL): Define.
32278         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32279         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32281         * sysdeps/aarch64/hp-timing.h: New file.
32283         * sysdeps/generic/hp-timing.h: Remove dead comment.
32284         * sysdeps/generic/hp-timing-common.h: New file.
32285         * sysdeps/alpha/hp-timing.h: Include it.
32286         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32287         * sysdeps/i386/i686/hp-timing.h: Likewise.
32288         * sysdeps/ia64/hp-timing.h: Likewise.
32289         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32290         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32291         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32292         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32293         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32294         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32295         (hp_timing_t): New.
32297         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32298         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32299         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32300         * elf/rtld.c (_dl_start_final): Likewise.
32301         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32302         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32303         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32304         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32305         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32306         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32307         (HP_TIMING_DIFF_INIT): Remove.
32308         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32309         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32310         (HP_TIMING_DIFF_INIT): Remove.
32311         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32312         * sysdeps/i386/i686/hp-timing.c: Remove file.
32313         * sysdeps/x86_64/hp-timing.c: Remove file.
32314         * sysdeps/ia64/hp-timing.c: Remove file.
32315         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32316         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32317         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32318         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32320         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32321         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32322         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32323         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32324         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32325         (HP_TIMING_ACCUM): Remove.
32326         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32327         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32328         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32330         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32331         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32332         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32333         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32334         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32335         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32336         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32337         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32339         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32341 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32343         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32345 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32347         Sync up with gettext.
32348         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32349         [_MSC_VER]: Include malloc.h
32350         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32351         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32352         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32353         TEMP_FAILURE_RETRY.  Cast return of alloca.
32354         [!_LIBC] Call gl_rwlock_init.
32355         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32357 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32359         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32360         before checking its value.
32362 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32364         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32366         * debug/memcpy_chk.c: Don't include pagecopy.h.
32367         * debug/mempcpy_chk.c: Likewise.
32368         * string/memcpy.c: Likewise.
32369         * string/memmove.c: Likewise.
32370         * sysdeps/powerpc/memmove.c: Likewise.
32371         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32372         definition of PAGE_COPY_FWD_MAYBE here...
32373         * sysdeps/generic/pagecopy.h: ... from here.
32374         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32376 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32377             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32379         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32381         optimizations.
32382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32383         (__libc_ifunc_impl_list): Likewise.
32384         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32385         multiarch strcat for PPC64.
32386         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32387         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32389 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32391         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32393 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32395         * intl/loadmsgcat.c: Remove declaration of
32396         get_sysdep_segment_value.
32397         (get_sysdep_segment_value): Use ISO C style.
32398         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32399         semicolon.  Fix typo and formatting in comment.
32400         (_nl_unload_domain): Use ISO C style.
32402         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32404 2014-07-02  Will Newton  <will.newton@linaro.org>
32406         * malloc/obstack.c: Merge from gnulib master.
32407         [HAVE_CONFIG_H]: Remove conditional code.
32408         [!_LIBC]: Include config.h.
32409         [!ELIDE_CODE]: Don't include inttypes.h, include
32410         stdint.h unconditionally.
32411         (print_and_abort): Mark as _Noreturn.
32412         (_obstack_allocated_p): Mark as __attribute_pure__.
32413         (obstack_free): Rename to __obstack_free.
32414         [!__attribute__]: Remove conditional code.
32415         * malloc/obstack.h: Merge from gnulib master.
32416         [__cplusplus]: Move conditional down.
32417         [!__attribute_pure__]: Define __attribute_pure__ here
32418         if it is not already defined.
32419         (_obstack_memory_used): Mark as __attribute_pure__.
32420         [!__obstack_free]: Define as obstack_free.
32421         [__GNUC__]: Remove check for ancient NeXT gcc.
32423 2014-07-02  Will Newton  <will.newton@linaro.org>
32424             Paul Eggert  <eggert@cs.ucla.edu>
32426         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32428 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32430         * resolv/gethnamaddr.c: Add comment warning that the file is
32431         not maintained.
32433 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32435         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32436         entries.
32438         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32439         entry for aio_cancel and aio_cancel64.
32440         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32441         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32442         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32443         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32444         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32445         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32446         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32447         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32448         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32449         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32450         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32451         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32452         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32454 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32456         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32457         * nptl/pthread_mutex_lock.c: Likewise.
32458         * nptl/pthread_mutex_timedlock.c: Likewise.
32459         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32461 2014-07-01  Richard henderson  <rth@redhat.com>
32463         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32464         (__isnan, __isnanl): Remove.
32465         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32467         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32469 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32471         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32473 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32475         * resolv/nss_dns/dns-host.c (getanswer_r)
32476         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32478 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32480         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32481         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32482         undefine.
32483         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32484         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32486 2014-07-01  Roland McGrath <roland@hack.frob.com>
32488         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32489         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32491         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32492         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32494         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32495         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32496         ... here.
32497         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32498         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32500         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32501         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32502         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32503         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32505         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32506         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32507         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32508         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32509         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32510         Moved ...
32511         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32512         ... here.
32513         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32514         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32515         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32516         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32517         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32518         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32519         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32520         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32521         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32522         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32523         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32524         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32526         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32527         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32528         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32529         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32530         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32531         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32532         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32533         ... here.
32534         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32535         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32536         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32537         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32538         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32539         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32540         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32541         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32543 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32545         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32546         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32547         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32548         Add sysdep.
32550 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32554 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32556         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32557         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32559         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32561         * sysdeps/arm/libm-test-ulps: Regenerated.
32563 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32564             Roland McGrath <roland@hack.frob.com>
32566         * test-skeleton.c (signal_handler): Kill the whole process group
32567         before killing the child individually.
32568         (main): Report any failure on `setpgid'.
32570 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32572         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32573         from _TLS_H to _ARM_NPTL_TLS_H.
32574         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32575         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32577 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32579         [BZ #16539]
32580         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32581         (__expm1l): Return argument unchanged when small but not
32582         subnormal.
32584         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32585         include macro name.
32586         (_FP_UNPACK_RAW_1_P): Likewise.
32587         (_FP_PACK_RAW_1): Likewise.
32588         (_FP_PACK_RAW_1_P): Likewise.
32589         (_FP_MUL_MEAT_1_wide): Likewise.
32590         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32591         (_FP_MUL_MEAT_1_hard): Likewise.
32592         (_FP_DIV_MEAT_1_imm): Likewise.
32593         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32594         (_FP_DIV_MEAT_1_udiv): Likewise.
32595         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32596         (_FP_UNPACK_RAW_2): Likewise.
32597         (_FP_UNPACK_RAW_2_P): Likewise.
32598         (_FP_PACK_RAW_2): Likewise.
32599         (_FP_PACK_RAW_2_P): Likewise.
32600         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32601         (_FP_MUL_MEAT_2_wide): Likewise.
32602         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32603         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32604         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32605         (_FP_MUL_MEAT_2_gmp): Likewise.
32606         (_FP_DIV_MEAT_2_udiv): Likewise.
32607         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32608         (_FP_FRAC_SRL_4): Likewise.
32609         (_FP_FRAC_SRST_4): Likewise.
32610         (_FP_FRAC_SRS_4): Likewise.
32611         (_FP_UNPACK_RAW_4): Likewise.
32612         (_FP_UNPACK_RAW_4_P): Likewise.
32613         (_FP_PACK_RAW_4): Likewise.
32614         (_FP_PACK_RAW_4_P): Likewise.
32615         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32616         (_FP_MUL_MEAT_4_wide): Likewise.
32617         (_FP_MUL_MEAT_4_gmp): Likewise.
32618         (umul_ppppmnnn): Likewise.
32619         (_FP_DIV_MEAT_4_udiv): Likewise.
32620         (__FP_FRAC_ADD_4): Likewise.
32621         (__FP_FRAC_SUB_3): Likewise.
32622         (__FP_FRAC_SUB_4): Likewise.
32623         (__FP_FRAC_DEC_3): Likewise.
32624         (__FP_FRAC_DEC_4): Likewise.
32625         (__FP_FRAC_ADDI_4): Likewise.
32626         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32627         (_FP_FRAC_SRL_8): Likewise.
32628         (_FP_FRAC_SRS_8): Likewise.
32630         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32631         include macro name.
32632         (FP_UNPACK_RAW_EP): Likewise.
32633         (FP_PACK_RAW_E): Likewise.
32634         (FP_PACK_RAW_EP): Likewise.
32635         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32636         (_FP_ISSIGNAN): Likewise.
32637         (_FP_ADD_INTERNAL): Likewise.
32638         (_FP_FMA): Likewise.
32639         (_FP_CMP): Likewise.
32640         (_FP_SQRT): Likewise.
32641         (_FP_TO_INT): Likewise.
32642         (_FP_FROM_INT): Likewise.
32643         (FP_EXTEND): Likewise.
32644         (_FP_DIV_MEAT_N_loop): Likewise.
32646 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32648         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32649         throughout.
32651 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32653         [BZ #17097]
32654         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32655         result with correct sign in case of exponents that produce
32656         overflow except for X very close to 1.
32658 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32660         mktime: merge #if/#ifdef usage from glibc
32661         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32662         as that works with both Glibc's and Gnulib's style.
32663         See thread starting at Siddhesh Poyarekar's bug report at:
32664         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32666 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32668         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32669         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32670         * sysdeps/tile/tilegx/memmove.c: Remove file.
32672 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32674         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32675         abi-name definition.
32676         * scripts/soversions.awk: Do not handle or generate ABI lines.
32677         * shlib-versions: Remove ABI entries.
32678         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32679         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32681 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32684         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32685         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32686         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32688         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32690         Moved ...
32691         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32692         ... here.
32693         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32694         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32695         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32696         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32697         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32698         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32699         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32700         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32701         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32702         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32703         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32704         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32705         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32706         Moved ...
32707         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32708         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32709         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32710         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32711         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32712         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32713         Moved ...
32714         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32715         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32716         Moved ...
32717         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32718         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32719         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32720         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32721         Moved ...
32722         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32724         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32726         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32727         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32728         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32729         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32730         Moved ...
32731         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32733         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32734         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32735         Moved ...
32736         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32738         Moved ...
32739         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32740         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32741         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32742         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32743         Moved ...
32744         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32745         ... here.
32746         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32747         Identical file removed.
32748         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32749         Moved ...
32750         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32751         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32752         Identical file removed.
32753         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32754         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32756         Moved ...
32757         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32758         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32759         Identical file removed.
32760         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32761         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32763         Identical file removed.
32764         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32765         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32766         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32767         Identical file removed.
32768         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32769         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32770         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32771         Identical file removed.
32772         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32773         Moved ...
32774         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32775         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32776         Identical file removed.
32777         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32778         Moved ...
32779         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32780         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32781         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32782         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32783         Identical file removed.
32784         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32785         Moved ...
32786         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32787         ... here.
32788         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32789         Identical file removed.
32790         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32791         Moved ...
32792         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32793         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32794         Identical file removed.
32795         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32796         Moved ...
32797         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32798         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32799         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32800         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32801         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32802         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32803         Moved ...
32804         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32805         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32806         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32808         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32809         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32810         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32811         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32812         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32814 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32816         [BZ #17092]
32817         * nscd/nscd.c (monitor_child): Return exit status of child
32818         instead of return value from wait syscall.
32820 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32822         * configure.ac (libc_commonpagesize): Remove variable.
32823         (libc_relro_required): Likewise.
32824         (libc_cv_z_relro): Remove configure test.
32825         * configure: Regenerated.
32826         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32827         variable.
32828         (libc_relro_required): Likewise.
32829         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32830         (libc_relro_required): Likewise.
32831         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32832         (libc_relro_required): Likewise.
32833         * sysdeps/arm/preconfigure: Regenerated.
32834         * sysdeps/ia64/preconfigure: Remove file.
32835         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32836         variable.
32837         (libc_relro_required): Likewise.
32839         [BZ #16561]
32840         [BZ #16562]
32841         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32842         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32843         recompute overflowing results in original rounding mode.
32844         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32845         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32846         recompute overflowing results in original rounding mode.
32847         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32848         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32849         recompute overflowing results in original rounding mode.
32850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32851         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32852         recompute overflowing results in original rounding mode.
32853         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32854         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32855         recompute overflowing results in original rounding mode.
32856         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32857         (libc_feholdsetround_ctx): New macro.
32858         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32859         * sysdeps/i386/fpu/libm-test-ulps: Update.
32860         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32862 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32864         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32865         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32866         corresponding .cpsetup call.
32868 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32870         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32871         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32872         * sysdeps/arm/Makefile [$(subdir) = csu]
32873         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32874         (static-only-routines): Add aeabi_read_tp here.
32875         (shared-only-routines): Add libc-aeabi_read_tp here.
32876         (CFLAGS-libc-start.c): Add -fexceptions here.
32877         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32878         (sysdep_routines, static-only-routines, shared-only-routines):
32879         Don't add to these here.
32880         (CFLAGS-libc-start.c): Likewise.
32882         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32883         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32884         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32885         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32886         * sysdeps/arm/Makefile [$(subdir) = rt]
32887         (librt-sysdep_routines, librt-shared-only-routines):
32888         Append rt-aeabi_unwind_cpp_pr1 here.
32889         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32890         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32891         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32892         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32893         Append nptl-aeabi_unwind_cpp_pr1 here.
32894         (tests): Filter out tst-cleanupx4 here.
32895         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32896         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32897         Don't do those here.
32899 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32901         * scripts/list-sources.sh: Do not handle ports specially.
32903 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32905         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32906         * sysdeps/arm/feupdateenv.c: Likewise.
32908         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32910 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32912         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32913         trailing whitespace removed.
32914         * scripts/config.guess: Update to version 2014-03-23.
32915         * scripts/config.sub: Update to version 2014-05-01
32916         * scripts/install-sh: Update to version 2013-12-25.23.
32917         * scripts/move-if-change: Update from gnulib.
32919 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32921         * debug/memmove_chk.c: Remove pagecopy.h include.
32923 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32925         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32926         identical to gnulib mktime.
32928 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32930         * configure.ac: Do not test for machine being rs6000.  Do not test
32931         for powerpc*-*soft.
32932         * configure: Regenerated.
32934         [BZ #11505]
32935         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32936         test.
32937         * configure: Regenerated.
32938         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32939         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32940         Remove configure test.
32941         * sysdeps/arm/configure: Regenerated.
32942         * sysdeps/nptl/configure.ac: Do not check
32943         libc_cv_asm_cfi_directives.
32944         * sysdeps/nptl/configure: Regenerated.
32945         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32946         * sysdeps/x86_64/nptl/configure: Remove generated file.
32947         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32948         unconditional.
32949         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32951 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32953         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32954         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32955         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32956         it is defined.
32958         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32959         instead of whether it is defined.
32960         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32961         * sysdeps/hppa/dl-machine.h: Likewise.
32962         * sysdeps/ia64/dl-machine.h: Likewise.
32963         * sysdeps/m68k/dl-machine.h: Likewise.
32964         * sysdeps/microblaze/dl-machine.h: Likewise.
32965         * sysdeps/mips/dl-machine.: Likewise.
32966         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32967         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32968         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32969         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32970         * sysdeps/sh/dl-machine.h: Likewise.
32971         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32972         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32973         * sysdeps/tile/dl-machine.h: Likewise.
32974         * sysdeps/x86_64/dl-machine.h: Likewise.
32976         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32977         code.
32978         (verify_persistent_db): Likewise.
32980 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32983         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32985         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32987         Moved ...
32988         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32989         ... here.
32990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32991         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32993         Identical file removed.
32994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32995         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32997         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32999         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33001         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33003         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33005         Moved ...
33006         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33008         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33010         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33012         Moved ...
33013         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33015         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33017         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33019         Identical file removed.
33020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33021         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33023         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33025         Moved ...
33026         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33027         ... here.
33028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33029         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33031         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33033         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33035         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33037         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33039         Moved ...
33040         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33042         Moved ...
33043         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33045         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33047         Moved ...
33048         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33050         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33053         folded into ...
33054         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33055         * sysdeps/unix/sysv/linux/s390/Versions
33056         (libpthread: GLIBC_2.19): New version set.
33057         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33058         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33059         (librt: GLIBC_2.3.3): New version set.
33060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33061         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33062         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33063         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33064         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33065         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33066         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33068         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33069         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33070         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33071         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33072         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33073         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33074         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33075         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33076         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33077         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33078         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33079         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33080         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33081         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33082         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33083         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33084         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33085         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33086         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33087         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33088         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33089         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33090         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33091         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33093         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33095         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33096         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33097         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33098         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33099         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33100         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33101         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33102         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33103         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33104         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33106         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33107         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33108         (__libc_vfork): Define the function under this name.
33109         [!NOT_IN_libc] (__vfork): Make this an alias.
33110         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33111         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33112         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33113         (__libc_vfork): Define the function under this name.
33114         [!NOT_IN_libc] (__vfork): Make this an alias.
33115         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33116         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33117         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33118         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33119         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33120         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33122         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33123         code that was previously under [RESET_PID].
33124         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33125         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33128         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33129         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33130         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33131         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33132         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33133         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33134         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33135         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33136         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33137         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33138         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33139         Moved ...
33140         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33141         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33142         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33143         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33144         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33145         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33146         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33147         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33148         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33149         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33150         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33151         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33152         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33153         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33154         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33155         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33156         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33157         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33158         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33159         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33160         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33161         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33162         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33163         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33164         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33165         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33166         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33167         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33168         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33170 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33172         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33173         that was previously under [RESET_PID].
33174         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33176 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33178         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33179         not undefine and redefine.
33180         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33181         [O_CLOEXEC]: Make code unconditional.
33182         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33183         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33184         <kernel-features.h>.
33185         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33186         conditional variable definition.
33187         (shm_open) [O_CLOEXEC]: Make code unconditional.
33188         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33189         code.
33191         * configure.ac (USE_REGPARMS): Don't define here.
33192         * configure: Regenerated.
33193         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33194         * sysdeps/i386/configure: Regenerated.
33196         * nptl/createthread.c: Don't include kernel-features.h.
33197         * nptl/pthread_cancel.c: Likewise.
33198         * nptl/pthread_condattr_setclock.c: Likewise.
33199         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33200         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33201         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33202         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33203         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33204         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33205         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33208         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33209         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33210         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33211         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33212         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33213         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33214         * nscd/gai.c: Likewise.
33215         * nss/nss_db/db-open.c: Likewise.
33216         * sysdeps/generic/ldsodefs.h: Likewise.
33217         * sysdeps/sh/nptl/tls.h: Likewise.
33218         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33219         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33220         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33221         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33222         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33223         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33224         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33225         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33226         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33227         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33228         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33229         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33230         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33231         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33232         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33233         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33234         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33235         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33236         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33237         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33239         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33240         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33241         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33244         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33245         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33246         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33247         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33248         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33249         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33250         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33251         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33252         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33253         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33254         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33255         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33256         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33257         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33258         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33259         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33260         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33261         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33262         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33263         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33264         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33265         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33266         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33267         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33268         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33269         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33270         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33271         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33272         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33273         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33274         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33275         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33298         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33299         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33300         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33301         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33302         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33303         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33304         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33305         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33306         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33307         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33308         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33309         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33310         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33311         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33312         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33313         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33314         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33315         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33316         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33317         * sysdeps/unix/sysv/linux/system.c: Likewise.
33318         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33319         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33320         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33321         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33322         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33323         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33324         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33326         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33327         * configure: Regenerated.
33328         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33330         * configure.ac (base_machine): Do not set specially for particular
33331         machines here.
33332         * configure: Regenerated.
33333         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33334         settings from configure.ac.
33335         * sysdeps/i386/preconfigure: New file.
33336         * sysdeps/s390/preconfigure: Likewise.
33337         * sysdeps/sh/preconfigure: Likewise.
33338         * sysdeps/sparc/preconfigure: Likewise.
33340 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33342         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33343         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33344         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33345         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33346         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33347         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33348         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33349         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33350         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33351         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33352         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33353         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33354         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33355         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33356         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33357         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33359         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33360         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33362         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33363         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33364         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33365         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33366         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33367         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33368         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33369         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33370         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33371         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33372         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33373         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33374         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33375         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33376         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33377         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33378         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33379         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33380         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33381         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33382         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33383         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33384         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33385         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33386         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33387         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33388         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33389         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33390         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33391         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33392         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33393         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33394         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33395         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33396         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33397         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33398         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33399         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33402         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33404         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33406         Moved ...
33407         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33408         ... here.
33409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33410         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33412         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33414         Moved ...
33415         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33417         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33419         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33421         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33423         Moved ...
33424         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33426         Moved ...
33427         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33429         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33431         Moved ...
33432         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33434         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33436         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33438         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33440         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33442         Moved ...
33443         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33444         ... here.
33445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33446         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33448         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33450         Moved ...
33451         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33453         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33455         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33457         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33459         Moved ...
33460         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33462         Moved ...
33463         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33465         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33467         Moved ...
33468         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33470         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33472         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33474 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33476         * timezone/checktab.awk: Update from tzcode 2014e.
33477         * timezone/private.h: Likewise.
33478         * timezone/tzfile.h: Likewise.
33479         * timezone/zdump.c: Likewise.
33480         * timezone/zic.c: Likewise.
33482         * sysdeps/unix/sysv/linux/kernel-features.h
33483         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33484         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33485         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33486         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33487         Remove conditional code.
33489 2014-06-25  Will Newton  <will.newton@linaro.org>
33491         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33492         (_dl_arm_cap_flags): Add HWCAP2 values.
33493         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33494         (_DL_HWCAP_COUNT): Increase to 37.
33495         (_DL_HWCAP_LAST): New define.
33496         (_DL_HWCAP2_LAST): New define.
33497         (_dl_procinfo): Add support for printing
33498         AT_HWCAP2 entries.
33499         (_dl_string_hwcap): Use _dl_hwcap_string.
33501 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33505 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33507         * README: Do not mention ports directory.
33509         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33510         Remove macro.
33511         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33512         <kernel-features.h>.
33513         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33514         conditional variable definition.
33515         (__futimes): Update comment.
33516         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33517         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33519         [BZ #16560]
33520         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33521         arguments close to 0.
33522         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33523         Likewise.
33524         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33525         Likewise.
33526         * math/auto-libm-test-in: Add more tests of exp10.
33527         * math/auto-libm-test-out: Regenerated.
33528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33530         * sysdeps/unix/sysv/linux/kernel-features.h
33531         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33532         * sysdeps/unix/sysv/linux/readv.c: Do not include
33533         <kernel-features.h>.
33534         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33535         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33536         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33537         unconditional.
33538         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33539         conditional code.
33540         * sysdeps/unix/sysv/linux/writev.c: Do not include
33541         <kernel-features.h>.
33542         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33543         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33544         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33545         unconditional.
33546         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33547         conditional code.
33549 2014-06-25  Will Newton  <will.newton@linaro.org>
33551         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33552         comment changes throughout the file.  Remove checks
33553         for HAVE_*_H definitions that are not required.
33554         (__gen_tempname): Call abort if an unknown kind value is
33555         passed.
33557 2014-06-25  Andreas Schwab  <schwab@suse.de>
33559         [BZ #17086]
33560         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33561         scalbln, scalblnf, scalblnl in libc.
33563 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33565         [BZ #17086]
33566         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33567         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33568         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33570 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33572         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33573         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33574         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33575         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33576         Update #include.
33577         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33578         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33579         Update #include.
33580         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33581         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33582         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33583         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33584         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33585         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33586         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33587         * sysdeps/x86/bits/semaphore.h: ... here.
33588         * sysdeps/x86/nptl/elide.h: Moved ...
33589         * sysdeps/x86/elide.h: ... here.
33590         * sysdeps/x86_64/nptl/Implies: File removed.
33591         * sysdeps/i386/nptl/Implies: File removed.
33593 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33595         [BZ #16539]
33596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33597         return the argument for normal arguments with exponent below -64.
33598         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33599         Likewise.
33600         * math/auto-libm-test-in: Add another test of expm1.
33601         * math/auto-libm-test-out: Regenerated.
33603         [BZ #16287]
33604         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33605         calling __erfcl for arguments at least 16.
33606         * math/auto-libm-test-in: Add more tests of erf.
33607         * math/auto-libm-test-out: Regenerated.
33609         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33610         individual architectures.
33611         * sysdeps/unix/sysv/linux/configure: Regenerated.
33612         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33613         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33614         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33615         (ldd_rewrite_script): Define variable.
33616         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33618         file.
33619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33620         generated file.
33621         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33622         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33623         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33624         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33625         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33626         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33627         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33628         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33630 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33632         [BZ #17084]
33633         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33634         Rename member __data.d to __data.__elision_data.
33636 2014-06-24  Wilco  <wdijkstr@arm.com>
33638         * NEWS: Add 16918 to fixed bug list.
33640 2014-06-24  Wilco  <wdijkstr@arm.com>
33642         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33644 2014-06-24  Wilco  <wdijkstr@arm.com>
33646         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33647         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33648         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33649         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33650         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33651         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33652         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33653         Use _FPU_MASK_RM.
33655 2014-06-24  Wilco  <wdijkstr@arm.com>
33657         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33659 2014-06-24  Wilco  <wdijkstr@arm.com>
33661         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33662         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33663         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33664         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33666 2014-06-24  Wilco  <wdijkstr@arm.com>
33668         [BZ #16918]
33669         * sysdeps/arm/feupdateenv.c (feupdateenv):
33670         Rewrite to reduce FPSCR accesses and fix return value.
33672 2014-06-24  Wilco  <wdijkstr@arm.com>
33674         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33675         Optimize to avoid unnecessary FPSCR writes.
33676         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33677         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33678         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33679         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33681 2014-06-24  Wilco  <wdijkstr@arm.com>
33683         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33684         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33685         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33686         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33687         Call libc_fetestexcept_vfp.
33688         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33689         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33690         __SOFTFP__ ifdef so that they can be built for softfp.
33692 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33694         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33695         argument type signed char.
33697         * Makerules (check-abi): Dump diff of symlist if the test
33698         fails.
33700 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33702         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33703         using abort.
33705         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33706         Remove unused variable ST.
33708 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33710         [BZ #16354]
33711         [BZ #17061]
33712         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33713         small arguments before calling __expm1.
33714         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33715         small arguments before calling __expm1f.
33716         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33717         small arguments before calling __expm1l.
33718         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33719         Likewise.
33720         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33721         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33722         spurious underflow for some cosh tests.
33723         * math/auto-libm-test-out: Regenerated.
33724         * sysdeps/i386/fpu/libm-test-ulps: Update.
33726         [BZ #17050]
33727         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33728         (__ieee754_y1): Set errno if return value overflows.
33729         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33730         (__ieee754_y1f): Set errno if return value overflows.
33731         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33732         (__ieee754_y1l): Set errno if return value overflows.
33733         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33734         (__ieee754_y1l): Set errno if return value overflows.
33735         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33736         * math/auto-libm-test-out: Regenerated.
33738         * math/gen-auto-libm-tests.c: Document use of
33739         ignore-zero-inf-sign.
33740         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33741         (input_flags): Add ignore-zero-inf-sign.
33742         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33743         * math/gen-libm-test.pl (generate_testfile): Handle
33744         ignore-zero-inf-sign.
33745         * math/auto-libm-test-in: Mark some cpow tests with
33746         ignore-zero-inf-sign and some with xfail-rounding.
33747         * math/auto-libm-test-out: Regenerated.
33748         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33749         * sysdeps/i386/fpu/libm-test-ulps: Update.
33750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33752         [BZ #16315]
33753         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33754         overflowing or underflowing operations take place with sign of
33755         result.
33756         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33757         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33758         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33759         (__ieee754_pow): Recompute overflowing and underflowing results in
33760         original rounding mode.
33761         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33762         (__powl_helper): Allow negative argument X and scale negated value
33763         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33764         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33765         overflowing or underflowing operations take place with sign of
33766         result.
33767         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33768         Include <math.h>.
33769         * math/auto-libm-test-in: Add more tests of pow.
33770         * math/auto-libm-test-out: Regenerated.
33771         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33772         (pow_tonearest_test_data): Remove.
33773         (pow_test_tonearest): Likewise.
33774         (pow_towardzero_test_data): Likewise.
33775         (pow_test_towardzero): Likewise.
33776         (pow_downward_test_data): Likewise.
33777         (pow_test_downward): Likewise.
33778         (pow_upward_test_data): Likewise.
33779         (pow_test_upward): Likewise.
33780         (main): Don't call removed functions.
33781         * sysdeps/i386/fpu/libm-test-ulps: Update.
33782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33784 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33787         Moved ...
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33790         Moved ...
33791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33793         Moved ...
33794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33796         Moved ...
33797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33799         File removed.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33801         File removed.
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33803         File removed.
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33805         File removed.
33806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33807         File removed.
33808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33809         File removed.
33810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33811         File removed.
33812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33813         File removed.
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33815         File removed.
33816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33817         File removed.
33818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33819         File removed.
33820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33821         File removed.
33822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33823         Moved ...
33824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33826         Moved ...
33827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33828         ... here.
33829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33830         Moved ...
33831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33833         Moved ...
33834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33836         Moved ...
33837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33839         Moved ...
33840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33842         Moved ...
33843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33845         Moved ...
33846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33848         Moved ...
33849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33852         ... here.
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33854         Moved ...
33855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33857         Moved ...
33858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33859         ... here.
33860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33861         Moved ...
33862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33863         ... here.
33864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33865         Moved ...
33866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33867         ... here.
33868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33869         Moved ...
33870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33872         Moved ...
33873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33877         Moved ...
33878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33879         ... here.
33880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33881         Moved ...
33882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33883         ... here.
33884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33885         Moved ...
33886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33888         Moved ...
33889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33891         Moved ...
33892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33894         Moved ...
33895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33897         Moved ...
33898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33899         ... here.
33900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33901         Moved ...
33902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33904         Moved ...
33905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33907         Moved ...
33908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33910         Moved ...
33911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33915         Moved ...
33916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33918         Moved ...
33919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33921         Moved ...
33922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33923         ... here.
33924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33925         Moved ...
33926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33927         ... here.
33928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33929         Moved ...
33930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33931         ... here.
33932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33933         Moved ...
33934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33936         Moved ...
33937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33939         Moved ...
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33942         Moved ...
33943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33944         ... here.
33945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33946         Moved ...
33947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33948         ... here.
33949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33950         Moved ...
33951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33952         ... here.
33953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33954         Moved ...
33955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33957         Moved ...
33958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33960 2014-06-23  Will Newton  <will.newton@linaro.org>
33961             Wilco  <wdijkstr@arm.com>
33963         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33964         implementation.  Include get-rounding-mode.h.
33965         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33966         [!libc_feholdsetround_noex_ctx]: Define
33967         libc_feholdsetround_noex_ctx.
33968         [!libc_feholdsetround_noexf_ctx]: Define
33969         libc_feholdsetround_noexf_ctx.
33970         [!libc_feholdsetround_noexl_ctx]: Define
33971         libc_feholdsetround_noexl_ctx.
33972         (libc_feholdsetround_ctx): New function.
33973         (libc_feresetround_ctx): New function.
33974         (libc_feholdsetround_noex_ctx): New function.
33975         (libc_feresetround_noex_ctx): New function.
33977 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33979         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33980         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33981         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33982         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33983         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33984         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33986         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33987         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33988         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33989         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33990         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33991         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33992         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33993         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33994         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33995         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33996         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33997         Moved ...
33998         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33999         ... here.
34000         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34001         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34002         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34003         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34004         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34005         Moved ...
34006         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34007         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34008         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34009         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34010         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34011         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34012         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34013         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34014         Moved ...
34015         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34016         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34017         Moved ...
34018         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34019         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34020         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34021         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34022         Moved ...
34023         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34024         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34025         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34026         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34027         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34028         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34029         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34030         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34031         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34032         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34033         Moved ...
34034         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34035         ... here.
34036         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34037         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34038         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34039         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34040         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34041         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34042         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34043         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34044         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34045         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34046         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34047         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34048         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34049         Moved ...
34050         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34051         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34052         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34053         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34054         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34055         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34056         Moved ...
34057         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34058         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34059         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34060         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34061         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34063         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34064         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34065         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34066         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34067         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34068         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34069         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34070         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34071         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34072         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34073         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34074         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34075         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34076         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34077         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34078         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34079         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34080         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34081         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34082         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34083         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34084         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34085         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34086         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34087         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34088         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34089         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34090         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34092 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34094         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34095         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34096         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34097         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34098         (IPV6_PMTUDISC_INTERFACE): Likewise.
34099         (IPV6_PMTUDISC_OMIT): Likewise.
34101 2014-06-23  Andreas Schwab  <schwab@suse.de>
34103         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34104         Remove unused errout label.
34106 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34108         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34109         macro: hardware supports Vector Crypto instructions.
34111 2014-06-23  Will Newton  <will.newton@linaro.org>
34113         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34114         rather than __builtin_expect.
34116         * elf/dl-lookup.c (undefined_msg): Remove variable.
34117         (_dl_lookup_symbol_x): Replace undefined_msg with string
34118         literal.
34120         * elf/dl-lookup.c (do_lookup_unique): New function.
34121         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34122         to a separate function.
34124 2014-06-23  Andreas Schwab  <schwab@suse.de>
34126         [BZ #17079]
34127         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34128         before reading the next line.
34130 2014-06-23  Will Newton  <will.newton@linaro.org>
34132         * test-skeleton.c (signal_handler): Use printf and %m
34133         rather than perror.  Use printf rather than fprintf to
34134         stderr.  Use puts rather than fputs to stderr.
34135         (main): Likewise.
34137 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34139         * nscd/nscd.c (thread_info_t): Remove typedef.
34140         (thread_info): Remove variable.
34142 2014-06-21  Allan McRae  <allan@archlinux.org>
34144         * NEWS: Mention CVE-2014-4043.
34146 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34148         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34149         * nptl/smp.h: ... here.
34151         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34153         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34154         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34155         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34156         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34158         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34159         * nptl/stack-aliasing.h: New file.
34160         * sysdeps/i386/i686/stack-aliasing.h: New file.
34161         * sysdeps/i386/i686/nptl/Makefile: File removed.
34162         * sysdeps/x86_64/stack-aliasing.h: New file.
34163         * sysdeps/x86_64/nptl/Makefile
34164         (CFLAGS-pthread_create.c): Variable removed.
34166         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34167         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34168         old file.
34169         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34170         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34171         old file.
34173 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34175         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34176         (__ASSUME_SIGFRAME_V2): Remove macro.
34177         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34178         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34179         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34180         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34181         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34182         Declare as function.  Remove conditional macro definitions.
34183         (__default_rt_sa_restorer): Likewise.
34184         (__default_sa_restorer_v1): Remove declaration.
34185         (__default_sa_restorer_v2): Likewise.
34186         (__default_rt_sa_restorer_v1): Likewise.
34187         (__default_rt_sa_restorer_v2): Likewise.
34188         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34189         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34190         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34192 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34194         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34195         (libpthread-routines): Add sysdep.
34196         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34197         * sysdeps/unix/sysv/linux/sparc/Versions
34198         (libpthread: GLIBC_2.3.3): New version set.
34199         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34200         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34201         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34202         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34203         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34204         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34205         Moved ...
34206         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34207         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34208         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34209         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34210         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34211         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34212         * sysdeps/sparc/nptl/sem_init.c: ... here.
34213         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34214         * sysdeps/sparc/nptl/sem_post.c: ... here.
34215         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34216         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34217         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34218         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34219         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34220         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34221         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34222         (libpthread-routines): Add cpu_relax.
34223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34224         File removed.
34225         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34226         (librt: GLIBC_2.3.3): New version set.
34227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34228         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34229         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34230         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34233         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34235         Moved ...
34236         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34238         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34240         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34242         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34244         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34246         Moved ...
34247         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34248         Update #include.
34249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34250         Moved ...
34251         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34252         Update #include.
34253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34254         Moved ...
34255         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34256         Update #include.
34257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34258         Moved ...
34259         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34260         Update #include.
34261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34262         Moved ...
34263         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34264         Update #include.
34265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34266         Moved ...
34267         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34268         Update #include.
34269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34270         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34276         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34278         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34280         Moved ...
34281         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34283         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34285         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34287 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34289         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34290         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34291         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34292         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34293         * nscd/nscd.c: Likewise.
34294         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34295         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34296         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34297         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34299         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34300         <kernel-features.h>.
34301         (init_mq_netlink): Remove conditional have_sock_cloexec
34302         definitions.  Remove code conditional on have_sock_cloexec < 0.
34303         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34304         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34305         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34306         <kernel-features.h>.
34307         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34308         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34310 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34313         Add tests for memset_chk and memset.
34315         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34316         with AVX2_Usable.
34318 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34320         [BZ #16046]
34321         * elf/tst-dl-iter-static.c: New file.
34322         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34324         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34325         error.
34327 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34329         * sysdeps/unix/sysv/linux/kernel-features.h
34330         (__ASSUME_F_GETOWN_EX): Remove macro.
34331         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34332         <kernel-features.h>.
34333         (miss_F_GETOWN_EX): Remove variable or macro.
34334         (do_fcntl): Do not check miss_F_GETOWN_EX.
34335         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34337         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34338         Remove macro.
34339         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34340         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34341         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34343         * sysdeps/unix/sysv/linux/kernel-features.h
34344         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34345         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34346         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34347         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34349 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34351         [BZ #17075]
34352         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34353         Fix calculation of the symbol's value.
34354         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34355         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34356         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34357         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34358         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34359         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34360         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34361         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34362         (modules-names): Add `tst-armtlsdescmod',
34363         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34364         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34365         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34366         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34367         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34368         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34369         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34370         ($(objpfx)tst-armtlsdescloc): New dependency.
34371         ($(objpfx)tst-armtlsdescextnow): Likewise.
34372         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34373         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34374         TLS scheme support.
34375         * sysdeps/arm/configure: Regenerate.
34377 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34379         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34380         (__atfct_seterrno_2): Likewise.
34381         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34382         <kernel-features.h>.
34383         (__ASSUME_ATFCTS): Do not undefine and redefine.
34384         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34385         (__have_atfcts): Remove conditional definition.
34386         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34387         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34388         unreachable if [__ASSUME_ATFCTS].
34389         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34390         not undefine and redefine.
34391         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34392         <kernel-features.h>.
34393         (faccessat) [__NR_faccessat]: Make code unconditional.
34394         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34395         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34396         <kernel-features.h>.
34397         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34398         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34399         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34400         <kernel-features.h>.
34401         (fchownat) [__NR_fchownat]: Make code unconditional.
34402         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34403         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34404         <kernel-features.h>.
34405         (futimesat) [__NR_futimesat]: Make code unconditional.
34406         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34407         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34408         <kernel-features.h>.
34409         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34410         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34411         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34412         <kernel-features.h>.
34413         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34414         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34415         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34416         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34417         <kernel-features.h>.
34418         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34419         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34420         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34421         <kernel-features.h>.
34422         (linkat) [__NR_linkat]: Make code unconditional.
34423         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34424         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34425         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34426         <kernel-features.h>.
34427         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34428         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34429         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34430         <kernel-features.h>.
34431         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34432         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34433         * sysdeps/unix/sysv/linux/openat.c: Do not include
34434         <kernel-features.h>.
34435         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34436         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34437         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34438         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34439         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34440         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34441         <kernel-features.h>.
34442         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34443         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34444         result of INLINE_SYSCALL directly, not via int variable.
34445         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34446         <kernel-features.h>.
34447         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34448         (renameat) [__NR_renameat]: Make code unconditional.
34449         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34450         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34451         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34452         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34453         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34454         (__ASSUME_ATFCTS): Do not undefine and redefine.
34455         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34456         <kernel-features.h>.
34457         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34458         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34459         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34460         <kernel-features.h>.
34461         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34462         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34463         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34464         (__ASSUME_ATFCTS): Do not undefine and redefine.
34465         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34466         <kernel-features.h>.
34467         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34468         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34469         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34470         <kernel-features.h>.
34471         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34472         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34474 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34476         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34478 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34480         [BZ #17069]
34481         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34482         constructed tree before returning error.
34483         * posix/bug-regexp36.c: Expand test case.
34485 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34487         [BZ #6803]
34488         * math/libm-test.inc (scalbln_test_date):
34489         Add errno expectations.
34490         * math/w_scalblnf.c: New File.
34491         Add wrapper which checks for setting errno to ERANGE.
34492         Add weak_alias for corresponding scalbln function.
34493         * math/w_scalbln.c: Likewise.
34494         * math/w_scalblnl.c: Likewise.
34495         * math/Makefile (libm-calls): Add w_scalbln.
34496         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34497         Remove weak_alias for corresponding scalbln function.
34498         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34499         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34500         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34501         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34502         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34503         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34504         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34505         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34506         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34507         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34508         Remove long_double_symbol for scalblnl function in libm, libc.
34509         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34510         Add wrapper which checks for setting errno to ERANGE.
34511         Add long_double_symbol for scalblnl function in libm, libc.
34512         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34513         Remove long_double_symbol for scalblnl in libm.
34514         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34515         Add wrapper which checks for setting errno to ERANGE.
34516         Add long_double_symbol for scalblnl function in libm.
34517         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34518         Do not use wrapper because of own implementation.
34520 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34522         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34523         3 bytes for __pad1 for x32.
34524         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34526 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34527             H.J. Lu  <hongjiu.lu@intel.com>
34529         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34530         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34531         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34532         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34533         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34535 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34537         [BZ #17069]
34538         * posix/regcomp.c (parse_expression): Deallocate partially
34539         constructed tree before returning error.
34540         * posix/Makefile.c (tests): Add bug-regex36.
34541         (generated): Add bug-regex36.mtrace.
34542         (tests-special): Add $(objpfx)bug-regex36-mem.out
34543         (bug-regex36-ENV): New variable.
34544         ($(objpfx)bug-regex36-mem.out): New rule.
34545         * posix/bug-regex36.c: New file.
34547 2014-06-19  Will Newton  <will.newton@linaro.org>
34549         * malloc/malloc.c (systrim): If extra is zero then return
34550         early.
34552 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34554         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34556 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34558         * sysdeps/aarch64/strchr.S: New file.
34560 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34562         [BZ #17022]
34563         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34564         from arguments -2 or below.
34565         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34566         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34568 2014-06-18  Andreas Schwab  <schwab@suse.de>
34570         [BZ #17062]
34571         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34572         of a bracket expr not to run off the end of the string.
34573         * posix/Makefile (tests): Add tst-fnmatch3.
34574         * posix/tst-fnmatch3.c: New file.
34576 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34578         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34579         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34580         [$(cross-compiling) = no]: Likewise.
34581         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34582         [$(cross-compiling) = no]: Likewise.
34584 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34586         [BZ #17031]
34587         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34588         double, adjusted for any remainder from the high double.
34589         * math/libm-test.inc (nearbyint): Add tests.
34590         (rint): Likewise.
34592 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34594         * nptl/sysdeps/powerpc/Makefile: Moved ...
34595         * sysdeps/powerpc/nptl/Makefile: ... here.
34596         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34597         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34598         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34599         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34600         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34601         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34602         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34603         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34604         * nptl/sysdeps/powerpc/tls.h: Moved ...
34605         * sysdeps/powerpc/nptl/tls.h: ... here.
34607 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34609         [BZ #16681]
34610         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34611         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34612         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34613         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34614         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34615         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34616         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34617         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34618         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34620 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34622         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34624 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34626         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34627         defined operator.
34629         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34630         $TIMEOUTFACTOR.
34632 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34634         [BZ #17058]
34635         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34636         non-executed part of the test.
34638 2014-06-16  Andreas Schwab  <schwab@suse.de>
34640         * string/bits/string2.h (strdup, strndup): Update feature guard.
34642 2014-06-14  David S. Miller  <davem@davemloft.net>
34644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34646 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34648         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34649         that was previously under [RESET_PID].
34650         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34652         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34653         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34654         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34655         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34656         (__libc_vfork): New strong alias.
34657         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34659 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34661         * sysdeps/generic/elide.h: New file.
34663 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34665         * Makefile (installed-headers): Adjust path of pthread.h header.
34667 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34669         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34670         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34671         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34672         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34674         * nptl/sysdeps/s390/Makefile: Moved ...
34675         * sysdeps/s390/nptl/Makefile: ... here.
34676         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34677         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34678         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34679         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34680         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34681         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34682         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34683         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34684         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34685         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34686         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34687         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34688         * nptl/sysdeps/s390/tls.h: Moved ...
34689         * sysdeps/s390/nptl/tls.h: ... here.
34691         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34692         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34694 2014-06-13  David S. Miller  <davem@davemloft.net>
34696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34699         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34703         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34704         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34705         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34706         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34707         Remove RESET_PID cpp guards.
34708         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34709         Remove RESET_PID cpp guards.
34710         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34712 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34714         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34715         __sp to uintptr_t.
34717 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34720         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34721         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34722         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34723         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34724         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34725         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34727         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34728         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34729         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34730         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34731         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34732         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34733         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34734         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34735         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34736         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34737         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34738         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34740         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34741         (pthread_rwlock_rdlock): Add elision.
34742         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34743         (pthread_rwlock_wrlock): Add elision.
34744         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34745         (pthread_rwlock_trywrlock): Add elision.
34746         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34747         (pthread_rwlock_tryrdlock): Add elision.
34748         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34749         (pthread_rwlock_tryrdlock): Add elision unlock.
34750         * nptl/sysdeps/pthread/pthread.h:
34751         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34752         (PTHREAD_RWLOCK_INITIALIZER,
34753         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34754         Handle new elision field.
34755         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34756         * sysdeps/arm/nptl/bits/pthreadtypes.h
34757         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34758         * sysdeps/sh/nptl/bits/pthreadtypes.h
34759         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34760         * sysdeps/tile/nptl/bits/pthreadtypes.h
34761         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34762         * sysdeps/a/nptl/bits/pthreadtypes.h
34763         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34764         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34765         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34766         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34767         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34768         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34769         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34770         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34771         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34772         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34773         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34774         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34775         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34776         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34777         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34778         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34779         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34780         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34781         (elision_init): Set try_xbegin to zero when no RTM.
34782         * sysdeps/x86/nptl/bits/pthreadtypes.h
34783         (pthread_rwlock_t): Change __pad1 to __rwelision.
34784         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34786 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34788         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34789         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34790         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34791         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34793 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34795         [BZ #16996]
34796         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34797         that the cached result has been set before returning it.
34799 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34801         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34802         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34803         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34804         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34805         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34806         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34808         * nptl/sysdeps/sparc/Makefile: Moved ...
34809         * sysdeps/sparc/nptl/Makefile: ... here.
34810         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34811         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34812         * nptl/sysdeps/sparc/tls.h: Moved ...
34813         * sysdeps/sparc/nptl/tls.h: ... here.
34814         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34815         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34816         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34817         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34818         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34819         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34820         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34821         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34822         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34823         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34824         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34825         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34826         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34827         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34828         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34829         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34830         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34831         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34832         Update #include.
34833         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34834         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34835         Update #include.
34836         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34837         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34838         Update #include.
34839         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34840         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34841         Update #include.
34843         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34845         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34846         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34848         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34849         (struct list_links): Type removed.
34850         (struct thread_node, struct timer_node): Replace struct list_links
34851         with struct list_head.
34852         (list_unlink_ip): Likewise.
34853         * sysdeps/pthread/timer_routines.c
34854         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34855         (list_append, list_insbefore): Likewise.
34856         (list_init): Function removed.
34857         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34858         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34859         * sysdeps/pthread/Makefile: ... here, new file.
34861         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34862         * sysdeps/nptl/Implies: ... here.
34863         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34864         * nptl/sysdeps/pthread/list.h: Moved ...
34865         * include/list.h: ... here.
34866         * nptl/sysdeps/pthread/createthread.c: Moved ...
34867         * nptl/createthread.c: ... here.
34868         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34869         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34870         * nptl/pt-longjmp.c: ... here.
34871         * nptl/sysdeps/pthread/Makefile: Moved ...
34872         * sysdeps/nptl/Makefile: ... here.
34873         * nptl/sysdeps/pthread/Subdirs: Moved ...
34874         * sysdeps/nptl/Subdirs: ... here.
34875         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34876         * sysdeps/nptl/aio_misc.h: ... here.
34877         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34878         * sysdeps/nptl/bits/libc-lock.h: ... here.
34879         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34880         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34881         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34882         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34883         * nptl/sysdeps/pthread/configure: Moved ...
34884         * sysdeps/nptl/configure: ... here.
34885         * nptl/sysdeps/pthread/configure.ac: Moved ...
34886         * sysdeps/nptl/configure.ac: ... here.
34887         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34888         * sysdeps/nptl/gai_misc.h: ... here.
34889         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34890         * sysdeps/nptl/librt-cancellation.c: ... here.
34891         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34892         * sysdeps/nptl/malloc-machine.h: ... here.
34893         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34894         * sysdeps/nptl/pthread-functions.h: ... here.
34895         * nptl/sysdeps/pthread/pthread.h: Moved ...
34896         * sysdeps/nptl/pthread.h: ... here.
34897         * nptl/sysdeps/pthread/setxid.h: Moved ...
34898         * sysdeps/nptl/setxid.h: ... here.
34899         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34900         * sysdeps/nptl/sigfillset.c: ... here.
34901         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34902         * sysdeps/nptl/tcb-offsets.h: ... here.
34903         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34904         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34905         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34906         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34907         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34908         * sysdeps/pthread/allocalim.h: ... here.
34909         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34910         * sysdeps/pthread/bits/sigthread.h: ... here.
34911         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34912         * sysdeps/pthread/flockfile.c: ... here.
34913         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34914         * sysdeps/pthread/ftrylockfile.c: ... here.
34915         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34916         * sysdeps/pthread/funlockfile.c: ... here.
34917         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34918         * sysdeps/pthread/posix-timer.h: ... here.
34919         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34920         * sysdeps/pthread/timer_create.c: ... here.
34921         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34922         * sysdeps/pthread/timer_delete.c: ... here.
34923         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34924         * sysdeps/pthread/timer_getoverr.c: ... here.
34925         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34926         * sysdeps/pthread/timer_gettime.c: ... here.
34927         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34928         * sysdeps/pthread/timer_routines.c: ... here.
34929         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34930         * sysdeps/pthread/timer_settime.c: ... here.
34931         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34932         * sysdeps/pthread/tst-timer.c: ... here.
34933         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34934         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34936         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34937         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34939         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34940         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34941         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34942         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34943         Update #include target.
34944         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34945         * sysdeps/i386/i686/nptl/Makefile: ... here.
34946         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34947         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34948         Update #include target.
34949         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34950         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34951         * nptl/sysdeps/i386/Makefile: Moved ...
34952         * sysdeps/i386/nptl/Makefile: ... here.
34953         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34954         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34955         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34956         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34957         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34958         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34959         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34960         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34961         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34962         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34963         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34964         * nptl/sysdeps/i386/tls.h: Moved ...
34965         * sysdeps/i386/nptl/tls.h: ... here.
34967         * sysdeps/sh/Makefile [$(subdir) = csu]
34968         (gen-as-const-headers): Add tcb-offsets.sym.
34969         * nptl/sysdeps/sh/Makefile: File removed.
34970         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34971         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34972         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34973         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34974         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34975         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34976         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34977         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34978         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34979         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34980         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34981         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34982         * nptl/sysdeps/sh/tls.h: Moved ...
34983         * sysdeps/sh/nptl/tls.h: ... here.
34984         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34985         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34986         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34987         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34988         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34989         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34990         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34991         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34992         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34993         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34994         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34995         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34996         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34997         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34998         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34999         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35000         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35001         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35002         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35003         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35004         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35005         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35006         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35007         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35008         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35009         Moved ...
35010         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35011         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35012         Moved ...
35013         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35014         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35015         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35016         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35017         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35018         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35019         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35020         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35021         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35022         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35023         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35024         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35025         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35026         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35027         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35028         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35029         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35030         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35031         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35033 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35035         * posix/spawn_faction_addopen.c: Include string.h.
35037 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35039         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35040         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35041         * nptl/sysdeps/x86_64/Makefile: Moved ...
35042         * sysdeps/x86_64/nptl/Makefile: ... here.
35043         * nptl/sysdeps/x86_64/configure: Moved ...
35044         * sysdeps/x86_64/nptl/configure: ... here.
35045         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35046         * sysdeps/x86_64/nptl/configure.ac: ... here.
35047         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35048         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35049         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35050         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35051         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35052         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35053         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35054         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35055         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35056         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35057         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35058         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35059         * nptl/sysdeps/x86_64/tls.h: Moved ...
35060         * sysdeps/x86_64/nptl/tls.h: ... here.
35061         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35062         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35063         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35064         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35066         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35068 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35072 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35074         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35075         type.
35076         [POSIX] (off_t): Likewise.
35077         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35078         [POSIX] (S_ISBLK): Require macro.
35079         [POSIX] (S_ISCHR): Likewise.
35080         [POSIX] (S_ISDIR): Likewise.
35081         [POSIX] (S_ISFIFO): Likewise.
35082         [POSIX] (S_ISREG): Likewise.
35083         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35084         optional-macro.
35085         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35086         type.
35087         [POSIX] (time_t): Likewise.
35088         [POSIX] (timer_t): Likewise.
35090 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35092         [BZ #17048]
35093         * posix/spawn_int.h (struct __spawn_action): Make the path string
35094         non-const to support deallocation.
35095         * posix/spawn_faction_addopen.c
35096         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35097         * posix/spawn_faction_destroy.c
35098         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35099         path in all spawn_do_open actions.
35100         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35101         posix_spawn_file_actions_addopen.
35103 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35105         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35106         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35107         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35108         conditional code always true.
35109         (__libc_vfork): New alias.
35111 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35113         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35114         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35116         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35118         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35119         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35121         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35122         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35124         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35125         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35127 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35129         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35130         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35131         multiarch strcmp for PPC64.
35132         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35133         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35135         multiarch optimizations.
35136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35137         (__libc_ifunc_impl_list): Likewise.
35139 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35141         * benchtests/scripts/validate_benchout.py: New script.
35142         * benchtests/Makefile (bench-func): Call it.
35143         * benchtests/scripts/benchout.schema.json: New file.
35145 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35147         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35148         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35149         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35150         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35151         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35152         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35153         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35154         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35155         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35156         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35157         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35158         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35159         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35160         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35161         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35162         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35164         Moved ...
35165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35166         ... here.
35167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35168         Moved ...
35169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35171         Moved ...
35172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35173         ... here.
35174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35175         Moved ...
35176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35177         ... here.
35178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35179         Moved ...
35180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35182         Moved ...
35183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35184         ... here.
35185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35186         Moved ...
35187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35188         ... here.
35189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35190         Moved ...
35191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35193         Moved ...
35194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35195         ... here.
35196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35197         Moved ...
35198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35199         ... here.
35200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35201         Moved ...
35202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35203         ... here.
35204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35205         Moved ...
35206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35208         Moved ...
35209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35210         ... here.
35211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35212         Moved ...
35213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35214         ... here.
35215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35216         Moved ...
35217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35218         ... here.
35219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35220         Moved ...
35221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35223         Moved ...
35224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35225         ... here.
35226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35227         Moved ...
35228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35229         ... here.
35230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35231         Moved ...
35232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35234         Moved ...
35235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35236         ... here.
35237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35238         Moved ...
35239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35241         Moved ...
35242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35244         Moved ...
35245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35246         ... here.
35247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35248         Moved ...
35249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35250         ... here.
35251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35252         Moved ...
35253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35254         ... here.
35255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35256         Moved ...
35257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35259         Moved ...
35260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35261         ... here.
35262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35263         Moved ...
35264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35265         ... here.
35266         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35267         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35268         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35269         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35270         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35271         Moved ...
35272         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35273         ... here.
35274         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35275         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35276         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35277         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35278         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35279         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35280         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35281         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35282         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35283         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35284         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35285         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35286         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35287         Moved ...
35288         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35289         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35290         Moved ...
35291         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35292         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35293         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35294         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35295         Moved ...
35296         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35297         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35298         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35299         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35300         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35301         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35302         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35304 2014-06-10  Wilco  <wdijkstr@arm.com>
35306         * math/test-fenv-return.c: New file.
35307         * math/Makefile: Add new test test-fenv-return.
35309 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35311         [BZ #17042]
35312         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35313         when x - 1 is zero.
35314         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35315         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35316         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35317         0.0L for an argument of 1.0L.
35318         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35319         Likewise.
35320         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35321         value when x - 1 is zero.
35322         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35323         * sysdeps/i386/fpu/libm-test-ulps: Update.
35324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35326 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35328         [BZ #15119]
35329         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35331 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35333         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35334         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35336 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35338         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35339         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35341         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35342         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35344         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35345         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35347         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35348         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35350         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35351         if not already defined.
35352         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35353         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35354         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35355         (TLS_INIT_TP): Use it.
35356         (TLS_DEFINE_INIT_TP): New macro.
35357         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35359 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35361         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35362         constant.
35363         [POSIX] (IXANY): Likewise.
35364         [POSIX] (OLCUC): Likewise.
35365         [POSIX || POSIX2008] (CBAUD): Do not allow.
35366         [POSIX || POSIX2008] (DEFECHO): Likewise.
35367         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35368         [POSIX || POSIX2008] (ECHOKE): Likewise.
35369         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35370         [POSIX || POSIX2008] (EXTA): Likewise.
35371         [POSIX || POSIX2008] (EXTB): Likewise.
35372         [POSIX || POSIX2008] (FLUSHO): Likewise.
35373         [POSIX || POSIX2008] (LOBLK): Likewise.
35374         [POSIX || POSIX2008] (PENDIN): Likewise.
35375         [POSIX || POSIX2008] (SWTCH): Likewise.
35376         [POSIX || POSIX2008] (VDISCARD): Likewise.
35377         [POSIX || POSIX2008] (VDSUSP): Likewise.
35378         [POSIX || POSIX2008] (VLNEXT): Likewise.
35379         [POSIX || POSIX2008] (VREPRINT): Likewise.
35380         [POSIX || POSIX2008] (VSTATUS): Likewise.
35381         [POSIX || POSIX2008] (VWERASE): Likewise.
35382         (B*): Change to B[0123456789]*.
35383         * conform/data/time.h-data [POSIX || UNIX98]
35384         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35385         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35386         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35387         [POSIX] (tm_*): Do not allow.
35389 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35391         * Makefile (install): Don't set LANGUAGE.
35392         * Makefile.in (install): Likewise.
35393         * assert/Makefile (test-assert-ENV): Remove variable.
35394         (test-assert-perr-ENV): Likewise.
35395         * elf/Makefile (neededtest4-ENV): Likewise.
35396         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35397         [$(cross-compiling) = no]: Don't set LANGUAGE.
35398         * io/ftwtest-sh (LANG): Remove variable.
35399         * libio/Makefile (tst-widetext-ENV): Likewise.
35400         * manual/install.texi (Running make install): Don't refer to
35401         environment settings for make install.
35402         * INSTALL: Regenerated.
35403         * nptl/tst-tls6.sh: Don't set LANG.
35404         * posix/globtest.sh (LANG): Remove variable.
35405         * string/Makefile (tester-ENV): Likewise.
35406         (inl-tester-ENV): Likewise.
35407         (noinl-tester-ENV): Likewise.
35408         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35409         [$(cross-compiling) = no]: Don't set LANGUAGE.
35410         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35411         without explicit environment settings.
35413 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35415         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35416         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35417         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35418         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35420 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35422         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35423         other files in the crypt directory.
35424         * crypt/crypt.c: Remove duplicate includes.
35425         * crypt/crypt-entry.c: Likewise.
35426         * crypt/crypt_util.c: Likewise.
35428 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35430         * Makeconfig (run-program-env): New variable.
35431         (run-program-prefix-before-env): Likewise.
35432         (run-program-prefix-after-env): Likewise.
35433         (run-program-prefix): Define in terms of new variables.
35434         (built-program-cmd-before-env): New variable.
35435         (built-program-cmd-after-env): Likewise.
35436         (built-program-cmd): Define in terms of new variables.
35437         (test-program-prefix-before-env): New variable.
35438         (test-program-prefix-after-env): Likewise.
35439         (test-program-prefix): Define in terms of new variables.
35440         (test-program-cmd-before-env): New variable.
35441         (test-program-cmd-after-env): Likewise.
35442         (test-program-cmd): Define in terms of new variables.
35443         * Rules (make-test-out): Use $(run-program-env).
35444         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35445         (help): Do not mention environment variables.  Mention
35446         --timeoutfactor option.
35447         (timeoutfactor): New variable.
35448         (blacklist_exports): Remove function.
35449         (exports): Remove variable.
35450         (command): Do not include ${exports}.
35451         * manual/install.texi (Configuring and compiling): Do not mention
35452         test wrappers preserving environment variables.  Mention that last
35453         assignment to a variable must take precedence.
35454         * INSTALL: Regenerated.
35455         * benchtests/Makefile (run-bench): Use $(run-program-env).
35456         * catgets/Makefile ($(objpfx)test1.cat): Use
35457         $(built-program-cmd-before-env), $(run-program-env) and
35458         $(built-program-cmd-after-env).
35459         ($(objpfx)test2.cat): Do not specify environment variables
35460         explicitly.
35461         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35462         $(run-program-env) and $(built-program-cmd-after-env).
35463         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35464         $(run-program-env) and $(test-program-cmd-after-env).
35465         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35466         explicitly.
35467         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35468         run_program_env and test_program_cmd_after_env arguments.
35469         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35470         * elf/tst-pathopt.sh: Use run_program_env argument.
35471         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35472         $(test-wrapper-env) and $(run-program-env).
35473         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35474         run_program_env arguments.
35475         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35476         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35477         $(test-program-prefix-before-env), $(run-program-env) and
35478         $(test-program-prefix-after-env).
35479         ($(objpfx)tst-gettext2.out): Likewise.
35480         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35481         run_program_env and test_program_prefix_after_env arguments.
35482         * intl/tst-gettext2.sh: Likewise.
35483         * intl/tst-gettext4.sh: Do not set environment variables
35484         explicitly.
35485         * intl/tst-gettext6.sh: Likewise.
35486         * intl/tst-translit.sh: Likewise.
35487         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35488         $(test-program-prefix-before-env), $(run-program-env) and
35489         $(test-program-prefix-after-env).
35490         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35491         run_program_env and test_program_prefix_after_env arguments.
35492         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35493         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35494         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35495         explicitly with each use of ${test_wrapper_env}.
35496         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35497         $(test-program-prefix-before-env), $(run-program-env) and
35498         $(test-program-prefix-after-env).
35499         * posix/tst-getconf.sh: Do not set environment variables
35500         explicitly.
35501         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35502         run_program_env and test_program_prefix_after_env arguments.
35503         * stdio-common/tst-printf.sh: Do not set environment variables
35504         explicitly.
35505         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35506         $(test-program-prefix-before-env), $(run-program-env) and
35507         $(test-program-prefix-after-env).
35508         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35509         run_program_env and test_program_prefix_after_env arguments.
35510         Split $test calls into $test_pre and $test.
35511         * timezone/Makefile (build-testdata): Use
35512         $(built-program-cmd-before-env), $(run-program-env) and
35513         $(built-program-cmd-after-env).
35515 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35517         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35518         strlen for non SHARED builds.
35520 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35522         * nptl/allocatestack.c (check_list): Inlined function...
35523         (__reclaim_stacks): ... here.
35525 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35527         [BZ #15698]
35528         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35529         memory overrun.
35531 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35533         * Rules (make-test-out): Include
35534         LOCPATH=$(common-objpfx)localedata in default environment.
35535         * debug/Makefile (tst-chk1-ENV): Remove variable.
35536         (tst-chk2-ENV): Likewise.
35537         (tst-chk3-ENV): Likewise.
35538         (tst-chk4-ENV): Likewise.
35539         (tst-chk5-ENV): Likewise.
35540         (tst-chk6-ENV): Likewise.
35541         (tst-lfschk1-ENV): Likewise.
35542         (tst-lfschk2-ENV): Likewise.
35543         (tst-lfschk3-ENV): Likewise.
35544         (tst-lfschk4-ENV): Likewise.
35545         (tst-lfschk5-ENV): Likewise.
35546         (tst-lfschk6-ENV): Likewise.
35547         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35548         (tst-iconv7-ENV): Likewise.
35549         * intl/Makefile (LOCPATH-ENV): Likewise.
35550         (tst-codeset-ENV): Likewise.
35551         (tst-gettext3-ENV): Likewise.
35552         (tst-gettext5-ENV): Likewise.
35553         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35554         (tst-fopenloc-ENV): Likewise.
35555         (tst-fgetws-ENV): Remove variable.
35556         (tst-ungetwc1-ENV): Likewise.
35557         (tst-ungetwc2-ENV): Likewise.
35558         (bug-ungetwc2-ENV): Likewise.
35559         (tst-swscanf-ENV): Likewise.
35560         (bug-ftell-ENV): Likewise.
35561         (tst-fgetwc-ENV): Likewise.
35562         (tst-fseek-ENV): Likewise.
35563         (tst-ftell-partial-wide-ENV): Likewise.
35564         (tst-ftell-active-handler-ENV): Likewise.
35565         (tst-ftell-append-ENV): Likewise.
35566         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35567         (tst-regexloc-ENV): Likewise.
35568         (bug-regex1-ENV): Likewise.
35569         (tst-regex-ENV): Likewise.
35570         (tst-regex2-ENV): Likewise.
35571         (bug-regex5-ENV): Likewise.
35572         (bug-regex6-ENV): Likewise.
35573         (bug-regex17-ENV): Likewise.
35574         (bug-regex18-ENV): Likewise.
35575         (bug-regex19-ENV): Likewise.
35576         (bug-regex20-ENV): Likewise.
35577         (bug-regex22-ENV): Likewise.
35578         (bug-regex23-ENV): Likewise.
35579         (bug-regex25-ENV): Likewise.
35580         (bug-regex26-ENV): Likewise.
35581         (bug-regex30-ENV): Likewise.
35582         (bug-regex32-ENV): Likewise.
35583         (bug-regex33-ENV): Likewise.
35584         (bug-regex34-ENV): Likewise.
35585         (bug-regex35-ENV): Likewise.
35586         (tst-rxspencer-ENV): Likewise.
35587         (tst-rxspencer-no-utf8-ENV): Likewise.
35588         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35589         (tst-sscanf-ENV): Likewise.
35590         (tst-swprintf-ENV): Likewise.
35591         (tst-swscanf-ENV): Likewise.
35592         (test-vfprintf-ENV): Likewise.
35593         (scanf13-ENV): Likewise.
35594         (bug14-ENV): Likewise.
35595         (tst-grouping-ENV): Likewise.
35596         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35597         (tst-strtod3-ENV): Likewise.
35598         (tst-strtod4-ENV): Likewise.
35599         (tst-strtod5-ENV): Likewise.
35600         (testmb2-ENV): Likewise./
35601         * string/Makefile (tst-strxfrm-ENV): Likewise.
35602         (tst-strxfrm2-ENV): Likewise.
35603         (bug-strcoll1-ENV): Likewise.
35604         (test-strcasecmp-ENV): Likewise.
35605         (test-strncasecmp-ENV): Likewise.
35606         * time/Makefile (tst-strptime-ENV): Likewise.
35607         (tst-ftime_l-ENV): Likewise.
35608         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35609         (tst-mbrtowc-ENV): Likewise.
35610         (tst-wcrtomb-ENV): Likewise.
35611         (tst-mbrtowc2-ENV): Likewise.
35612         (tst-c16c32-1-ENV): Likewise.
35613         (tst-mbsnrtowcs-ENV): Likewise.
35615 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35617         * manual/resource.texi (How to get information about the memory
35618         subsystem?): Fix typo.
35619         Reported by Peon de la Parra Ivan <peon@keba.com>
35621 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35623         [BZ #16882]
35624         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35625         (pthread_spin_lock): Branch out of spin loop to proper location.
35626         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35627         (pthread_spin_lock): Likewise.
35629         * nptl/tst-spin4.c: New test.
35630         * nptl/Makefile (tests): Add tst-spin4.
35632 2014-06-03  Andreas Schwab  <schwab@suse.de>
35634         [BZ #15946]
35635         * resolv/res_send.c (send_dg): Reload file descriptor after
35636         calling reopen.
35638 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35640         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35642 2014-06-03  Richard Henderson  <rth@redhat.com>
35644         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35645         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35646         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35647         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35648         in the SAVE_PID block.
35649         (__libc_vfork): New alias.
35650         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35652         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35653         child in registers, not on the stack.  Remove RESET_PID conditionals.
35654         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35656 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35658         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35660 2014-06-03  Wilco  <wdijkstr@arm.com>
35662         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35663         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35664         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35665         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35666         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35667         Likewise.
35669 2014-06-03  Wilco  <wdijkstr@arm.com>
35671         * sysdeps/aarch64/fpu/math_private.h
35672         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35673         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35674         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35675         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35676         Fix declarations.
35678 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35680         * crypt/crypt-private.h: Include ufc-crypt.h.
35681         (__b64_from_24bit): Declare extern.
35682         * crypt/crypt_util.c(__b64_from_24bit): New function.
35683         (b64t): New static const variable.
35684         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35685         (b64t): Remove variable.
35686         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35687         * crypt/sha256-crypt.c: Include crypt-private.h.
35688         (b64t): Remove variable.
35689         (__sha256_crypt_r): Remove b64_from_24bit and replace
35690         with __b64_from_24bit.
35691         * crypt/sha512-crypt.c: Likewise.
35693 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35695         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35696         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35697         Label the code __libc_vfork rather than __vfork.
35698         [!NOT_IN_libc] (vfork): Define as weak alias.
35699         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35700         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35701         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35703 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35705         * malloc/malloc.c (malloc_info): Fix format specifier for
35706         n_mmaps.
35708 2014-06-02  Wilco  <wdijkstr@arm.com>
35710         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35711         FPCR write.
35713 2014-06-02  Wilco  <wdijkstr@arm.com>
35715         [BZ #17009]
35716         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35717         Rewrite to reduce FPCR/FPSR accesses.
35719 2014-06-01  David S. Miller  <davem@davemloft.net>
35721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35723 2014-05-31  David S. Miller  <davem@davemloft.net>
35725         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35726         to occur in round to nearest mode when |x| >= 2.0
35728 2014-05-30  Richard Henderson  <rth@twiddle.net>
35730         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35731         (PSEUDO_RET_NOERRNO): Remove.
35732         (ret): Don't redefine.
35733         (ret_NOERRNO): Define in terms of ret.
35734         (ret_ERRVAL): Likewise.
35736         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35737         use of PSEUDO_RET; perform the error check directly.
35739 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35741         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35742         with __int128_t.
35744 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35746         * malloc/malloc (malloc_info): Fix formatting.
35748 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35749             Roland McGrath  <roland@hack.frob.com>
35751         * malloc/malloc (malloc_info): Also print mmapped statistics.
35753 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35755         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35756         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35758 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35760         * malloc/malloc.c (malloc_info): Inline mi_arena.
35762 2014-05-29  Richard Henderson  <rth@twiddle.net>
35764         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35765         Remove comma before expanding ASM_ARGS_##nr.
35766         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35767         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35768         of ASM_ARGS_##nr.
35769         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35770         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35771         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35772         (ASM_ARGS_1): Add leading comma.
35774         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35775         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35776         to __errno_location.
35777         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35778         Remove the expected plt for __errno_location.
35780         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35781         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35782         call to __read_tp.
35784         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35785         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35786         it and break it down.
35787         (DOCARGS_0, DOCARGS_1): Do nothing.
35788         (DOCARGS_2): Update to store into the new stack frame.
35789         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35790         (UNDOCARGS_1): Update to restore from the new stack frame.
35791         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35792         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35794         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35795         (SINGLE_THREAD_P): New parameter for result regno.
35796         (PSEUDO): Update to match; use cbz instead of beq.
35798         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35799         Use ENTRY to define the _nocancel entry point.  Share the syscall
35800         and syscall error check paths with the cancel path.
35801         (PSEUDO_END): New.
35803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35804         whitespace; tabs before and after asm mnemonics.
35806 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35808         [BZ #15132]
35809         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35810         Call fstat64 or stat64 internally, depending on arguments passed.
35811         Replace stat buffer argument with file descriptor argument.
35812         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35813         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35814         Pass fd to __internal_statvfs instead of calling fstat64.
35815         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35816         Pass fd to __internal_statvfs64 instead of calling fstat64.
35817         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35818         Pass -1 to __internal_statvfs instead of calling stat64.
35819         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35820         Pass -1 to __internal_statvfs64 instead of calling stat64.
35822 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35824         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35825         that was previously under [RESET_PID].
35826         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35828         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35829         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35831 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35833         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35835         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35836         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35838 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35840         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35842 2014-05-27  Andreas Schwab  <schwab@suse.de>
35844         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35845         TLS_INIT_TP macro.
35846         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35847         * elf/rtld.c (init_tls, dl_main): Likewise.
35848         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35849         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35850         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35851         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35852         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35853         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35854         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35855         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35856         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35857         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35858         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35859         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35860         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35861         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35862         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35863         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35864         * sysdeps/generic/tls.h: Update description.
35866 2014-05-27  Will Newton  <will.newton@linaro.org>
35868         [BZ #16990]
35869         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35870         and restore r2 rather than just restoring.
35872 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35874         [BZ #16724]
35875         * libio/tst-ftell-append.c: New test case.
35876         * libio/Makefile (tests): Add test case.
35877         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35878         append mode.
35879         * libio/wfileops.c (do_ftell_wide): Likewise.
35881 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35885         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35886         ...
35887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35889         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35890         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35891         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35892         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35893         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35894         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35896         Moved ...
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35899         Moved ...
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35901         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35902         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35903         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35904         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35905         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35906         ...
35907         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35909         Moved ...
35910         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35911         here.
35912         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35913         ...
35914         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35915         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35916         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35918         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35919         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35920         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35921         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35924         merge into ...
35925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35926         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35927         ...
35928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35929         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35930         ...
35931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35933         Moved ...
35934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35935         here.
35936         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35937         Moved ...
35938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35940         Moved ...
35941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35944         conditional [RESET_PID].
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35946         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35947         removed.
35948         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35949         removed.
35951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35952         <tcb-offsets.h>.
35953         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35954         (__libc_vfork): New strong alias.
35955         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35956         removed.
35957         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35958         Removed.
35960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35961         <tcb-offsets.h>.
35962         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35963         (__libc_vfork): New strong alias.
35964         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35965         removed.
35966         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35967         removed.
35969 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35971         * malloc/malloc.c (mi_arena): New function.
35972         (malloc_info): Remove nested function mi_arena. Call non-nosted
35973         function mi_arena.
35975 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35977         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35978         by insrwi.
35979         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35980         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35981         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35982         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35983         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35984         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35985         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35987 2014-05-26  Andreas Schwab  <schwab@suse.de>
35989         [BZ #16984]
35990         * locale/programs/repertoire.c (repertoire_read): Add slash
35991         between I18NPATH element and file name.
35992         * locale/programs/locfile.c (locfile_read): Likewise.
35994 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35996         * nptl/pthread_mutexattr_settype.c
35997         (__pthread_mutexattr_settype):
35998         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36000 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36002         * nptl/tst-mutex5 (do_test):
36003         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36005 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36007         * benchtests/README: Document 'init' directive.
36008         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36009         BENCH_INIT.
36010         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36011         (parse_file): Recognize 'init' directive.
36013 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36015         [BZ #16796]
36016         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36017         alignment of struct pthread.
36019 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36021         [BZ #16878]
36022         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36023         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36024         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36025         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36027 2014-05-25  Richard Henderson  <rth@twiddle.net>
36029         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36030         (SINGLE_THREAD_P_PIC): Remove.
36031         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36032         (SINGLE_THREAD_P_PIC): Remove.
36034         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36035         branch to syscall error ...
36036         (PSEUDO): ... here.
36037         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36038         from __local_syscall_error to .Lsyscall_error.
36039         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36040         (SYSCALL_ERROR): Update label name.
36042         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36043         Do not use DOARGS/UNDOARGS.
36044         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36045         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36046         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36047         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36048         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36050         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36051         block comment.
36053         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36054         define if !NOT_IN_libc.
36055         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36056         define with non-default symbol versions.
36058 2014-05-23  Richard Henderson  <rth@twiddle.net>
36060         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36061         (vfork, __vfork): Define via compat_symbol.
36063         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36064         [!HAVE_IFUNC] (vfork_compat): Remove.
36065         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36067 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36069         [BZ #16978]
36070         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36071         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36072         variable.
36074 2014-05-23  Richard Henderson  <rth@twiddle.net>
36076         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36077         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36078         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36079         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36081         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36082         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36083         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36084         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36085         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36086         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36087         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36088         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36089         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36090         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36091         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36092         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36093         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36094         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36095         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36096         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36097         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36098         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36099         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36100         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36101         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36102         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36103         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36104         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36105         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36106         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36107         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36108         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36109         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36110         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36111         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36112         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36113         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36114         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36115         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36116         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36117         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36118         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36119         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36120         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36121         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36122         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36123         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36124         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36125         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36126         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36127         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36128         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36129         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36130         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36131         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36132         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36133         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36134         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36135         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36136         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36138         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36139         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36140         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36141         before exiting on error.
36142         (__libc_vfork): New strong alias.
36143         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36144         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36146         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36147         that was previously under [RESET_PID].
36148         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36150         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36152 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36154         [BZ #16977]
36155         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36156         value when x - 1 is zero.
36157         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36158         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36159         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36160         0.0L for an argument of 1.0L.
36161         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36162         Likewise.
36163         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36164         value when x - 1 is zero.
36165         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36166         * sysdeps/i386/fpu/libm-test-ulps: Update.
36167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36169 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36171         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36172         alphasort and versionsort.
36174 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36176         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36177         macro.
36178         [copysignf]: Likewise.
36180 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36182         * crypt/md5-crypt.c: Fix formatting.
36184 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36186         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36187         (b64_from_24bit): New function.
36189 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36191         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36192         libc_hidden_builtin_def to ifunc.
36193         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36194         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36196 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36198         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36199         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36201 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36203         * nscd/Depend (linuxthreads): Remove.
36204         (nptl): Add.
36205         * resolv/Depend (linuxthreads): Remove.
36206         * rt/Depend (linuxthreads): Remove.
36208         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36209         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36210         $(common-objpfx)elf/.
36211         (link-libc-before-gnulib): Likewise.
36212         (elfobjdir): Remove variable.
36213         * Makefile (install): Use $(elf-objpfx) instead of
36214         $(common-objpfx)elf/.
36215         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36216         $(elfobjdir)/.
36217         (link-libc-deps): Likewise.
36218         ($(common-objpfx)libc.so): Likewise.
36219         ($(common-objpfx)linkobj/libc.so): Likewise.
36220         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36221         instead of $(common-objpfx)elf/.
36222         (symbolic-link-list): Likewise.
36223         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36224         [$(cross-compiling) = no]: Likewise.
36225         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36226         $(elfobjdir)/.
36227         (static-gnulib-arch): Likewise.
36228         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36229         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36230         $(common-objpfx)elf/.
36232 2014-05-21  Richard Henderson  <rth@redhat.com>
36234         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36235         (SINGLE_THREAD_P): Use the correct width load.  Fold
36236         into the ldr offset.
36238         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36239         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36241 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36243         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36244         (libgcc_s_resume): Use __attribute_used__.
36245         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36246         Likewise.
36248 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36250         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36251         optimization when used with float constants.
36253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36255 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36257         [BZ #16915]
36258         * locale/nl_langinfo_l.c: Make direct reference to every
36259         _nl_current_CATEGORY symbol.
36260         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36261         (tests-static): Add tst-langinfo-static.
36262         (tests-special): Add tst-langinfo-static.out.
36263         ($(objpfx)tst-langinfo.out): Redirect output.
36264         ($(objpfx)tst-langinfo-static.out): New.
36265         * localedata/tst-langinfo.sh: Send output to stdout.
36266         * localedata/tst-langinfo-static.c: New file.
36268         [BZ #16965]
36269         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36270         when the shift amount is modulo the limb size.
36272 2014-05-20  Richard Henderson  <rth@redhat.com>
36274         [BZ #16967]
36275         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36276         Change type of sa_flags from unsigned int to int.
36278         [BZ #16966]
36279         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36281         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36283 2014-05-20  Will Newton  <will.newton@linaro.org>
36285         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36286         Test the return value of the system call in the nocancel case.
36288 2014-05-20  Will Newton  <will.newton@linaro.org>
36289             Yvan Roux  <yvan.roux@linaro.org>
36291         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36292         #include of asm/ptrace.h.
36293         (PTRACE_GET_THREAD_AREA): Remove #undef.
36294         (PTRACE_GETHBPREGS): Likewise.
36295         (PTRACE_SETHBPREGS): Likewise.
36296         (struct user_regs_struct): New structure.
36297         (struct user_fpsimd_struct): New structure.
36298         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36299         #include of asm/ptrace.h and second #include of sys/user.h.
36300         (PTRACE_GET_THREAD_AREA): Remove #undef.
36301         (PTRACE_GETHBPREGS): Likewise.
36302         (PTRACE_SETHBPREGS): Likewise.
36303         (ELF_NGREG): Use new struct user_regs_struct.
36304         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36306 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36309         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36311 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36313         [BZ #16958]
36314         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36315         membar to avoid block loads/stores to overlap previous stores.
36317 2014-05-17  Richard Henderson  <rth@redhat.com>
36319         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36320         Create the __##syscall_name##_nocancel entry point.
36321         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36322         Remove; let the sysdep-cancel.h code create it.
36324 2014-05-17  David S. Miller  <davem@davemloft.net>
36326         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36327         Protect with __USE_GNU.
36328         (TIOCSET_TEMPT): Likewise.
36329         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36330         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36331         these are already provided in bits/ioctl-types.h
36333 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36335         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36336         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36338         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36339         Use wait4 regardless of [__NR_waitpid].
36341 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36343         PR libgcc/60166
36344         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36345         (_FP_NANSIGN_Q): Set the quiet bit.
36347 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36349         * benchtests/Makefile
36350         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36351         not $(common-objpfx)math/libm.so.
36352         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36353         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36354         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36355         $(common-objpfx)dlfcn/libdl.so.
36356         ($(objpfx)tst-audit8): Depend on $(libm), not
36357         $(common-objpfx)math/libm.so.
36358         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36359         not $(common-objpfx)dlfcn/libdl.so.
36360         * math/Makefile
36361         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36362         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36363         [$(build-shared) = yes].
36364         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36365         $(common-objpfx)nptl/libpthread.so.
36366         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36367         $(common-objpfx)math/libm.so$(libm.so-version) or
36368         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36369         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36370         $(common-objpfx)dlfcn/libdl.so.
36371         * setjmp/Makefile (link-libm): Remove variable.
36372         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36373         * stdio-common/Makefile (link-libm): Remove variable.
36374         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36375         * stdlib/Makefile (link-libm): Remove variable.
36376         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36377         ($(objpfx)tst-strtod-round): Likewise.
36378         ($(objpfx)tst-tininess): Likewise.
36379         ($(objpfx)tst-strtod-underflow): Likewise.
36380         ($(objpfx)tst-strtod6): Likewise.
36381         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36382         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36383         $(common-objpfx)dlfcn/libdl.so.
36385 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36387         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36388         BSD terminal modes definitions.
36390 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36392         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36393         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36395         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36396         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36397         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36398         Don't do #include_next.
36399         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36400         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36401         Don't do #include_next.
36402         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36403         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36404         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36405         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36407 2014-05-16  Allan McRae  <allan@archlinux.org>
36409         * po/sv.po: Update Swedish translation from translation project.
36411         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36412         in sed expression.
36414 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36416         [BZ #16917]
36417         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36418         errno if the TIOCGPTN ioctl fails with an error different than
36419         EINVAL.
36420         * login/tst-ptsname.c: New file.
36421         * login/Makefile (tests): Add tst-ptsname.
36423         [BZ #16943]
36424         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36425         and prlimit64.
36427 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36429         [BZ #16849]
36430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36431         herrno to return EAI_AGAIN.
36433 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36435         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36436         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36437         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36438         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36439         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36440         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36441         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36442         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36443         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36444         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36445         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36446         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36447         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36448         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36449         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36450         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36451         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36452         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36453         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36454         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36455         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36456         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36457         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36458         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36459         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36460         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36461         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36462         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36463         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36464         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36466         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36468         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36470         Moved ...
36471         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36473         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36475         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36477         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36479         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36481         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36483         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36485         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36487         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36489         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36491         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36493         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36495         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36497         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36499         Moved ...
36500         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36502         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36504         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36506         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36508         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36510         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36512         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36514         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36516         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36518         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36520         Moved ...
36521         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36523         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36525         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36526         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36527         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36528         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36529         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36530         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36531         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36532         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36533         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36534         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36535         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36536         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36537         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36538         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36539         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36540         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36541         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36542         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36543         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36544         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36545         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36546         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36547         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36548         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36549         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36550         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36551         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36552         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36553         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36554         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36555         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36557         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36558         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36560         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36561         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36562         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36563         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36564         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36565         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36566         Moved ...
36567         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36568         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36569         Moved ...
36570         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36571         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36572         Moved ...
36573         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36574         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36575         Moved ...
36576         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36577         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36578         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36579         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36580         Moved ...
36581         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36582         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36583         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36584         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36585         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36586         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36587         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36588         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36589         Moved ...
36590         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36591         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36592         Moved ...
36593         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36594         ... here.
36595         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36596         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36597         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36598         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36599         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36600         Moved ...
36601         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36602         ... here.
36603         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36604         Moved ...
36605         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36606         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36607         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36608         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36609         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36610         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36611         Moved ...
36612         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36613         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36614         Moved ...
36615         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36616         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36617         Moved ...
36618         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36619         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36620         Moved ...
36621         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36622         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36623         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36624         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36625         Moved ...
36626         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36627         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36628         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36629         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36630         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36631         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36632         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36633         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36634         Moved ...
36635         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36636         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36637         Moved ...
36638         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36639         ... here.
36640         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36641         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36642         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36643         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36644         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36645         Moved ...
36646         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36647         ... here.
36648         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36649         Moved ...
36650         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36651         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36652         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36653         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36654         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36655         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36656         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36657         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36658         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36659         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36660         Moved ...
36661         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36662         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36663         Moved ...
36664         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36665         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36666         Moved ...
36667         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36668         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36669         Moved ...
36670         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36671         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36672         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36673         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36674         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36675         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36676         Moved ...
36677         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36678         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36679         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36680         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36681         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36682         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36683         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36684         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36685         Moved ...
36686         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36687         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36688         Moved ...
36689         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36690         ... here.
36691         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36692         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36693         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36694         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36695         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36696         Moved ...
36697         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36698         ... here.
36699         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36700         Moved ...
36701         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36702         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36703         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36704         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36705         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36706         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36707         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36708         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36709         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36710         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36711         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36713         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36714         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36716         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36717         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36719         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36720         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36721         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36722         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36723         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36724         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36725         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36726         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36727         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36728         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36729         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36730         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36731         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36732         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36733         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36734         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36735         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36736         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36737         Moved ...
36738         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36739         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36740         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36741         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36742         Moved ...
36743         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36744         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36745         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36746         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36747         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36748         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36749         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36750         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36751         Moved ...
36752         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36753         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36754         Moved ...
36755         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36756         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36757         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36758         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36759         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36760         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36761         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36762         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36763         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36764         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36765         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36766         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36767         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36768         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36769         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36770         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36771         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36773         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36774         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36775         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36776         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36777         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36779         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36780         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36781         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36782         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36783         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36784         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36785         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36786         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36787         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36788         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36790         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36791         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36793         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36794         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36795         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36796         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36797         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36798         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36799         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36800         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36801         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36802         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36803         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36804         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36805         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36806         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36807         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36808         Update #include.
36809         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36810         Likewise.
36811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36812         Likewise.
36813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36814         Likewise.
36815         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36816         Likewise.
36817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36818         Likewise.
36819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36820         Likewise.
36821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36822         Likewise.
36823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36824         Likewise.
36825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36826         Likewise.
36827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36828         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36830         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36831         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36832         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36833         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36834         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36835         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36836         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36837         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36838         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36839         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36840         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36841         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36843         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36844         that was previously under [RESET_PID].
36845         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36846         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36847         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36849         * sysdeps/i386/nptl/Implies: New file.
36850         * sysdeps/x86_64/nptl/Implies: New file.
36851         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36852         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36853         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36854         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36856         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36857         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36858         (__libc_vfork): New strong alias.
36859         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36860         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36862         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36863         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36864         (__libc_vfork): New strong alias.
36865         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36866         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36868         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36869         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36870         (__libc_vfork): New strong alias.
36871         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36872         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36873         * nptl/pt-vfork.c: New file.
36874         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36875         (libpthread: GLIBC_2.20): New version set (empty).
36877 2014-05-14  Will Newton  <will.newton@linaro.org>
36879         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36880         rather than #if.
36882 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36884         [BZ #16564]
36885         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36886         arguments with exponent 65 or above.
36887         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36888         arguments 0x1p113L or above.
36889         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36890         to arguments 0x1p107L or above.
36891         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36892         positive arguments with exponent 65 or above.
36893         * math/auto-libm-test-in: Add more tests of log1p.
36894         * math/auto-libm-test-out: Regenerated.
36896         [BZ #16928]
36897         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36898         non-finite arguments is +0.
36899         * math/s_cacosf.c (__cacosf): Likewise.
36900         * math/s_cacosl.c (__cacosl): Likewise.
36901         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36902         * sysdeps/i386/fpu/libm-test-ulps: Update.
36903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36905         [BZ #16927]
36906         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36907         value.
36908         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36909         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36910         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36911         for explicit high bit of mantissa when testing for argument equal
36912         to 1.
36913         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36914         * sysdeps/i386/fpu/libm-test-ulps: Update.
36915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36917         [BZ #16516]
36918         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36919         (__erf): Scale by 16 instead of 8 in potentially underflowing
36920         case.  Ensure exception if result actually underflows.
36921         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36922         (__erff): Scale by 16 instead of 8 in potentially underflowing
36923         case.  Ensure exception if result actually underflows.
36924         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36925         (efx8): Remove variable.
36926         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36927         case.  Ensure exception if result actually underflows.
36928         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36929         (efx8): Remove variable.
36930         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36931         case.  Ensure exception if result actually underflows.
36932         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36933         (efx8): Remove variable.
36934         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36935         case.  Ensure exception if result actually underflows.
36936         * math/auto-libm-test-in: Add more tests of erf.
36937         * math/auto-libm-test-out: Regenerated.
36939 2014-05-14  Andreas Schwab  <schwab@suse.de>
36941         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36942         Remove code conditionalized on USE___THREAD.
36944         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36945         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36946         not definedness.
36948 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36950         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36951         Define unconditionally.
36952         (__ASSUME_O_CLOEXEC): Likewise.
36953         (__ASSUME_SOCK_CLOEXEC): Likewise.
36954         (__ASSUME_IN_NONBLOCK): Likewise.
36955         (__ASSUME_PIPE2): Likewise.
36956         (__ASSUME_EVENTFD2): Likewise.
36957         (__ASSUME_SIGNALFD4): Likewise.
36958         (__ASSUME_DUP3): Likewise.
36959         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36960         (__ASSUME_DUP3): Do not define.
36961         (__ASSUME_EVENTFD2): Likewise.
36962         (__ASSUME_IN_NONBLOCK): Likewise.
36963         (__ASSUME_O_CLOEXEC): Likewise.
36964         (__ASSUME_PIPE2): Likewise.
36965         (__ASSUME_SIGNALFD4): Likewise.
36966         (__ASSUME_SOCK_CLOEXEC): Likewise.
36967         (__ASSUME_UTIMES): Undefine.
36968         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36969         (__ASSUME_UTIMES): Do not define.
36970         (__ASSUME_O_CLOEXEC): Likewise.
36971         (__ASSUME_SOCK_CLOEXEC): Likewise.
36972         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36973         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36974         0x020621].
36975         (__ASSUME_PIPE2): Likewise.
36976         (__ASSUME_EVENTFD2): Likewise.
36977         (__ASSUME_SIGNALFD4): Likewise.
36978         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36979         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36980         Do not define.
36981         (__ASSUME_EVENTFD2): Likewise.
36982         (__ASSUME_SIGNALFD4): Likewise.
36983         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36984         (__ASSUME_32BITUIDS): Likewise.
36985         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36986         (__ASSUME_IPC64): Likewise.
36987         (__ASSUME_ST_INO_64_BIT): Likewise.
36988         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36989         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36990         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36991         (__ASSUME_UTIMES): Do not define.
36992         (__ASSUME_PSELECT): Likewise.
36993         (__ASSUME_PPOLL): Likewise.
36994         (__ASSUME_O_CLOEXEC): Likewise.
36995         (__ASSUME_SOCK_CLOEXEC): Likewise.
36996         (__ASSUME_IN_NONBLOCK): Likewise.
36997         (__ASSUME_PIPE2): Likewise.
36998         (__ASSUME_EVENTFD2): Likewise.
36999         (__ASSUME_SIGNALFD4): Likewise.
37000         (__ASSUME_DUP3): Likewise.
37001         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37002         (__ASSUME_UTIMES): Likewise.
37003         (__ASSUME_O_CLOEXEC): Likewise.
37004         (__ASSUME_SOCK_CLOEXEC): Likewise.
37005         (__ASSUME_IN_NONBLOCK): Likewise.
37006         (__ASSUME_PIPE2): Likewise.
37007         (__ASSUME_EVENTFD2): Likewise.
37008         (__ASSUME_SIGNALFD4): Likewise.
37009         (__ASSUME_DUP3): Likewise.
37010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37011         (__ASSUME_UTIMES): Likewise.
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         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37020         Likewise.
37021         (__ASSUME_UTIMES): Likewise.
37022         (__ASSUME_EVENTFD2): Likewise.
37023         (__ASSUME_SIGNALFD4): Likewise.
37024         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37025         (__ASSUME_O_CLOEXEC): Likewise.
37026         (__ASSUME_SOCK_CLOEXEC): Likewise.
37027         (__ASSUME_IN_NONBLOCK): Likewise.
37028         (__ASSUME_PIPE2): Likewise.
37029         (__ASSUME_EVENTFD2): Likewise.
37030         (__ASSUME_SIGNALFD4): Likewise.
37031         (__ASSUME_DUP3): Likewise.
37032         (__ASSUME_UTIMES): Undefine.
37034         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37035         feclearexcept.  Remove symbol versioning code.
37036         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37037         symbol versioning code.
37038         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37039         symbol versioning code.
37040         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37041         feupdateenv.  Remove symbol versioning code.
37042         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37043         fegetexceptflag.  Remove symbol versioning code.
37044         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37045         fesetexceptflag.  Remove symbol versioning code.
37046         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37047         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37048         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37049         (__posix_fadvise64_l32): Remove prototype.
37050         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37051         code.
37053 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37055         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37056         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37057         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37058         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37060 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37062         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37063         current working directory
37065 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37067         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37068         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37069         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37070         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37071         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37072         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37073         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37074         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37075         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37076         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37077         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37078         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37079         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37080         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37081         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37082         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37083         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37084         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37085         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37086         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37087         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37088         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37089         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37090         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37091         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37092         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37093         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37094         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37095         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37096         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37097         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37098         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37099         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37100         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37101         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37102         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37103         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37104         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37105         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37106         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37107         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37108         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37110         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37111         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37113         * sysdeps/unix/sysv/linux/arm/Makefile
37114         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37115         Add rt-aeabi_unwind_cpp_pr1.
37116         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37117         Add nptl-aeabi_unwind_cpp_pr1.
37118         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37119         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37120         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37121         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37122         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37123         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37125         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37126         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37127         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37128         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37130         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37131         Deconditionalize the code that was previously under [RESET_PID].
37132         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37134         * sysdeps/generic/exit-thread.h: New file.
37135         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37136         * include/unistd.h (__exit_thread): Remove declaration.
37137         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37138         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37139         * csu/libc-start.c: Include <exit-thread.h>.
37140         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37141         * nptl/pthread_create.c: Include <exit-thread.h>.
37142         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37143         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37144         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37145         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37146         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37147         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37148         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37149         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37150         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37151         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37152         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37153         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37154         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37155         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37156         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37157         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37158         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37160 2014-05-13  Andreas Schwab  <schwab@suse.de>
37162         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37164 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37166         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37167         (__ASSUME_UTIMES): Do not condition on kernel version.
37168         (__ASSUME_PSELECT): Define unconditionally.
37169         (__ASSUME_PPOLL): Likewise.
37170         (__ASSUME_ATFCTS): Likewise.
37171         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37172         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37173         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37174         (__ASSUME_UTIMENSAT): Define unconditionally.
37175         (__ASSUME_PRIVATE_FUTEX): Likewise.
37176         (__ASSUME_FALLOCATE): Likewise.
37177         (__ASSUME_O_CLOEXEC): Likewise.
37178         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37179         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37180         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37181         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37182         (__ASSUME_IN_NONBLOCK): Likewise.
37183         (__ASSUME_PIPE2): Likewise.
37184         (__ASSUME_EVENTFD2): Likewise.
37185         (__ASSUME_SIGNALFD4): Likewise.
37186         (__ASSUME_DUP3): Likewise.
37187         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37188         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37189         (__ASSUME_AT_RANDOM): Likewise.
37190         (__ASSUME_PREADV): Likewise.
37191         (__ASSUME_PWRITEV): Likewise.
37192         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37193         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37194         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37195         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37196         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37197         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37198         (__ASSUME_O_CLOEXEC): Define unconditionally.
37199         (__ASSUME_PSELECT): Do not undefine conditionally.
37200         (__ASSUME_PPOLL): Likewise.
37201         (__ASSUME_ATFCTS): Likewise.
37202         (__ASSUME_SET_ROBUST_LIST): Likewise.
37203         (__ASSUME_UTIMENSAT): Likewise.
37204         (__ASSUME_FDATASYNC): Define unconditionally.
37205         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37206         (__ASSUME_SIGFRAME_V2): Likewise.
37207         )__ASSUME_EVENTFD2): Likewise.
37208         (__ASSUME_SIGNALFD4): Likewise.
37209         (__ASSUME_PSELECT): Do not undefine conditionally.
37210         (__ASSUME_PPOLL): Likewise.
37211         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37212         (__ASSUME_PSELECT): Define unconditionally.
37213         (__ASSUME_PPOLL): Likewise.
37214         (__ASSUME_O_CLOEXEC): Likewise.
37215         (__ASSUME_SOCK_CLOEXEC): Likewise.
37216         (__ASSUME_IN_NONBLOCK): Likewise.
37217         (__ASSUME_PIPE2): Likewise.
37218         (__ASSUME_EVENTFD2): Likewise.
37219         (__ASSUME_SIGNALFD4): Likewise.
37220         (__ASSUME_DUP3): Likewise.
37221         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37222         (__ASSUME_O_CLOEXEC): Likewise.
37223         (__ASSUME_SOCK_CLOEXEC): Likewise.
37224         (__ASSUME_IN_NONBLOCK): Likewise.
37225         (__ASSUME_PIPE2): Likewise.
37226         (__ASSUME_EVENTFD2): Likewise.
37227         (__ASSUME_SIGNALFD4): Likewise.
37228         (__ASSUME_DUP3): Likewise.
37229         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37230         (__ASSUME_EVENTFD2): Likewise.
37231         (__ASSUME_SIGNALFD4): Likewise.
37232         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37234 2014-05-12  Andreas Schwab  <schwab@suse.de>
37236         [BZ #16932]
37237         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37238         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37239         than maximum RPC packet size.
37240         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37241         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37242         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37243         (_nss_nis_getservbyport_r): Likewise.
37245 2014-05-12  Will Newton  <will.newton@linaro.org>
37247         * malloc/Makefile (tests): Add tst-mallopt.
37248         * malloc/tst-mallopt.c: New file.
37250 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37252         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37253         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37255 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37257         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37258         (tst-tlsmod6.so): Likewise.
37260 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37262         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37264 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37266         [BZ #16064]
37267         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37268         and <dl-procinfo.h>.
37269         (__fegetenv): Save SSE state in envp->__eip if supported.
37270         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37271         envp->__eip if supported.
37272         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37273         and <dl-procinfo.h>.
37274         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37275         __data_offset and __data_selector in environment to 0.  Set SSE
37276         state if supported.
37277         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37278         test-fenv-sse.
37279         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37280         -mfpmath=sse.
37281         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37283 2014-05-09  Will Newton  <will.newton@linaro.org>
37285         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37286         and libc_relro_required for ARM.
37287         * sysdeps/arm/preconfigure: Regenerate.
37289 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37290             Stefan Liebler  <stli@linux.vnet.ibm.com>
37292         * config.make.in (enable-lock-elision): New Makefile variable.
37293         * configure.ac: Likewise.
37294         * configure: Regenerate.
37295         * sysdeps/s390/configure.ac:
37296         Add check for gcc transactions support.
37297         * sysdeps/s390/configure: Regenerate.
37298         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37299         Build elision files if enabled.
37300         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37301         Add lock elision support for s390.
37302         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37303         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37304         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37305         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37306         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37307         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37308         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37309         Likewise.
37310         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37311         Likewise.
37312         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37313         Likewise.
37314         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37315         Likewise.
37316         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37317         (__lll_timedlock_elision, __lll_lock_elision)
37318         (__lll_unlock_elision, __lll_trylock_elision)
37319         (lll_timedlock_elision, lll_lock_elision)
37320         (lll_unlock_elision, lll_trylock_elision): Add.
37321         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37322         (pthread_mutex_t): Add lock elision support for s390.
37324 2014-05-14  Wilco  <wdijkstr@arm.com>
37326         * sysdeps/arm/fclrexcpt.c: Cleanup.
37327         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37328         * sysdeps/arm/feenablxcpt.c: Cleanup.
37329         * sysdeps/arm/fegetenv.c: Cleanup.
37330         * sysdeps/arm/fegetexcept.c: Cleanup.
37331         * sysdeps/arm/fegetround.c: Cleanup.
37332         * sysdeps/arm/feholdexcpt.c: Cleanup.
37333         * sysdeps/arm/fesetenv.c: Cleanup.
37334         * sysdeps/arm/fesetround.c: Cleanup.
37335         * sysdeps/arm/feupdateenv.c: Cleanup.
37336         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37337         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37338         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37339         * sysdeps/arm/ftestexcept.c: Cleanup.
37340         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37341         * sysdeps/arm/setfpucw.c: Cleanup.
37343 2014-05-09  Will Newton  <will.newton@linaro.org>
37345         * sysdeps/arm/armv7/strcmp.S: New file.
37346         * NEWS: Mention addition of ARMv7 optimized strcmp.
37348 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37350         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37351         look for %.ac rather than %.in.
37353         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37354         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37355         * sysdeps/mach/hurd/configure: Regenerated.
37356         * sysdeps/unix/sysv/linux/configure: Regenerated.
37358         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37360 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37362         [BZ# 16922]
37363         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37364         (LONG_SUB): Ditto.
37365         (PTR_SUB): Ditto.
37367 2014-05-07  Andreas Schwab  <schwab@suse.de>
37369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37370         when skipping over non-matching result from nscd.
37372 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37374         [BZ #16876]
37375         * nptl/sockperf.c (client): Check socket return value.
37377         [BZ #16877]
37378         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37379         nscd security class.
37381 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37383         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37384         * sysdeps/arm/unwind.h: ... here.
37386 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37388         [BZ# 16916]
37389         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37390         Define.
37392 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37394         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37395         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37396         multiarch strncpy for PPC64.
37397         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37398         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37400         multiarch optimizations.
37401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37402         (__libc_ifunc_impl_list): Likewise.
37403         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37404         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37405         multiarch stpncpy for PPC64.
37406         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37407         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37409 2014-05-06  Andreas Schwab  <schwab@suse.de>
37411         [BZ #16912]
37412         * gmon/mcount.c (_MCOUNT_DECL): Use
37413         atomic_compare_and_exchange_bool_acq instead of
37414         catomic_compare_and_exchange_bool_acq.
37416 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37418         * elf/Makefile (others, install-bin): Remove pldd.
37419         (pldd-modules): Variable removed.
37420         ($(objpfx)pldd): Target removed.
37421         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37422         (others, install-bin): Append pldd here.
37423         ($(objpfx)pldd): New target.
37425         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37426         to 0, so the first #if test emitted later doesn't see it undefined.
37427         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37428         * sysdeps/gnu/errlist.c: Regenerated.
37430 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37432         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37433         [libc_hidden_builtin_def]: Define to empty value.
37434         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37435         [libc_hidden_builtin_def]: Likewise.
37436         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37437         [libc_hidden_builtin_def]: Likewise.
37438         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37439         [libc_hidden_builtin_def]: Likewise.
37440         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37441         __redirect_memcpy and define ifunc as default hidden symbol.
37442         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37443         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37445 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37447         * locale/iso-4217.def: Reintroduce XDR currency.
37449 2014-05-04  Allan McRae  <allan@archlinux.org>
37451         * po/eo.po: Update Esperanto translation from translation project.
37453 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37455         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37456         and FEATURE_INDEX_MAX to 1.
37457         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37459 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37461         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37462         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37463         * iconvdata/big5.c (ONE_DIRECTION): Define.
37464         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37465         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37466         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37467         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37468         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37469         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37470         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37471         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37472         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37473         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37474         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37475         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37476         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37477         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37478         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37479         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37480         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37481         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37482         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37483         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37484         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37485         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37486         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37487         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37488         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37489         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37490         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37491         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37492         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37493         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37494         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37495         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37496         * iconvdata/johab.c (ONE_DIRECTION): Define.
37497         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37498         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37499         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37500         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37501         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37502         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37503         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37504         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37505         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37506         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37508 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37510         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37511         (_IO_JUMPS_OFFSET): Define to 0.
37513         * nptl/sysdeps/pthread/bits/libc-lock.h
37514         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37515         (__libc_lock_define_initialized_recursive): Always define using
37516         initializer.  Modern compilers treat uninitialized (implicit zero) and
37517         explicit zero initializers the same (i.e. put the datum in bss).
37519 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37521         * nscd/nscd-client.h: Include <string.h>.
37523 2014-05-01  David S. Miller  <davem@davemloft.net>
37525         [BZ #16885]
37526         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37527         multiple zero bytes exist at the end of a string.
37528         Reported by Aurelien Jarno <aurelien@aurel32.net>
37530         * string/test-strcmp.c (check): Add explicit test for situations where
37531         there are multiple zero bytes after the first.
37533 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37535         [BZ #16890]
37536         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37537         when compiling wprintf.
37538         * stdio-common/tstdiomisc.c (t3): New function.
37539         (main): Call it.
37541 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37543         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37544         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37545         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37546         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37548 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37550         * stdlib/longlong.h: Updated from GCC.
37552 2014-05-01  Will Newton  <will.newton@linaro.org>
37553             Bernard Ogden  <bernie.ogden@linaro.org>
37555         * NEWS: Update fixed bug list.
37557         [BZ #15119]
37558         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37560 2014-04-30  David S. Miller  <davem@davemloft.net>
37562         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37563         (libc_feholdexcept_setround_sparc_ctx): New function.
37564         (libc_fesetenv_sparc_ctx): Likewise.
37565         (libc_feupdateenv_sparc_ctx): Likewise.
37566         (libc_feholdsetround_sparc_ctx): Likewise.
37567         (libc_feholdexcept_setround_ctx): Define.
37568         (libc_feholdexcept_setroundf_ctx): Likewise.
37569         (libc_feholdexcept_setroundl_ctx): Likewise.
37570         (libc_fesetenv_ctx): Likewise.
37571         (libc_fesetenvf_ctx): Likewise.
37572         (libc_fesetenvl_ctx): Likewise.
37573         (libc_feupdateenv_ctx): Likewise.
37574         (libc_feupdateenvf_ctx): Likewise.
37575         (libc_feupdateenvl_ctx): Likewise.
37576         (libc_feresetround_ctx): Likewise.
37577         (libc_feresetroundf_ctx): Likewise.
37578         (libc_feresetroundl_ctx): Likewise.
37579         (libc_feholdsetround_ctx): Likewise.
37580         (libc_feholdsetroundf_ctx): Likewise.
37581         (libc_feholdsetroundl_ctx): Likewise.
37583         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37584         with __USE_GNU instead of XOPEN cpp guards.
37586         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37587         0.
37589         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37590         with XOPEN cpp guards.
37592 2014-04-30  Julian Brown  <julian@codesourcery.com>
37594         [BZ #16888]
37595         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37596         handling.
37598 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37600         [BZ #9894]
37601         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37602         Change to 2.6.32.
37603         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37604         * sysdeps/unix/sysv/linux/configure: Regenerated.
37605         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37606         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37607         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37608         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37609         * README: Update reference to required Linux kernel version.
37610         * manual/install.texi (Linux): Update reference to required Linux
37611         kernel headers version.
37612         * INSTALL: Regenerated.
37614         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37615         header inclusion.
37616         [POSIX] (limits.h): Likewise.
37617         [POSIX] (math.h): Likewise.
37618         [POSIX] (sys/wait.h): Likewise.
37619         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37620         function.
37621         [POSIX] (stddef.h): Do not allow header inclusion.
37623 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37625         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37627 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37629         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37630         Return immediately after lll_futex_wake.
37632 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37634         [BZ #16791]
37635         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37636         structure.
37637         (datahead_init_pos): Call datahead_init_common early.
37638         (datahead_init_neg): Likewise.
37640         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37641         datahead_init_neg): New functions.
37642         * nscd/aicache.c (addhstaiX): Use them.
37643         * nscd/grpcache.c (cache_addgr): Likewise.
37644         * nscd/hstcache.c (cache_addhst): Likewise.
37645         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37646         * nscd/netgroupcache.c (do_notfound): Likewise.
37647         (addgetnetgrentX): Likewise.
37648         (addinnetgrX): Likewise.
37649         * nscd/pwdcache.c (cache_addpw): Likewise.
37650         * nscd/servicescache.c (cache_addserv): Likewise.
37652 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37653             Atsushi Onoe  <atsushi@onoe.org>
37655         [BZ #14308]
37656         [BZ #12994]
37657         [BZ #13651]
37658         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37659         one response is valid.
37660         * resolv/res_send.c (send_dg): Check for validity of other
37661         response if the current response is a referral.
37663 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37665         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37667 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37669         [BZ #16823]
37670         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37671         Always divide by positive zero when computing -Inf result.
37672         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37673         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37675 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37677         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37678         FPSCR if value do not change.
37679         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37680         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37681         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37682         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37683         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37684         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37685         function.
37687 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37689         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37690         * sysdeps/unix/sysv/linux/hppa: Move directory from
37691         ports/systeps/unix/sysv/linux/hppa.
37692         * README: Update listing for hppa-*-linux-gnu.
37694 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37696         [BZ #16754]
37697         * manual/stdio.texi (Hook functions): Fix types of stream hook
37698         functions.
37699         [BZ #16854]
37700         * socket/sys/socket.h: Fix typo in comment.
37702 2014-04-28  Wilco  <wdijkstr@arm.com>
37704         * sysdeps/arm/fenv_private.h: New file.
37705         * sysdeps/arm/math_private.h: New file.
37706         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37708 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37710         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37711         with __int128_t.
37712         (La_x86_64_retval): Likewise.
37714 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37716         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37717         fpsr if value didn't change.
37718         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37719         to fpcr if value didn't change.
37720         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37721         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37722         fpsr or fpcr if value didn't change.
37723         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37724         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37725         fpcr if value didn't change.
37726         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37727         to fpsr if value didn't change.
37729 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37731         * nptl/tst-sem3.c: Use test-skeleton.c
37732         (main): Rename to do_test.  Use return instead of
37733         exit.
37734         * nptl/tst-sem4.c: Use test-skeleton.c
37735         (main): Rename to do_test.
37737 2014-04-22  David S. Miller  <davem@davemloft.net>
37739         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37740         (struct sigaction): New struct member __glibc_reserved0, change
37741         type of sa_flags to int.
37743 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37745         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37746         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37748 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37750         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37751         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37753 2014-04-22  Will Newton  <will.newton@linaro.org>
37754             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37756         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37757         (__longjmp): Add longjmp and longjmp_target SystemTap
37758         probes.
37759         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37760         (__sigsetjmp): Add setjmp SystemTap probe.
37762 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37764         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37765         match manual order.
37767 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37769         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37771         * sysdeps/powerpc/fpu/fenv_private.h
37772         (libc_feholdexcept_setroundl_ctx): Define to
37773         libc_feholdexcept_setround_ppc_ctx.
37774         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37775         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37776         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37777         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37779 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37781         * sysdeps/aarch64/math-tests.h: New file.
37783 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37785         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37786         New.
37787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37788         Check and set bit_AVX2_Usable.
37789         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37790         macro.
37791         (bit_AVX2): Likewise.
37792         (index_AVX2_Usable): Likewise.
37793         (CPUID_AVX2): Likewise.
37794         (HAS_AVX2): Likewise.
37796 2014-04-17  Will Newton  <will.newton@linaro.org>
37798         * manual/setjmp.texi (System V contexts): Add note that
37799         calling setcontext on a context created by a call to a
37800         signal handler is undefined.  Update text to note that
37801         setcontext from a signal handler is possible but not
37802         recommended.
37804         [BZ #16629]
37805         * stdlib/tst-setcontext.c: Include signal.h.
37806         (main): Check that the signal stack before and
37807         after swapcontext is the same.
37809         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37810         Re-implement to restore registers in user code and avoid
37811         rt_sigreturn system call.
37813 2014-04-17  Wilco  <wdijkstr@arm.com>
37815         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37816         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37817         * math/test-fenv.c: Skip exception trap tests on targets which only
37818         support non-stop mode.
37820 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37821             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37823         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37824         (libc_feholdsetround_aarch64_ctx)
37825         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37826         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37827         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37828         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37829         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37830         (libc_feresetround_noexl_ctx): Define.
37832 2014-04-16  Richard Henderson  <rth@redhat.com>
37834         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37836         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37837         unwind tables.
37839         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37840         const from the non-libc, non-ldso copy.
37842         * sysdeps/alpha/libm-test-ulps: Regenerate.
37844 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37845             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37847         * sysdeps/aarch64/fpu/math_private.h: New file.
37849 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37851         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37853 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37855         [BZ #16275]
37856         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37857         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37858         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37859         Intel MPX bound registers before _dl_profile_fixup.
37860         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37861         registers after _dl_profile_fixup.  Save and restore bound
37862         registers bnd0/bnd1 when calling _dl_call_pltexit.
37863         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37864         (LR_BND_OFFSET): Likewise.
37865         (LRV_BND0_OFFSET): Likewise.
37866         (LRV_BND1_OFFSET): Likewise.
37868 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37870         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37871         to...
37872         * sysdeps/mach/hurd/i386/tls.h: ... here.
37873         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37874         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37875         fields.
37877 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37879         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37881 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37883         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37885 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37887         [BZ #14770]
37888         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37889         * sysdeps/s390/configure: Regenerate.
37891         [BZ #16824]
37892         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37893         Set round-to-nearest internally to reduce error accumulation.
37895 2014-04-16  Alan Modra  <amodra@gmail.com>
37897         [BZ #16740]
37898         [BZ #16619]
37899         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37900         * math/libm-test.inc (frexp_test_data): Add tests.
37901         * NEWS: Update fixed bug list.
37903 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37905         * benchtests/Makefile: Depend on libraries in build directory.
37906         (bench-math): Separate out math tests.
37907         (bench-pthread): Separate out pthread tests.
37908         (bench): Include math and pthread tests.
37910 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37912         [BZ #16831]
37913         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37914         _dl_debug_initialize.
37916         * configure.ac: Remove SELinux header check.
37917         * configure: Regenerate.
37918         * nscd/selinux.c (perms): Array of const char* to permission names.
37919         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37920         default policy. Call string_to_security_class and string_to_av_perm to
37921         translate strings. Enforce default policy and call avs_has_perm with
37922         results of translated strings.
37924 2014-04-13  David S. Miller  <davem@davemloft.net>
37926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37928 2014-04-12  Allan McRae  <allan@archlinux.org>
37930         [BZ #16838]
37931         * manual/string.texi (Collation Functions): Fix qsort argument
37932         order in example.
37933         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37935 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37937         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37938         Make the test a no-op if there are no exceptions defined.
37940 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37942         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37943         enable-hardcoded-path-in-tests
37945 2014-04-11  Will Newton  <will.newton@linaro.org>
37947         * benchtests/Makefile (extra-objs): Add json-lib.o.
37948         (bench-func): Tidy up JSON output.
37949         * benchtests/bench-skeleton.c: Include json-lib.h.
37950         (main): Use JSON library functions to do output of
37951         benchmark results.
37952         * benchtests/bench-timing-type.c (main): Output the
37953         timing type simply, leaving formatting to the user.
37954         * benchtests/json-lib.c: New file.
37955         * benchtests/json-lib.h: Likewise.
37957 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37959         [BZ #15215]
37960         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37961         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37962         memory barriers.  Add comments.
37963         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37964         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37965         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37966         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37967         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37968         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37970 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37972         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37973         * sysdeps/s390/s390-64/configure.ac: ... this ...
37974         * sysdeps/s390/configure.ac: ... to here.
37975         * sysdeps/s390/s390-32/configure: Delete file.
37976         * sysdeps/s390/s390-64/configure: Delete file.
37977         * sysdeps/s390/configure: Regenerate.
37979 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37981         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37983 2014-04-11  Will Newton  <will.newton@linaro.org>
37985         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37986         to zero if it is not defined elsewhere.  (mtrim): Test
37987         the value of MALLOC_DEBUG with #if rather than #ifdef.
37989 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37991         * benchtests/pthread_once-inputs: New file.
37992         * benchtests/pthread_once-source.c: New file.
37993         * benchtests/README: Update documentation.
37995 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37996             H.J. Lu  <hongjiu.lu@intel.com>
37998         [BZ #16275]
37999         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38000         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38001         * sysdeps/x86_64/configure: Regenerated.
38002         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38003         macro.
38004         (REGISTER_SAVE_RAX): Likewise.
38005         (REGISTER_SAVE_RCX): Likewise.
38006         (REGISTER_SAVE_RDX): Likewise.
38007         (REGISTER_SAVE_RSI): Likewise.
38008         (REGISTER_SAVE_RDI): Likewise.
38009         (REGISTER_SAVE_R8): Likewise.
38010         (REGISTER_SAVE_R9): Likewise.
38011         (REGISTER_SAVE_BND0): Likewise.
38012         (REGISTER_SAVE_BND1): Likewise.
38013         (REGISTER_SAVE_BND2): Likewise.
38014         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38015         bound registers when calling _dl_fixup.
38017 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38019         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38020         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38021         of its definition.
38022         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38023         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38024         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38025         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38026         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38027         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38028         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38030 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38032         [BZ #15514]
38033         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38034         pathconf(_PC_NAME_MAX).
38036 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38038         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38039         Remove macro usage.
38040         (__PTHREAD_SPINS): Move definition to ...
38041         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38042         (__PTHREAD_SPINS): ... here.
38043         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38044         (__PTHREAD_SPIN): Likewise.
38045         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38046         (__PTHREAD_SPIN): Likewise.
38047         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38048         (__PTHREAD_SPIN): Likewise.
38049         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38050         (__PTHREAD_SPIN): Likewise.
38051         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38052         (__PTHREAD_SPIN): Likewise.
38053         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38054         (__PTHREAD_SPIN): Likewise.
38055         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38056         (__PTHREAD_SPIN): Likewise.
38057         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38058         (__PTHREAD_SPIN): Likewise.
38059         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38060         (__PTHREAD_SPIN): Likewise.
38061         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38062         (__PTHREAD_SPIN): Likewise.
38063         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38064         (__PTHREAD_SPIN): Likewise.
38065         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38066         (__PTHREAD_SPIN): Likewise.
38068         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38069         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38070         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38071         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38072         imply folder.
38073         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38074         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38075         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38076         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38077         correct imply path.
38078         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38079         strlen symbol for non multi-arch builds.
38080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38081         missing hidden_def and weak_alias.
38083 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38085         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38087 2014-04-07  Will Newton  <will.newton@linaro.org>
38089         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38090         and contents.  [!_LIBC] Remove #ifndef and contents.
38091         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38092         * string/memccpy.c (__memccpy): Use ANSI prototype.
38093         * string/memfrob.c (memfrob): Likewise.
38094         * string/strcoll.c (STRCOLL): Likewise.
38095         * string/strlen.c (strlen): Likewise.
38096         * string/strtok.c (STRTOK): Likewise.
38097         * string/strcat.c: Remove unused #include of memcopy.h.
38098         (strcat): Use ANSI prototype.
38099         * string/strchr.c: Remove unused #include of memcopy.h.
38100         (strchr): Use ANSI prototype.
38101         * string/strcmp.c: Remove unused #include of memcopy.h.
38102         (strcmp): Use ANSI prototype.
38103         * string/strcpy.c: Remove unused #include of memcopy.h.
38104         (strcpy): Use ANSI prototype.
38106 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38108         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38109         * config.make.in (config-extra-cppflags): Set it from
38110         libc_extra_cppflags.
38111         * configure.ac (libc_extra_cflags): Make it accumulate over
38112         configure fragments.
38113         (libc_extra_cppflags): New flag.
38114         * configure. Regenerate.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38116         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38117         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38120         [BZ #16815]
38121         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38122         result for FE_DOWNWARD rounding mode.
38123         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38124         Likewise.
38125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38127 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38129         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38130         in function argument name.
38132 2014-04-03  David Svoboda  <svoboda@cert.org>
38134         [BZ #5666]
38135         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38136         explicitly.
38138 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38140         * elf/dl-unmap-segments.h: New file.
38141         * sysdeps/generic/ldsodefs.h
38142         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38143         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38144         * elf/dl-fptr.c: Likewise.
38145         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38146         * sysdeps/aarch64/tlsdesc.c: Likewise.
38147         * sysdeps/arm/tlsdesc.c: Likewise.
38148         * sysdeps/i386/tlsdesc.c: Likewise.
38149         * sysdeps/tile/dl-runtime.c: Likewise.
38150         * sysdeps/x86_64/tlsdesc.c: Likewise.
38151         * elf/dl-load.h: New file.
38152         * elf/dl-load.c: Include it.
38153         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38154         Macros moved to dl-load.h.
38155         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38156         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38157         Use _dl_unmap_segments in place of __munmap.
38158         Break out segment-mapping loop into ...
38159         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38161 2014-04-03  Will Newton  <will.newton@linaro.org>
38163         * elf/dl-lookup.c (do_lookup_x): Remove comment
38164         referring to nested function and move variable
38165         declarations down to before first use.
38167 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38169         [BZ #16799]
38170         [BZ #16800]
38171         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38172         with 0 numerator.
38173         * math/s_catanf.c (__catanf): Likewise.
38174         * math/s_catanh.c (__catanh): Likewise.
38175         * math/s_catanhf.c (__catanhf): Likewise.
38176         * math/s_catanhl.c (__catanhl): Likewise.
38177         * math/s_catanl.c (__catanl): Likewise.
38178         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38179         by positive zero when computing -Inf result.
38180         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38181         (catanh_test): Likewise.
38182         * sysdeps/i386/fpu/libm-test-ulps: Update.
38183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38185         [BZ #16789]
38186         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38187         instead of using underflowing value in computing result.
38188         * math/s_clog10.c (__clog10): Likewise.
38189         * math/s_clog10f.c (__clog10f): Likewise.
38190         * math/s_clog10l.c (__clog10l): Likewise.
38191         * math/s_clogf.c (__clogf): Likewise.
38192         * math/s_clogl.c (__clogl): Likewise.
38193         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38194         (clog10_test): Likewise.
38195         * sysdeps/i386/fpu/libm-test-ulps: Update.
38196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38198 2014-04-02  Alan Modra  <amodra@gmail.com>
38200         [BZ #16739]
38201         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38202         output when value is near a power of two.  Use int64_t for lx and
38203         remove casts.  Use decimal rather than hex exponent constants.
38204         Don't use long double multiplication when double will suffice.
38205         * math/libm-test.inc (nextafter_test_data): Add tests.
38206         * NEWS: Add 16739 and 16786 to bug list.
38208         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38210         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38212 2014-04-01  Will Newton  <will.newton@linaro.org>
38214         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38215         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38217 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38219         [BZ #13347]
38220         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38221         * nptl/tst-setuid2.c: New file.
38222         * nptl/Makefile (xtests): Add tst-setuid2.
38224 2014-04-01  Alan Modra  <amodra@gmail.com>
38226         [BZ #16786]
38227         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38229 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38231         [BZ #6803]
38232         [BZ #6804]
38233         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38234         set errno as appropriate.
38235         * math/w_scalbf.c (__scalbf): Likewise.
38236         * math/w_scalbl.c (__scalbl): Likewise.
38237         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38238         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38239         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38240         Add more NaN tests.
38242         [BZ #16349]
38243         * math/w_atan2.c: Include <errno.h>.
38244         (__atan2): Set errno for result underflowing to zero.
38245         * math/w_atan2f.c: Include <errno.h>.
38246         (__atan2f): Set errno for result underflowing to zero.
38247         * math/w_atan2l.c: Include <errno.h>.
38248         (__atan2l): Set errno for result underflowing to zero.
38249         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38250         tests.
38251         * math/auto-libm-test-out: Regenerated.
38253 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38255         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38256         Encode instruction correctly in little endian.
38257         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38258         Likewise.
38259         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38260         Likewise.
38261         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38262         Likewise.
38263         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38264         Likewise.
38266 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38268         [BZ #9894]
38269         * sysdeps/unix/sysv/linux/kernel-features.h
38270         [__sparc__ && !__arch64__ && !__sparc_v9__]
38271         (__ASSUME_SET_ROBUST_LIST): Do not define.
38272         [__sparc__ && !__arch64__ && !__sparc_v9__]
38273         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38274         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38275         Likewise.
38276         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38277         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38278         (__ASSUME_REQUEUE_PI): Likewise.
38279         (__ASSUME_SET_ROBUST_LIST): Likewise.
38280         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38281         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38282         Undefine.
38283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38284         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38285         Likewise.
38286         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38287         Likewise.
38288         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38289         Likewise.
38290         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38291         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38292         Undefine.
38293         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38294         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38295         Likewise.
38297         [BZ #16648]
38298         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38299         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38300         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38302 2014-03-31  Will Newton  <will.newton@linaro.org>
38304         * benchtests/Makefile (bench): Add ffs and ffsll to list
38305         of tests.
38306         * benchtests/ffs-inputs: New file.
38307         * benchtests/ffsll-inputs: Likewise.
38309 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38311         [BZ #16770]
38312         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38313         too large before casting to int.
38314         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38315         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38316         * math/libm-test.inc (scalb_test_data): Add more tests.
38318 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38320         * benchtests/Makefile (DETAILED_OPT): New make option.
38321         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38322         set.
38323         * benchtests/bench-skeleton.c: Include stdbool.h.
38324         (main): Store and print timings per input.
38325         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38326         member to each argument value.
38327         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38328         (_print_arg_data): Initialize per-input timing to 0.
38330         * benchtests/Makefile (timing-type): New binary.
38331         (bench-clean): Also remove bench-timing-type.
38332         (bench): New target for timing-type.
38333         (bench-func): Print output in JSON format.
38334         * benchtests/bench-skeleton.c (main): Print output in JSON
38335         format.
38336         * benchtests/bench-timing-type.c: New file.
38337         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38338         (TIMING_PRINT_STATS): Remove.
38339         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38340         name separately.
38342         * benchtests/bench-modf.c: Remove.
38343         * benchtests/modf-inputs: New inputs file.
38345 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38347         [BZ #16362]
38348         * math/s_clog10.c (M_PI_LOG10E): New macro.
38349         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38350         imaginary parts are 0.
38351         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38352         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38353         imaginary parts are 0.
38354         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38355         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38356         imaginary parts are 0.
38357         * math/libm-test.inc (clog10_test_data): Update expected results
38358         for when real and imaginary parts are 0.
38360 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38362         * elf/dl-load.c: Finish conversion of __builtin_expect into
38363         __glibc_{un}likely.
38365 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38367         [BZ #16348]
38368         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38369         1+x for argument with exponent below -67.
38370         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38371         Likewise.
38372         * math/auto-libm-test-in: Add more tests of exp.
38373         * math/auto-libm-test-out: Regenerated.
38375 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38377         [BZ #16759]
38378         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38379         (nscd_getnetgrent): Use it.
38381         [BZ #16760]
38382         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38383         of stpcpy.
38385 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38387         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38388         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38389         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38390         (lll_robust_unlock): Remove out of line section. Use cfi
38391         intrinsics.
38392         (LLL_STUB_UNWIND_INFO*): Remove.
38393         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38394         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38395         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38396         (lll_robust_unlock): Remove out of line section. Use cfi
38397         intrinsics.
38398         (LLL_STUB_UNWIND_INFO*): Remove.
38400 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38402         [BZ #16758]
38403         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38404         blank values.
38406 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38408         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38410 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38412         [BZ #16198]
38413         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38414         fnstenv.
38415         * math/test-fenv-preserve.c: New file.
38416         * math/Makefile (tests): Add test-fenv-preserve.
38418 2014-03-26  Will Newton <will.newton@linaro.org>
38420         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38422 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38424         * scripts/versionlist.awk: Partition the version sets and emit all
38425         GLIBC_* (sorted) before all others (sorted).
38427 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38429         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38430         GLIBC_2.2.5 version.
38432 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38434         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38435         calls.
38437         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38438         previous change.
38440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38442 2014-03-25  Andreas Schwab  <schwab@suse.de>
38444         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38445         label to be used after in6ailist is initialized.
38447 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38449         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38450         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38452 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38454         [BZ #16357]
38455         [BZ #16599]
38456         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38457         min_plus_half.
38458         (fp_formats): Update initializers.
38459         (init_fp_formats): Initialize new field.
38460         (output_for_one_input_case): Allow underflow for results up to
38461         min_plus_half.
38462         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38463         * math/auto-libm-test-in: Don't mark some underflows from asin and
38464         atanh as spurious.
38465         * math/auto-libm-test-out: Regenerated.
38466         * sysdeps/i386/fpu/libm-test-ulps: Update.
38467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38469 2014-03-25  Andreas Schwab  <schwab@suse.de>
38471         * libio/Makefile (tst-ftell-partial-wide-ENV)
38472         (tst-ftell-active-handler-ENV): Define.
38474 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38476         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38478 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38480         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38482 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38484         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38485         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38486         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38488 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38490         [BZ #16634]
38491         * elf/dl-load.c (open_verify): Add mode parameter.
38492         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38493         (open_path): Change from boolean 'secure' to complete flag 'mode'
38494         (_dl_map_object): Adjust.
38495         * elf/Makefile (tests): Add tst-dlopen-aout.
38496         * elf/tst-dlopen-aout.c: New test.
38498 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38500         [BZ #16714]
38501         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38502         (struct stat): Rename member pad0 to __glibc_reserved0.
38504         [BZ #16712]
38505         * sysdeps/s390/s390-32/bits/wordsize.h
38506         (__WORDSIZE32_SIZE_ULONG): New define.
38507         * sysdeps/s390/s390-64/bits/wordsize.h
38508         (__WORDSIZE32_SIZE_ULONG): Likewise.
38509         * sysdeps/generic/stdint.h (SIZE_MAX):
38510         Define as UL if __WORDSIZE32_SIZE_ULONG.
38512         [BZ #16713]
38513         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38514         (__glibc_reserved0): New variable.
38515         (sa_flags): Change type to int.
38517         * posix/Makefile (before-compile): Use += before-compile instead
38518         of a :=.
38520         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38521         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38523 2014-03-20  Andreas Schwab  <schwab@suse.de>
38525         [BZ #16743]
38526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38527         non-matching result from nscd.
38529 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38531         * scripts/bench.py: Moved to ...
38532         * benchtests/scripts/bench.py: ... here.
38533         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38535 2014-03-24  Andreas Schwab  <schwab@suse.de>
38537         [BZ #16002]
38538         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38539         alloca_account and account alloca use for struct in6ailist.
38541 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38543         [BZ #16284]
38544         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38545         rounding mode to recompute results that overflow to infinity or
38546         underflow to zero.
38547         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38548         bug 16284.
38549         * math/auto-libm-test-out: Regenerated.
38550         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38551         (ccosh_test): Likewise.
38552         (csin_test_data): Use plus_oflow.
38553         (csin_test): Use ALL_RM_TEST.
38554         (csinh_test_data): Use plus_oflow.
38555         (csinh_test): Use ALL_RM_TEST.
38556         * sysdeps/i386/fpu/libm-test-ulps: Update.
38557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38559 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38561         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38562         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38563         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38565         [BZ #16731]
38566         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38567         when x - 1 is zero.
38568         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38569         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38570         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38571         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38572         argument is 1.
38573         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38574         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38575         zero.
38576         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38577         * sysdeps/i386/fpu/libm-test-ulps: Update.
38578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38580 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38582         * scripts/bench.pl: Remove file.
38583         * scripts/bench.py: New benchmark script.
38584         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38585         * benchtests/README: Mention python dependency.
38586         * scripts/pylintrc: New file.
38587         * scripts/pylint: New file.
38589         * bits/mathdef.h: Use #ifdef instead of #if.
38590         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38591         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38592         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38593         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38594         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38595         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38597 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38598             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38600         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38602         and strpbrk-ppc64 objects.
38603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38604         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38605         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38606         multiarch strpbrk for POWER7.
38607         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38608         multiarch strpbrk for PPC64.
38609         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38610         ifunc selector.
38611         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38612         strpbrk for POWER7.
38614 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38616         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38617         (atan_test): Likewise.
38618         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38619         (atanh_test): Use ALL_RM_TEST.
38620         (atan2_test_data): Likewise.
38621         (cabs_test): Likewise.
38622         (cacosh_test): Likewise.
38623         (carg_test): Likewise.
38624         (casin_test): Likewise.
38625         (casinh_test): Likewise.
38626         (cbrt_test): Likewise.
38627         (csqrt_test): Likewise.
38628         (erf_test): Likewise.
38629         (erfc_test): Likewise.
38630         (pow10_test): Likewise.
38631         (exp2_test): Likewise.
38632         (hypot_test): Likewise.
38633         (j0_test): Likewise.
38634         (j1_test): Likewise.
38635         (lgamma_test): Likewise.
38636         (gamma_test): Likewise.
38637         (sincos_test): Likewise.
38638         (tanh_test): Likewise.
38639         (y0_test): Likewise.
38640         (y1_test): Likewise.
38641         * sysdeps/i386/fpu/libm-test-ulps: Update.
38642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38644 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38646         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38648         and strcspn-ppc64 objects.
38649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38650         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38651         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38652         multiarch strcspn for POWER7.
38653         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38654         multiarch strcspn for PPC64.
38655         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38656         ifunc selector.
38657         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38658         strcspn for POWER7.
38660 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38662         * math/gen-libm-test.pl (generate_testfile): Expect only function
38663         name as argument to AUTO_TESTS_* and pass results for all rounding
38664         modes to parse_args.
38665         (parse_auto_input): Separate inputs of automatic tests from
38666         outputs before storing in %auto_tests.
38667         * math/libm-test.inc (acos_test_data): Update call to
38668         AUTO_TESTS_f_f.
38669         (acos_test): Use ALL_RM_TEST.
38670         (acos_tonearest_test_data): Remove.
38671         (acos_test_tonearest): Likewise.
38672         (acos_towardzero_test_data): Likewise.
38673         (acos_test_towardzero): Likewise.
38674         (acos_downward_test_data): Likewise.
38675         (acos_test_downward): Likewise.
38676         (acos_upward_test_data): Likewise.
38677         (acos_test_upward): Likewise.
38678         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38679         (asin_test_data): Likewise.
38680         (asin_test): Use ALL_RM_TEST.
38681         (asin_tonearest_test_data): Remove.
38682         (asin_test_tonearest): Likewise.
38683         (asin_towardzero_test_data): Likewise.
38684         (asin_test_towardzero): Likewise.
38685         (asin_downward_test_data): Likewise.
38686         (asin_test_downward): Likewise.
38687         (asin_upward_test_data): Likewise.
38688         (asin_test_upward): Likewise.
38689         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38690         (atan_test_data): Likewise.
38691         (atanh_test_data): Likewise.
38692         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38693         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38694         (carg_test_data): Likewise.
38695         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38696         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38697         (ccosh_test_data): Likewise.
38698         (cexp_test_data): Likewise.
38699         (clog_test_data): Likewise.
38700         (clog10_test_data): Likewise.
38701         (cos_test_data): Update call to AUTO_TESTS_f_f.
38702         (cos_test): Use ALL_RM_TEST.
38703         (cos_tonearest_test_data): Remove.
38704         (cos_test_tonearest): Likewise.
38705         (cos_towardzero_test_data): Likewise.
38706         (cos_test_towardzero): Likewise.
38707         (cos_downward_test_data): Likewise.
38708         (cos_test_downward): Likewise.
38709         (cos_upward_test_data): Likewise.
38710         (cos_test_upward): Likewise.
38711         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38712         (cosh_test): Use ALL_RM_TEST.
38713         (cosh_tonearest_test_data): Remove.
38714         (cosh_test_tonearest): Likewise.
38715         (cosh_towardzero_test_data): Likewise.
38716         (cosh_test_towardzero): Likewise.
38717         (cosh_downward_test_data): Likewise.
38718         (cosh_test_downward): Likewise.
38719         (cosh_upward_test_data): Likewise.
38720         (cosh_test_upward): Likewise.
38721         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38722         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38723         (ctan_test_data): Likewise.
38724         (ctan_test): Use ALL_RM_TEST.
38725         (ctan_tonearest_test_data): Remove.
38726         (ctan_test_tonearest): Likewise.
38727         (ctan_towardzero_test_data): Likewise.
38728         (ctan_test_towardzero): Likewise.
38729         (ctan_downward_test_data): Likewise.
38730         (ctan_test_downward): Likewise.
38731         (ctan_upward_test_data): Likewise.
38732         (ctan_test_upward): Likewise.
38733         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38734         (ctanh_test): Use ALL_RM_TEST.
38735         (ctanh_tonearest_test_data): Remove.
38736         (ctanh_test_tonearest): Likewise.
38737         (ctanh_towardzero_test_data): Likewise.
38738         (ctanh_test_towardzero): Likewise.
38739         (ctanh_downward_test_data): Likewise.
38740         (ctanh_test_downward): Likewise.
38741         (ctanh_upward_test_data): Likewise.
38742         (ctanh_test_upward): Likewise.
38743         (erf_test_data): Update call to AUTO_TESTS_f_f.
38744         (erfc_test_data): Likewise.
38745         (exp_test_data): Likewise.
38746         (exp_test): Use ALL_RM_TEST.
38747         (exp_tonearest_test_data): Remove.
38748         (exp_test_tonearest): Likewise.
38749         (exp_towardzero_test_data): Likewise.
38750         (exp_test_towardzero): Likewise.
38751         (exp_downward_test_data): Likewise.
38752         (exp_test_downward): Likewise.
38753         (exp_upward_test_data): Likewise.
38754         (exp_test_upward): Likewise.
38755         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38756         (exp10_test): Use ALL_RM_TEST.
38757         (exp10_tonearest_test_data): Remove.
38758         (exp10_test_tonearest): Likewise.
38759         (exp10_towardzero_test_data): Likewise.
38760         (exp10_test_towardzero): Likewise.
38761         (exp10_downward_test_data): Likewise.
38762         (exp10_test_downward): Likewise.
38763         (exp10_upward_test_data): Likewise.
38764         (exp10_test_upward): Likewise.
38765         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38766         (expm1_test_data): Likewise.
38767         (expm1_test): Use ALL_RM_TEST.
38768         (expm1_tonearest_test_data): Remove.
38769         (expm1_test_tonearest): Likewise.
38770         (expm1_towardzero_test_data): Likewise.
38771         (expm1_test_towardzero): Likewise.
38772         (expm1_downward_test_data): Likewise.
38773         (expm1_test_downward): Likewise.
38774         (expm1_upward_test_data): Likewise.
38775         (expm1_test_upward): Likewise.
38776         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38777         (fma_test): Use ALL_RM_TEST.
38778         (fma_towardzero_test_data): Remove.
38779         (fma_test_towardzero): Likewise.
38780         (fma_downward_test_data): Likewise.
38781         (fma_test_downward): Likewise.
38782         (fma_upward_test_data): Likewise.
38783         (fma_test_upward): Likewise.
38784         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38785         (j0_test_data): Update call to AUTO_TESTS_f_f.
38786         (j1_test_data): Likewise.
38787         (jn_test_data): Update call to AUTO_TESTS_if_f.
38788         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38789         (log_test_data): Update call to AUTO_TESTS_f_f.
38790         (log10_test_data): Likewise.
38791         (log1p_test_data): Likewise.
38792         (log2_test_data): Likewise.
38793         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38794         (pow_tonearest_test_data): Likewise.
38795         (sin_test_data): Update call to AUTO_TESTS_f_f.
38796         (sin_test): Use ALL_RM_TEST.
38797         (sin_tonearest_test_data): Remove.
38798         (sin_test_tonearest): Likewise.
38799         (sin_towardzero_test_data): Likewise.
38800         (sin_test_towardzero): Likewise.
38801         (sin_downward_test_data): Likewise.
38802         (sin_test_downward): Likewise.
38803         (sin_upward_test_data): Likewise.
38804         (sin_test_upward): Likewise.
38805         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38806         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38807         (sinh_test): Use ALL_RM_TEST.
38808         (sinh_tonearest_test_data): Remove.
38809         (sinh_test_tonearest): Likewise.
38810         (sinh_towardzero_test_data): Likewise.
38811         (sinh_test_towardzero): Likewise.
38812         (sinh_downward_test_data): Likewise.
38813         (sinh_test_downward): Likewise.
38814         (sinh_upward_test_data): Likewise.
38815         (sinh_test_upward): Likewise.
38816         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38817         (sqrt_test): Use ALL_RM_TEST.
38818         (sqrt_tonearest_test_data): Remove.
38819         (sqrt_test_tonearest): Likewise.
38820         (sqrt_towardzero_test_data): Likewise.
38821         (sqrt_test_towardzero): Likewise.
38822         (sqrt_downward_test_data): Likewise.
38823         (sqrt_test_downward): Likewise.
38824         (sqrt_upward_test_data): Likewise.
38825         (sqrt_test_upward): Likewise.
38826         (tan_test_data): Update call to AUTO_TESTS_f_f.
38827         (tan_test): Use ALL_RM_TEST.
38828         (tan_tonearest_test_data): Remove.
38829         (tan_test_tonearest): Likewise.
38830         (tan_towardzero_test_data): Likewise.
38831         (tan_test_towardzero): Likewise.
38832         (tan_downward_test_data): Likewise.
38833         (tan_test_downward): Likewise.
38834         (tan_upward_test_data): Likewise.
38835         (tan_test_upward): Likewise.
38836         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38837         (tgamma_test_data): Likewise.
38838         (y0_test_data): Likewise.
38839         (y1_test_data): Likewise.
38840         (yn_test_data): Update call to AUTO_TESTS_if_f.
38841         (main): Do not call removed functions.
38843 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38845         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38846         (ldexp_test_data): Remove.
38847         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38848         scalbn_test_data.
38849         (scalb_test): Use ALL_RM_TEST.
38851 2014-03-19  Andreas Schwab  <schwab@suse.de>
38853         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38855 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38857         [BZ #16649]
38858         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38859         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38860         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38861         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38862         (__ASSUME_PREADV): Undefine.
38863         (__ASSUME_PWRITEV): Likewise.
38865 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38867         * bits/mman-linux.h: Add comment about non-Linux use.
38868         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38869         bits/mman-linux.h resting place.
38871         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38872         * bits/mman-linux.h: ... here.
38874 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38876         * conform/conformtest.pl: Add standard definition when calling C
38877         preprocessor on data files.
38878         (checknamespace): Remove unused variable.
38880 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38882         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38883         minus_oflow, plus_uflow and minus_uflow in expected results.
38884         * math/libm-test.inc (scalbn_test_data): Add more tests of
38885         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38886         minus_uflow.
38887         (scalbn_test): Use ALL_RM_TEST.
38888         (scalbln_test_data): Add more tests of negative arguments.  Use
38889         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38890         (scalbln_test): Use ALL_RM_TEST.
38892 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38894         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38896 2014-03-18  Will Newton  <will.newton@linaro.org>
38898         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38899         inaccurate comment.
38901 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38903         * Makerules [!subdir] (check-abi): Exit with error status if a
38904         test failed.
38906 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38908         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38909         for rint.  Include results for all rounding modes.
38910         (nearbyint_test): Use ALL_RM_TEST.
38911         (rint_test_data): Include all tests used for nearbyint.
38913 2014-03-17  Will Newton  <will.newton@linaro.org>
38915         * nptl/sysdeps/pthread/pthread.h: Revert previous
38916         change.
38918         * sysdeps/generic/ldsodefs.h: Revert previous
38919         change.
38921         * libio/genops.c: Revert previous change.
38922         * libio/libioP.h: Likewise.
38923         * stdio-common/vfprintf.c: Likewise.
38925         * sysdeps/generic/math_private.h: Revert previous
38926         change.
38928         * sysdeps/generic/math_private.h: Check whether
38929         HAVE_RM_CTX is defined with #ifdef rather
38930         than #if.
38932         * argp/argp-fmtstream.h: Check whether
38933         __STRICT_ANSI__ is defined with #ifdef rather
38934         than #if.
38935         * argp/argp.h: Likewise.
38937         * libio/genops.c: Check whether
38938         _IO_JUMPS_OFFSET is defined with #ifdef rather
38939         than #if.
38940         * libio/libioP.h: Likewise.
38941         * stdio-common/vfprintf.c: Likewise.
38943         * sysdeps/generic/ldsodefs.h: Check whether
38944         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38945         than #if.
38947         * nptl/sysdeps/pthread/pthread.h: Check
38948         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38949         its value.
38951 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38953         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38954         setting O_APPEND.
38955         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38956         test case.
38958         [BZ #16680]
38959         * libio/fileops.c (_IO_file_open): Seek to end of file but
38960         don't cache the offset.
38961         (get_file_offset): Remove function.
38962         (do_ftell): Use cached offset when available.
38963         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38964         don't cache the offset.
38965         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38966         case.
38967         (do_one_test): Call it.
38968         (do_ftell_test): Fix up expected old offset for a+ mode.
38969         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38970         available.
38972         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38973         up test status with function return status.
38974         (do_write_test): Likewise.
38975         (do_append_test): Likewise.
38977         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38978         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38979         Remove.
38981 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38983         * math/gen-libm-test.pl (parse_args): Handle results specified for
38984         each rounding mode separately.
38985         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38986         tests and results from lrint_tonearest_test_data,
38987         lrint_towardzero_test_data, lrint_downward_test_data and
38988         lrint_upward_test_data.
38989         (lrint_test): Use ALL_RM_TEST.
38990         (lrint_tonearest_test_data): Remove.
38991         (lrint_test_tonearest): Likewise.
38992         (lrint_towardzero_test_data): Likewise.
38993         (lrint_test_towardzero): Likewise.
38994         (lrint_downward_test_data): Likewise.
38995         (lrint_test_downward): Likewise.
38996         (lrint_upward_test_data): Likewise.
38997         (lrint_test_upward): Likewise.
38998         (llrint_test_data): Merge in per-rounding-mode tests and results
38999         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39000         llrint_downward_test_data and llrint_upward_test_data.
39001         (llrint_test): Use ALL_RM_TEST.
39002         (llrint_tonearest_test_data): Remove.
39003         (llrint_test_tonearest): Likewise.
39004         (llrint_towardzero_test_data): Likewise.
39005         (llrint_test_towardzero): Likewise.
39006         (llrint_downward_test_data): Likewise.
39007         (llrint_test_downward): Likewise.
39008         (llrint_upward_test_data): Likewise.
39009         (llrint_test_upward): Likewise.
39010         (rint_test_data): Merge in per-rounding-mode tests and results
39011         from rint_tonearest_test_data, rint_towardzero_test_data,
39012         rint_downward_test_data and rint_upward_test_data.  Add
39013         per-rounding-mode results for tests not in those arrays.
39014         (rint_test): Use ALL_RM_TEST.
39015         (rint_tonearest_test_data): Remove.
39016         (rint_test_tonearest): Likewise.
39017         (rint_towardzero_test_data): Likewise.
39018         (rint_test_towardzero): Likewise.
39019         (rint_downward_test_data): Likewise.
39020         (rint_test_downward): Likewise.
39021         (rint_upward_test_data): Likewise.
39022         (rint_test_upward): Likewise.
39023         (main): Don't call removed functions.
39025 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39027         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39028         "Compiled on ..." crapola.  It is anti-useful.
39030 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39032         * scripts/evaluate-test.sh: Handle fourth argument to determine
39033         whether test run should stop on failure.
39034         * Makeconfig (stop-on-test-failure): New variable.
39035         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39036         $(stop-on-test-failure).
39037         * Makefile (tests): Give a summary of results from testing and
39038         exit with failure status if they include an ERROR or FAIL.
39039         (xtests): Likewise.
39040         * manual/install.texi (Configuring and compiling): Mention
39041         stop-on-test-failure=y.
39042         * INSTALL: Regenerated.
39044 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39046         * scripts/versionlist.awk: New file.
39047         * Makerules [$(build-shared) = yes]
39048         (postclean-generated): Add Versions.def, not Versions.def.v and
39049         Versions.def.v.i.
39050         ($(common-objpfx)Versions.def.v.i): Target removed.
39051         ($(common-objpfx)Versions.def): New target.
39052         ($(common-objpfx)Versions.all): Depend on that rather that
39053         $(common-objpfx)Versions.def.v.
39054         * Versions.def: File removed.
39056         * Makeconfig (+gccwarn): Add -Wundef.
39057         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39058         a dl-sysdep.h breaking its contract.
39059         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39060         * include/stackinfo.h: New file.
39061         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39062         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39063         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39064         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39065         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39066         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39067         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39068         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39069         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39070         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39071         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39072         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39073         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39074         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39075         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39077 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39079         [BZ #16707]
39080         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39081         implementation.
39082         * math/libm-test.inc (round_test_data): Add more tests.
39084         [BZ #16706]
39085         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39086         implementation.
39087         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39089         [BZ #16701]
39090         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39091         implementation.
39092         * math/libm-test.inc (ceil_test_data): Add more tests.
39094         * math/libm-test.inc (trunc_test_data): Add more tests related to
39095         BZ#16414.
39097 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39099         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39100         with #if rather than #ifdef.
39101         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39103 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39105         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39106         first.  Disable AVX-512 GCC support if assembler doesn't support
39107         it.
39108         * sysdeps/x86_64/configure: Regenerated.
39110 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39112         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39113         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39114         (__old_pthread_attr_setstack): Likewise.
39115         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39116         [!_STACK_GROWS_DOWN]: Likewise.
39118 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39120         * config.make.in (have-bash2): Delete.
39121         * configure.ac (libc_cv_have_bash2): Delete.
39122         * configure: Regenerate.
39123         * elf/Makefile (common-ldd-rewrite): Rename to ...
39124         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39125         (sh-ldd-rewrite): Delete.
39126         (bash-ldd-rewrite): Delete.
39127         (have-bash2): Delete checks.
39128         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39129         ldd-rewrite.
39131         * config.make.in (have-ksh): Delete.
39132         (KSH): Delete.
39133         * configure.ac (libc_cv_have_ksh): Delete.
39134         * configure: Regenerate.
39136         * elf/Makefile: Delete $(have-ksh) check.
39137         ($(objpfx)sotruss): Change KSH to BASH.
39138         * elf/sotruss.ksh: Rename to ...
39139         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39140         function style to match POSIX.  Drop ksh vim mode setting.
39142         * manual/time.texi (Specifying the Time Zone with TZ): Change
39143         Tuesday to Thursday.
39145         * debug/tst-longjmp_chk2.c: Update header comment.
39146         (stackoverflow_handler): Add comment.  Call assert on pass value.
39148 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39150         [BZ #16194]
39151         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39152         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39153         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39154         (La_x86_64_vector): Add zmm.
39155         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39156         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39157         ($(objpfx)tst-audit10): New target.
39158         ($(objpfx)tst-audit10.out): Likewise.
39159         (tst-audit10-ENV): New.
39160         (AVX512-CFLAGS): Likewise.
39161         (CFLAGS-tst-audit10.c): Likewise.
39162         (CFLAGS-tst-auditmod10a.c): Likewise.
39163         (CFLAGS-tst-auditmod10b.c): Likewise.
39164         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39165         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39166         * sysdeps/x86_64/configure: Regenerated.
39167         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39168         AVX-512 zmm register support.
39169         (_dl_x86_64_save_sse): Likewise.
39170         (_dl_x86_64_restore_sse): Likewise.
39171         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39172         size vector registers.
39173         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39174         (ZMM_SIZE): Likewise.
39175         * sysdeps/x86_64/tst-audit10.c: New file.
39176         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39177         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39179 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39181         * configure.ac (HAVE_EHDR_START): New check.
39182         * configure: Regenerated.
39183         * config.h.in (HAVE_EHDR_START): New #undef.
39184         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39185         assuming the lowest-addressed segment maps the start of the file.
39187 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39189         * INSTALL: Regenerated.
39191 2014-03-13  Will Newton  <will.newton@linaro.org>
39193         * manual/setjmp.texi (System V contexts): Improve
39194         clarity and grammar of documentation.
39196 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39198         [BZ #16381]
39199         * elf/Makefile (tests): Add tst-pie2.
39200         (tests-pie): Add tst-pie2.
39201         * elf/tst-pie2.c: New file.
39202         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39203         for ET_EXEC.
39204         * elf/rtld.c (map_doit): Load executable as lt_executable.
39205         (dl_main): Likewise.
39207 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39209         [BZ #16642]
39210         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39211         (__ASSUME_PSELECT): Undefine.
39213 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39215         [BZ #16689]
39216         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39217         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39218         static build.
39219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39220         selector for static builds.
39222 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39224         [BZ #16695]
39225         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39226         key in the buffer.
39228 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39230         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39231         IFUNC selector for static builds.
39233 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39235         * sysdeps/mips/math_private.h [__mips_hard_float]
39236         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39237         libc_feresetround_mips_ctx.
39238         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39239         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39240         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39242         [BZ #16677]
39243         * math/s_nextafter.c (__nextafter): Do not return value from
39244         overflowing computation.
39245         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39246         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39247         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39248         Likewise.
39249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39250         Likewise.
39251         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39252         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39254 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39256         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39257         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39258         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39259         the new mov targetting sp.
39261 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39263         [BZ #16683]
39264         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39265         Define it for static builds as well.
39266         (NO_BZERO_IMPL): Likewise.
39268 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39270         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39271         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39272         multiarch strspn for PPC64.
39273         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39274         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39276         (__libc_ifunc_impl_list): Likewise.
39277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39278         multiarch optimizations
39279         * string/strspn.c (strspn): Using macro to redefine symbol name.
39281 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39282             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39284         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39285         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39286         multiarch strncat for PPC64.
39287         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39288         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39290         (__libc_ifunc_impl_list): Likewise.
39291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39292         multiarch optimizations
39294 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39296         [BZ #16639]
39297         * nscd/nscd.service: Make service type forking.
39299 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39301         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39302         sign in non default rounding modes.
39303         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39305 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39307         * math/libm-test.inc (ALL_RM_TEST): New macro.
39308         (ceil_test): Use ALL_RM_TEST.
39309         (cimag_test): Likewise.
39310         (conj_test): Likewise.
39311         (copysign_test): Likewise.
39312         (cproj_test): Likewise.
39313         (creal_test): Likewise.
39314         (fabs_test): Likewise.
39315         (floor_test): Likewise.
39316         (fmax_test): Likewise.
39317         (fmin_test): Likewise.
39318         (fmod_test): Likewise.
39319         (fpclassify_test): Likewise.
39320         (frexp_test): Likewise.
39321         (ilogb_test): Likewise.
39322         (isfinite_test): Likewise.
39323         (finite_test): Likewise.
39324         (isgreater_test): Likewise.
39325         (isgreaterequal_test): Likewise.
39326         (isinf_test): Likewise.
39327         (isless_test): Likewise.
39328         (islessequal_test): Likewise.
39329         (islessgreater_test): Likewise.
39330         (isnan_test): Likewise.
39331         (isnormal_test): Likewise.
39332         (issignaling_test): Likewise.
39333         (isunordered_test): Likewise.
39334         (logb_test): Likewise.
39335         (logb_downward_test_data): Remove.
39336         (logb_test_downward): Likewise.
39337         (lround_test): Use ALL_RM_TEST.
39338         (llround_test): Likewise.
39339         (modf_test): Likewise.
39340         (nexttoward_test): Likewise.
39341         (remainder_test): Likewise.
39342         (drem_test): Likewise.
39343         (remainder_tonearest_test_data): Likewise.
39344         (remainder_test_tonearest): Likewise.
39345         (drem_test_tonearest): Likewise.
39346         (remainder_towardzero_test_data): Likewise.
39347         (remainder_test_towardzero): Likewise.
39348         (drem_test_towardzero): Likewise.
39349         (remainder_downward_test_data): Likewise.
39350         (remainder_test_downward): Likewise.
39351         (drem_test_downward): Likewise.
39352         (remainder_upward_test_data): Likewise.
39353         (remainder_test_upward): Likewise.
39354         (drem_test_upward): Likewise.
39355         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39356         (round_test): Use ALL_RM_TEST.
39357         (signbit_test): Likewise.
39358         (trunc_test): Likewise.
39359         (significand_test): Likewise.
39360         (main): Don't call removed functions.
39362 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39364         [BZ #16674]
39365         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39366         || __USE_XOPEN2K8].
39367         (ILL_ILLOPN): Likewise.
39368         (ILL_ILLADR): Likewise.
39369         (ILL_ILLTRP): Likewise.
39370         (ILL_PRVOPC): Likewise.
39371         (ILL_PRVREG): Likewise.
39372         (ILL_COPROC): Likewise.
39373         (ILL_BADSTK): Likewise.
39374         (FPE_INTDIV): Likewise.
39375         (FPE_INTOVF): Likewise.
39376         (FPE_FLTDIV): Likewise.
39377         (FPE_FLTOVF): Likewise.
39378         (FPE_FLTUND): Likewise.
39379         (FPE_FLTRES): Likewise.
39380         (FPE_FLTINV): Likewise.
39381         (FPE_FLTSUB): Likewise.
39382         (SEGV_MAPERR): Likewise.
39383         (SEGV_ACCERR): Likewise.
39384         (BUS_ADRALN): Likewise.
39385         (BUS_ADRERR): Likewise.
39386         (BUS_OBJERR): Likewise.
39387         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39388         (TRAP_TRACE): Likewise.
39389         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39390         __USE_XOPEN2K8].
39391         (CLD_KILLED): Likewise.
39392         (CLD_DUMPED): Likewise.
39393         (CLD_TRAPPED): Likewise.
39394         (CLD_STOPPED): Likewise.
39395         (CLD_CONTINUED): Likewise.
39396         (POLL_IN): Likewise.
39397         (POLL_OUT): Likewise.
39398         (POLL_MSG): Likewise.
39399         (POLL_ERR): Likewise.
39400         (POLL_PRI): Likewise.
39401         (POLL_HUP): Likewise.
39402         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39403         Likewise.
39404         (ILL_ILLOPN): Likewise.
39405         (ILL_ILLADR): Likewise.
39406         (ILL_ILLTRP): Likewise.
39407         (ILL_PRVOPC): Likewise.
39408         (ILL_PRVREG): Likewise.
39409         (ILL_COPROC): Likewise.
39410         (ILL_BADSTK): Likewise.
39411         (FPE_INTDIV): Likewise.
39412         (FPE_INTOVF): Likewise.
39413         (FPE_FLTDIV): Likewise.
39414         (FPE_FLTOVF): Likewise.
39415         (FPE_FLTUND): Likewise.
39416         (FPE_FLTRES): Likewise.
39417         (FPE_FLTINV): Likewise.
39418         (FPE_FLTSUB): Likewise.
39419         (SEGV_MAPERR): Likewise.
39420         (SEGV_ACCERR): Likewise.
39421         (BUS_ADRALN): Likewise.
39422         (BUS_ADRERR): Likewise.
39423         (BUS_OBJERR): Likewise.
39424         (BUS_MCEERR_AR): Likewise.
39425         (BUS_MCEERR_AO): Likewise.
39426         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39427         (TRAP_TRACE): Likewise.
39428         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39429         __USE_XOPEN2K8].
39430         (CLD_KILLED): Likewise.
39431         (CLD_DUMPED): Likewise.
39432         (CLD_TRAPPED): Likewise.
39433         (CLD_STOPPED): Likewise.
39434         (CLD_CONTINUED): Likewise.
39435         (POLL_IN): Likewise.
39436         (POLL_OUT): Likewise.
39437         (POLL_MSG): Likewise.
39438         (POLL_ERR): Likewise.
39439         (POLL_PRI): Likewise.
39440         (POLL_HUP): Likewise.
39441         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39442         (ILL_ILLOPN): Likewise.
39443         (ILL_ILLADR): Likewise.
39444         (ILL_ILLTRP): Likewise.
39445         (ILL_PRVOPC): Likewise.
39446         (ILL_PRVREG): Likewise.
39447         (ILL_COPROC): Likewise.
39448         (ILL_BADSTK): Likewise.
39449         (FPE_INTDIV): Likewise.
39450         (FPE_INTOVF): Likewise.
39451         (FPE_FLTDIV): Likewise.
39452         (FPE_FLTOVF): Likewise.
39453         (FPE_FLTUND): Likewise.
39454         (FPE_FLTRES): Likewise.
39455         (FPE_FLTINV): Likewise.
39456         (FPE_FLTSUB): Likewise.
39457         (SEGV_MAPERR): Likewise.
39458         (SEGV_ACCERR): Likewise.
39459         (BUS_ADRALN): Likewise.
39460         (BUS_ADRERR): Likewise.
39461         (BUS_OBJERR): Likewise.
39462         (BUS_MCEERR_AR): Likewise.
39463         (BUS_MCEERR_AO): Likewise.
39464         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39465         (TRAP_TRACE): Likewise.
39466         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39467         __USE_XOPEN2K8].
39468         (CLD_KILLED): Likewise.
39469         (CLD_DUMPED): Likewise.
39470         (CLD_TRAPPED): Likewise.
39471         (CLD_STOPPED): Likewise.
39472         (CLD_CONTINUED): Likewise.
39473         (POLL_IN): Likewise.
39474         (POLL_OUT): Likewise.
39475         (POLL_MSG): Likewise.
39476         (POLL_ERR): Likewise.
39477         (POLL_PRI): Likewise.
39478         (POLL_HUP): Likewise.
39479         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39480         Likewise.
39481         (ILL_ILLOPN): Likewise.
39482         (ILL_ILLADR): Likewise.
39483         (ILL_ILLTRP): Likewise.
39484         (ILL_PRVOPC): Likewise.
39485         (ILL_PRVREG): Likewise.
39486         (ILL_COPROC): Likewise.
39487         (ILL_BADSTK): Likewise.
39488         (ILL_BADIADDR): Likewise.
39489         (ILL_BREAK): Likewise.
39490         (FPE_INTDIV): Likewise.
39491         (FPE_INTOVF): Likewise.
39492         (FPE_FLTDIV): Likewise.
39493         (FPE_FLTOVF): Likewise.
39494         (FPE_FLTUND): Likewise.
39495         (FPE_FLTRES): Likewise.
39496         (FPE_FLTINV): Likewise.
39497         (FPE_FLTSUB): Likewise.
39498         (FPE_DECOVF): Likewise.
39499         (FPE_DECDIV): Likewise.
39500         (FPE_DECERR): Likewise.
39501         (FPE_INVASC): Likewise.
39502         (FPE_INVDEC): Likewise.
39503         (SEGV_MAPERR): Likewise.
39504         (SEGV_ACCERR): Likewise.
39505         (SEGV_PSTKOVF): Likewise.
39506         (BUS_ADRALN): Likewise.
39507         (BUS_ADRERR): Likewise.
39508         (BUS_OBJERR): Likewise.
39509         (BUS_MCEERR_AR): Likewise.
39510         (BUS_MCEERR_AO): Likewise.
39511         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39512         (TRAP_TRACE): Likewise.
39513         (TRAP_BRANCH): Likewise.
39514         (TRAP_HWBKPT): Likewise.
39515         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39516         __USE_XOPEN2K8].
39517         (CLD_KILLED): Likewise.
39518         (CLD_DUMPED): Likewise.
39519         (CLD_TRAPPED): Likewise.
39520         (CLD_STOPPED): Likewise.
39521         (CLD_CONTINUED): Likewise.
39522         (POLL_IN): Likewise.
39523         (POLL_OUT): Likewise.
39524         (POLL_MSG): Likewise.
39525         (POLL_ERR): Likewise.
39526         (POLL_PRI): Likewise.
39527         (POLL_HUP): Likewise.
39528         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39529         (ILL_ILLOPN): Likewise.
39530         (ILL_ILLADR): Likewise.
39531         (ILL_ILLTRP): Likewise.
39532         (ILL_PRVOPC): Likewise.
39533         (ILL_PRVREG): Likewise.
39534         (ILL_COPROC): Likewise.
39535         (ILL_BADSTK): Likewise.
39536         (FPE_INTDIV): Likewise.
39537         (FPE_INTOVF): Likewise.
39538         (FPE_FLTDIV): Likewise.
39539         (FPE_FLTOVF): Likewise.
39540         (FPE_FLTUND): Likewise.
39541         (FPE_FLTRES): Likewise.
39542         (FPE_FLTINV): Likewise.
39543         (FPE_FLTSUB): Likewise.
39544         (SEGV_MAPERR): Likewise.
39545         (SEGV_ACCERR): Likewise.
39546         (BUS_ADRALN): Likewise.
39547         (BUS_ADRERR): Likewise.
39548         (BUS_OBJERR): Likewise.
39549         (BUS_MCEERR_AR): Likewise.
39550         (BUS_MCEERR_AO): Likewise.
39551         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39552         (TRAP_TRACE): Likewise.
39553         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39554         __USE_XOPEN2K8].
39555         (CLD_KILLED): Likewise.
39556         (CLD_DUMPED): Likewise.
39557         (CLD_TRAPPED): Likewise.
39558         (CLD_STOPPED): Likewise.
39559         (CLD_CONTINUED): Likewise.
39560         (POLL_IN): Likewise.
39561         (POLL_OUT): Likewise.
39562         (POLL_MSG): Likewise.
39563         (POLL_ERR): Likewise.
39564         (POLL_PRI): Likewise.
39565         (POLL_HUP): Likewise.
39566         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39567         (ILL_ILLOPN): Likewise.
39568         (ILL_ILLADR): Likewise.
39569         (ILL_ILLTRP): Likewise.
39570         (ILL_PRVOPC): Likewise.
39571         (ILL_PRVREG): Likewise.
39572         (ILL_COPROC): Likewise.
39573         (ILL_BADSTK): Likewise.
39574         (FPE_INTDIV): Likewise.
39575         (FPE_INTOVF): Likewise.
39576         (FPE_FLTDIV): Likewise.
39577         (FPE_FLTOVF): Likewise.
39578         (FPE_FLTUND): Likewise.
39579         (FPE_FLTRES): Likewise.
39580         (FPE_FLTINV): Likewise.
39581         (FPE_FLTSUB): Likewise.
39582         (SEGV_MAPERR): Likewise.
39583         (SEGV_ACCERR): Likewise.
39584         (BUS_ADRALN): Likewise.
39585         (BUS_ADRERR): Likewise.
39586         (BUS_OBJERR): Likewise.
39587         (BUS_MCEERR_AR): Likewise.
39588         (BUS_MCEERR_AO): Likewise.
39589         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39590         (TRAP_TRACE): Likewise.
39591         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39592         __USE_XOPEN2K8].
39593         (CLD_KILLED): Likewise.
39594         (CLD_DUMPED): Likewise.
39595         (CLD_TRAPPED): Likewise.
39596         (CLD_STOPPED): Likewise.
39597         (CLD_CONTINUED): Likewise.
39598         (POLL_IN): Likewise.
39599         (POLL_OUT): Likewise.
39600         (POLL_MSG): Likewise.
39601         (POLL_ERR): Likewise.
39602         (POLL_PRI): Likewise.
39603         (POLL_HUP): Likewise.
39604         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39605         (ILL_ILLOPN): Likewise.
39606         (ILL_ILLADR): Likewise.
39607         (ILL_ILLTRP): Likewise.
39608         (ILL_PRVOPC): Likewise.
39609         (ILL_PRVREG): Likewise.
39610         (ILL_COPROC): Likewise.
39611         (ILL_BADSTK): Likewise.
39612         (FPE_INTDIV): Likewise.
39613         (FPE_INTOVF): Likewise.
39614         (FPE_FLTDIV): Likewise.
39615         (FPE_FLTOVF): Likewise.
39616         (FPE_FLTUND): Likewise.
39617         (FPE_FLTRES): Likewise.
39618         (FPE_FLTINV): Likewise.
39619         (FPE_FLTSUB): Likewise.
39620         (SEGV_MAPERR): Likewise.
39621         (SEGV_ACCERR): Likewise.
39622         (BUS_ADRALN): Likewise.
39623         (BUS_ADRERR): Likewise.
39624         (BUS_OBJERR): Likewise.
39625         (BUS_MCEERR_AR): Likewise.
39626         (BUS_MCEERR_AO): Likewise.
39627         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39628         (TRAP_TRACE): Likewise.
39629         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39630         __USE_XOPEN2K8].
39631         (CLD_KILLED): Likewise.
39632         (CLD_DUMPED): Likewise.
39633         (CLD_TRAPPED): Likewise.
39634         (CLD_STOPPED): Likewise.
39635         (CLD_CONTINUED): Likewise.
39636         (POLL_IN): Likewise.
39637         (POLL_OUT): Likewise.
39638         (POLL_MSG): Likewise.
39639         (POLL_ERR): Likewise.
39640         (POLL_PRI): Likewise.
39641         (POLL_HUP): Likewise.
39642         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39643         (ILL_ILLOPN): Likewise.
39644         (ILL_ILLADR): Likewise.
39645         (ILL_ILLTRP): Likewise.
39646         (ILL_PRVOPC): Likewise.
39647         (ILL_PRVREG): Likewise.
39648         (ILL_COPROC): Likewise.
39649         (ILL_BADSTK): Likewise.
39650         (ILL_DBLFLT): Likewise.
39651         (ILL_HARDWALL): Likewise.
39652         (FPE_INTDIV): Likewise.
39653         (FPE_INTOVF): Likewise.
39654         (FPE_FLTDIV): Likewise.
39655         (FPE_FLTOVF): Likewise.
39656         (FPE_FLTUND): Likewise.
39657         (FPE_FLTRES): Likewise.
39658         (FPE_FLTINV): Likewise.
39659         (FPE_FLTSUB): Likewise.
39660         (SEGV_MAPERR): Likewise.
39661         (SEGV_ACCERR): Likewise.
39662         (BUS_ADRALN): Likewise.
39663         (BUS_ADRERR): Likewise.
39664         (BUS_OBJERR): Likewise.
39665         (BUS_MCEERR_AR): Likewise.
39666         (BUS_MCEERR_AO): Likewise.
39667         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39668         (TRAP_TRACE): Likewise.
39669         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39670         __USE_XOPEN2K8].
39671         (CLD_KILLED): Likewise.
39672         (CLD_DUMPED): Likewise.
39673         (CLD_TRAPPED): Likewise.
39674         (CLD_STOPPED): Likewise.
39675         (CLD_CONTINUED): Likewise.
39676         (POLL_IN): Likewise.
39677         (POLL_OUT): Likewise.
39678         (POLL_MSG): Likewise.
39679         (POLL_ERR): Likewise.
39680         (POLL_PRI): Likewise.
39681         (POLL_HUP): Likewise.
39682         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39683         (ILL_ILLOPN): Likewise.
39684         (ILL_ILLADR): Likewise.
39685         (ILL_ILLTRP): Likewise.
39686         (ILL_PRVOPC): Likewise.
39687         (ILL_PRVREG): Likewise.
39688         (ILL_COPROC): Likewise.
39689         (ILL_BADSTK): Likewise.
39690         (FPE_INTDIV): Likewise.
39691         (FPE_INTOVF): Likewise.
39692         (FPE_FLTDIV): Likewise.
39693         (FPE_FLTOVF): Likewise.
39694         (FPE_FLTUND): Likewise.
39695         (FPE_FLTRES): Likewise.
39696         (FPE_FLTINV): Likewise.
39697         (FPE_FLTSUB): Likewise.
39698         (SEGV_MAPERR): Likewise.
39699         (SEGV_ACCERR): Likewise.
39700         (BUS_ADRALN): Likewise.
39701         (BUS_ADRERR): Likewise.
39702         (BUS_OBJERR): Likewise.
39703         (BUS_MCEERR_AR): Likewise.
39704         (BUS_MCEERR_AO): Likewise.
39705         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39706         (TRAP_TRACE): Likewise.
39707         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39708         __USE_XOPEN2K8].
39709         (CLD_KILLED): Likewise.
39710         (CLD_DUMPED): Likewise.
39711         (CLD_TRAPPED): Likewise.
39712         (CLD_STOPPED): Likewise.
39713         (CLD_CONTINUED): Likewise.
39714         (POLL_IN): Likewise.
39715         (POLL_OUT): Likewise.
39716         (POLL_MSG): Likewise.
39717         (POLL_ERR): Likewise.
39718         (POLL_PRI): Likewise.
39719         (POLL_HUP): Likewise.
39720         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39721         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39723         [BZ #16670]
39724         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39725         before #include of <time.h>.
39726         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39727         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39728         (test-xfail-UNIX98/sched.h/conform): Likewise.
39730 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39732         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39733         error absence of trapping exception support.
39734         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39736 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39738         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39739         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39740         * timezone/Makefile (testdata): Move definition above include of
39741         Rules.
39742         (test-zones): New variable.
39743         (tests-special): Add zone files.
39744         (build-testdata): Use $(evaluate-test).
39746         * elf/Makefile (tests-special): Rename tests to end with .out.
39747         ($(objpfx)noload-mem): Likewise.
39748         ($(objpfx)tst-leaks1-mem): Likewise.
39749         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39750         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39751         $(objpfx)test-iconvconfig.out.
39752         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39753         set -e inside subshell and redirect output to file.
39754         * iconvdata/Makefile (generated): Rename tests to end with .out.
39755         Correct type.
39756         (tests-special): Rename tests to end with .out.
39757         ($(objpfx)mtrace-tst-loading): Likewise.
39758         * intl/Makefile (generated): Likewise.
39759         (tests-special): Likewise.
39760         ($(objpfx)mtrace-tst-gettext): Likewise.
39761         * misc/Makefile (generated): Likewise.
39762         (tests-special): Likewise.
39763         ($(objpfx)tst-error1-mem): Likewise.
39764         * nptl/Makefile (tests-special): Likewise.
39765         ($(objpfx)tst-stack3-mem): Likewise.
39766         (generated): Likewise.
39767         * posix/Makefile (generated): Likewise.
39768         (tests-special): Likewise.
39769         (xtests-special): Likewise.
39770         ($(objpfx)tst-fnmatch-mem): Likewise.
39771         ($(objpfx)bug-regex2-mem): Likewise.
39772         ($(objpfx)bug-regex14-mem): Likewise.
39773         ($(objpfx)bug-regex21-mem): Likewise.
39774         ($(objpfx)bug-regex31-mem): Likewise.
39775         ($(objpfx)tst-vfork3-mem): Likewise.
39776         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39777         ($(objpfx)tst-pcre-mem): Likewise.
39778         ($(objpfx)tst-boost-mem): Likewise.
39779         ($(objpfx)bug-ga2-mem): Likewise.
39780         ($(objpfx)bug-glob2-mem): Likewise.
39781         * resolv/Makefile (generate): Likewise.
39782         (tests-special): Likewise.
39783         (xtests-special): Likewise.
39784         (generated): Likewise.
39785         ($(objpfx)mtrace-tst-leaks): Likewise.
39786         ($(objpfx)mtrace-tst-leaks2): Likewise.
39788         * scripts/merge-test-results.sh: New file.
39789         * Makefile (tests-special-notdir): New variable.
39790         (tests): Run merge-test-results.sh.
39791         (xtests): Likewise.
39792         * Rules (tests-special-notdir): New variable.
39793         (xtests-special-notdir): Likewise.
39794         (tests): Run merge-test-results.sh
39795         (xtests): Likewise.
39797         * Makeconfig (test-xfail-name): New variable.
39798         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39799         compute variable name for expected failures.
39800         * conform/Makefile (conformtest-headers-data): New variable.
39801         (conformtest-standards): Likewise.
39802         (conformtest-headers-ISO): Likewise.
39803         (conformtest-headers-ISO99): Likewise.
39804         (conformtest-headers-ISO11): Likewise.
39805         (conformtest-headers-POSIX): Likewise.
39806         (conformtest-headers-XPG3): Likewise.
39807         (conformtest-headers-XPG4): Likewise.
39808         (conformtest-headers-UNIX98): Likewise.
39809         (conformtest-headers-XOPEN2K): Likewise.
39810         (conformtest-headers-POSIX2008): Likewise.
39811         (conformtest-headers-XOPEN2K8): Likewise.
39812         (conformtest-header-list-base): Likewise.
39813         (conformtest-header-list-tests): Likewise.
39814         (conformtest-header-base): Likewise.
39815         (conformtest-header-tests): Likewise.
39816         (tests-special): Add $(conformtest-header-list-tests).  If
39817         [$(fast-check) && !$(cross-compiling)], add
39818         $(conformtest-header-tests) instead of
39819         $(objpfx)run-conformtest.out.
39820         (generated): Add $(conformtest-header-list-base).  If
39821         [$(fast-check) && !$(cross-compiling)], add
39822         $(conformtest-header-base).  Remove previous setting.
39823         ($(conformtest-header-list-tests)): New target.
39824         (test-xfail-run-conformtest): Remove variable.
39825         ($(objpfx)run-conformtest.out): Remove target.
39826         (test-xfail-ISO11/complex.h/conform): New variable.
39827         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39828         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39829         (test-xfail-XPG3/varargs.h/conform): Likewise.
39830         (test-xfail-XPG4/varargs.h/conform): Likewise.
39831         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39832         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39833         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39834         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39835         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39836         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39837         (test-xfail-XPG3/ftw.h/conform): Likewise.
39838         (test-xfail-XPG3/grp.h/conform): Likewise.
39839         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39840         (test-xfail-XPG3/limits.h/conform): Likewise.
39841         (test-xfail-XPG3/pwd.h/conform): Likewise.
39842         (test-xfail-XPG3/search.h/conform): Likewise.
39843         (test-xfail-XPG3/signal.h/conform): Likewise.
39844         (test-xfail-XPG3/stdio.h/conform): Likewise.
39845         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39846         (test-xfail-XPG3/string.h/conform): Likewise.
39847         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39848         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39849         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39850         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39851         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39852         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39853         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39854         (test-xfail-XPG3/termios.h/conform): Likewise.
39855         (test-xfail-XPG3/time.h/conform): Likewise.
39856         (test-xfail-XPG3/unistd.h/conform): Likewise.
39857         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39858         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39859         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39860         (test-xfail-XPG4/netdb.h/conform): Likewise.
39861         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39862         (test-xfail-XPG4/signal.h/conform): Likewise.
39863         (test-xfail-XPG4/stdio.h/conform): Likewise.
39864         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39865         (test-xfail-XPG4/stropts.h/conform): Likewise.
39866         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39867         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39868         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39869         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39870         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39871         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39872         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39873         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39874         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39875         (test-xfail-XPG4/termios.h/conform): Likewise.
39876         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39877         (test-xfail-XPG4/unistd.h/conform): Likewise.
39878         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39879         (test-xfail-POSIX/sched.h/conform): Likewise.
39880         (test-xfail-POSIX/signal.h/conform): Likewise.
39881         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39882         (test-xfail-POSIX/tar.h/conform): Likewise.
39883         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39884         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39885         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39886         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39887         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39888         (test-xfail-UNIX98/sched.h/conform): Likewise.
39889         (test-xfail-UNIX98/signal.h/conform): Likewise.
39890         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39891         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39892         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39893         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39894         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39895         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39896         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39897         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39898         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39899         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39900         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39901         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39902         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39903         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39904         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39905         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39906         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39907         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39908         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39909         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39910         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39911         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39912         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39913         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39914         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39915         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39916         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39917         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39918         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39919         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39920         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39921         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39922         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39923         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39924         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39925         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39926         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39927         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39928         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39929         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39930         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39931         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39932         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39933         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39934         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39935         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39936         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39937         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39938         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39939         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39940         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39941         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39942         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39943         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39944         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39945         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39946         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39947         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39948         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39949         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39950         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39951         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39952         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39953         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39954         (conformtest-cc-flags): Likewise.
39955         ($(conformtest-header-tests): New target.
39956         * conform/check-header-lists.sh: New file.
39957         * conform/run-conformtest.sh: Remove.
39959         * conform/conformtest.pl: Allow ' and \ in values given for
39960         constants.
39961         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39962         inclusion.
39963         [POSIX] (sys/types.h): Likewise.
39964         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39965         inclusion.
39966         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39967         inclusion.
39968         * conform/data/signal.h-data (SIGIO): Remove expectation.
39969         [XPG3] (SIGBUS): Do not expect.
39970         [POSIX || XPG3] (SIGPOLL): Likewise.
39971         [POSIX || XPG3] (SIGPROF): Likewise.
39972         [POSIX || XPG3] (SIGSYS): Likewise.
39973         [XPG3] (SIGTRAP): Likewise.
39974         [POSIX || XPG3] (SIGURG): Likewise.
39975         [POSIX || XPG3] (SIGVTALRM): Likewise.
39976         [POSIX || XPG3] (SIGXCPU): Likewise.
39977         [POSIX || XPG3] (SIGXFSZ): Likewise.
39978         [POSIX] (SA_SIGINFO): Expect.
39979         [XPG3] (siginfo_t): Do not expect type or contents.
39980         [POSIX] (si_pid): Do not expect element.
39981         [POSIX] (si_uid): Likewise.
39982         [POSIX] (si_addr): Likewise.
39983         [POSIX] (si_status): Likewise.
39984         [POSIX] (si_band): Likewise.
39985         [XPG4] (si_value): Likewise.
39986         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39987         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39988         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39989         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39990         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39991         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39992         [POSIX || XPG3] (ILL_COPROC): Likewise.
39993         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39994         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39995         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39996         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39997         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39998         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39999         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40000         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40001         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40002         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40003         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40004         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40005         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40006         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40007         [POSIX || XPG3] (CLD_EXITED): Likewise.
40008         [POSIX || XPG3] (CLD_KILLED): Likewise.
40009         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40010         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40011         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40012         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40013         [POSIX || XPG3] (POLL_IN): Likewise.
40014         [POSIX || XPG3] (POLL_OUT): Likewise.
40015         [POSIX || XPG3] (POLL_MSG): Likewise.
40016         [POSIX || XPG3] (POLL_ERR): Likewise.
40017         [POSIX || XPG3] (POLL_PRI): Likewise.
40018         [POSIX || XPG3] (POLL_HUP): Likewise.
40019         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40020         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40021         (SIG*): Do not allow.
40022         [XPG3] (si_*): Likewise.
40023         [XPG3] (SI_*): Likewise.
40024         [XPG3 || XPG4] (sigev_*): Likewise.
40025         [XPG3 || XPG4] (SIGEV_*): Likewise.
40026         [XPG3 || XPG4] (sival_*): Likewise.
40027         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40028         [POSIX || XPG3] (BUS_*): Likewise.
40029         [POSIX || XPG3] (CLD_*): Likewise.
40030         [POSIX || XPG3] (FPE_*): Likewise.
40031         [POSIX || XPG3] (ILL_*): Likewise.
40032         [POSIX || XPG3] (POLL_*): Likewise.
40033         [POSIX || XPG3] (SEGV_*): Likewise.
40034         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40035         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40036         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40037         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40038         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40039         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40040         Specify type and value.
40041         (TVERSLEN): Likewise.
40042         (REGTYPE): Likewise.
40043         (AREGTYPE): Likewise.
40044         (LNKTYPE): Likewise.
40045         (SYMTYPE): Likewise.
40046         (CHRTYPE): Likewise.
40047         (BLKTYPE): Likewise.
40048         (DIRTYPE): Likewise.
40049         (FIFOTYPE): Likewise.
40050         (CONTTYPE): Likewise.
40051         (TSUID): Likewise.
40052         (TSGID): Likewise.
40053         (TSVTX): Likewise.
40054         (TUREAD): Likewise.
40055         (TUWRITE): Likewise.
40056         (TUEXEC): Likewise.
40057         (TGREAD): Likewise.
40058         (TGWRITE): Likewise.
40059         (TGEXEC): Likewise.
40060         (TOREAD): Likewise.
40061         (TOWRITE): Likewise.
40062         (TOEXEC): Likewise.
40063         [POSIX] (TSVTX): Expect constant.
40065 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40067         * Makefile (tests): Change dependencies to ....
40068         (tests-special): ... additions to this variable.
40069         (tests): Depend on $(tests-special).
40070         * Makerules (check-abi-list): New variable.
40071         (check-abi): Depend on $(check-abi-list).
40072         [$(subdir) = elf] (tests-special): Add
40073         $(objpfx)check-abi-libc.out.
40074         [$(build-shared) = yes && subdir] (tests-special): Add
40075         $(check-abi-list).
40076         [$(build-shared) = yes && subdir] (tests): Do not depend on
40077         check-abi.
40078         * Rules (tests): Depend on $(tests-special).
40079         (xtests): Depend on $(xtests-special).
40080         * catgets/Makefile (tests): Change dependencies to ....
40081         (tests-special): ... additions to this variable.
40082         * conform/Makefile (tests): Change dependencies to ....
40083         (tests-special): ... additions to this variable.
40084         * elf/Makefile (tests): Change dependencies to ....
40085         (tests-special): ... additions to this variable.
40086         * grp/Makefile (tests): Change dependencies to ....
40087         (tests-special): ... additions to this variable.
40088         * iconv/Makefile (xtests): Change dependencies to ....
40089         (xtests-special): ... additions to this variable.
40090         * iconvdata/Makefile (tests): Change dependencies to ....
40091         (tests-special): ... additions to this variable.
40092         * intl/Makefile (tests): Change dependencies to ....
40093         (tests-special): ... additions to this variable.  Also add
40094         $(objpfx)tst-gettext.out.
40095         * io/Makefile (tests): Change dependencies to ....
40096         (tests-special): ... additions to this variable.
40097         * libio/Makefile (tests): Change dependencies to ....
40098         (tests-special): ... additions to this variable.
40099         * malloc/Makefile (tests): Change dependencies to ....
40100         (tests-special): ... additions to this variable.
40101         * misc/Makefile (tests): Change dependencies to ....
40102         (tests-special): ... additions to this variable.
40103         * nptl/Makefile (tests): Change dependencies to ....
40104         (tests-special): ... additions to this variable.
40105         * nptl_db/Makefile (tests): Change dependencies to ....
40106         (tests-special): ... additions to this variable.
40107         * posix/Makefile (tests): Change dependencies to ....
40108         (tests-special): ... additions to this variable.
40109         (xtests): Change dependencies to ....
40110         (xtests-special): ... additions to this variable.
40111         * resolv/Makefile (tests): Change dependencies to ....
40112         (tests-special): ... additions to this variable.
40113         (xtests): Change dependencies to ....
40114         (xtests-special): ... additions to this variable.
40115         * stdio-common/Makefile (tests): Change dependencies to ....
40116         (tests-special): ... additions to this variable.
40117         (do-tst-unbputc): Remove target.
40118         (do-tst-printf): Likewise.
40119         * stdlib/Makefile (tests): Change dependencies to ....
40120         (tests-special): ... additions to this variable.
40121         * string/Makefile (tests): Change dependencies to ....
40122         (tests-special): ... additions to this variable.
40123         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40124         (tests-special): ... additions to this variable.
40126         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40127         whole file.
40128         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40129         whole file.
40130         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40131         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40133         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40134         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40135         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40136         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40137         * conform/data/libgen.h-data [XPG3]: Likewise.
40138         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40139         * conform/data/ndbm.h-data [XPG3]: Likewise.
40140         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40141         * conform/data/netdb.h-data [XPG3]: Likewise.
40142         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40143         * conform/data/poll.h-data [XPG3]: Likewise.
40144         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40145         * conform/data/strings.h-data [XPG3]: Likewise.
40146         * conform/data/stropts.h-data [XPG3]: Likewise.
40147         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40148         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40149         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40150         Likewise.
40151         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40152         * conform/data/sys/time.h-data [XPG3]: Likewise.
40153         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40154         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40155         * conform/data/sys/un.h-data [XPG3]: Likewise.
40156         * conform/data/syslog.h-data [XPG3]: Likewise.
40157         * conform/data/ucontext.h-data [XPG3]: Likewise.
40158         * conform/data/utmpx.h-data [XPG3]: Likewise.
40159         * conform/data/varargs.h-data [UNIX98]: Enable file.
40161         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40163         * math/libm-test.inc (struct test_f_f_data): Move expected results
40164         into structure for each rounding mode.
40165         (struct test_ff_f_data): Likewise.
40166         (struct test_ff_f_data_nexttoward): Likewise.
40167         (struct test_fi_f_data): Likewise.
40168         (struct test_fl_f_data): Likewise.
40169         (struct test_if_f_data): Likewise.
40170         (struct test_fff_f_data): Likewise.
40171         (struct test_c_f_data): Likewise.
40172         (struct test_f_f1_data): Likewise.
40173         (struct test_fF_f1_data): Likewise.
40174         (struct test_ffI_f1_data): Likewise.
40175         (struct test_c_c_data): Likewise.
40176         (struct test_cc_c_data): Likewise.
40177         (struct test_f_i_data): Likewise.
40178         (struct test_ff_i_data): Likewise.
40179         (struct test_f_l_data): Likewise.
40180         (struct test_f_L_data): Likewise.
40181         (struct test_fFF_11_data): Likewise.
40182         (RM_): New macro.
40183         (RM_FE_DOWNWARD): Likewise.
40184         (RM_FE_TONEAREST): Likewise.
40185         (RM_FE_TOWARDZERO): Likewise.
40186         (RM_FE_UPWARD): Likewise.
40187         (RUN_TEST_LOOP_f_f): Update references to expected results.
40188         (RUN_TEST_LOOP_2_f): Likewise.
40189         (RUN_TEST_LOOP_fff_f): Likewise.
40190         (RUN_TEST_LOOP_c_f): Likewise.
40191         (RUN_TEST_LOOP_f_f1): Likewise.
40192         (RUN_TEST_LOOP_fF_f1): Likewise.
40193         (RUN_TEST_LOOP_fI_f1): Likewise.
40194         (RUN_TEST_LOOP_ffI_f1): Likewise.
40195         (RUN_TEST_LOOP_c_c): Likewise.
40196         (RUN_TEST_LOOP_cc_c): Likewise.
40197         (RUN_TEST_LOOP_f_i): Likewise.
40198         (RUN_TEST_LOOP_f_i_tg): Likewise.
40199         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40200         (RUN_TEST_LOOP_f_b): Likewise.
40201         (RUN_TEST_LOOP_f_b_tg): Likewise.
40202         (RUN_TEST_LOOP_f_l): Likewise.
40203         (RUN_TEST_LOOP_f_L): Likewise.
40204         (RUN_TEST_LOOP_fFF_11): Likewise.
40205         * math/gen-libm-test.pl (parse_args): Output four copies of
40206         expected results for each test.
40208         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40209         (__ASSUME_UTIMES): Remove.
40210         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40211         (__ASSUME_UTIMES): Likewise.
40213         * math/gen-auto-libm-tests.c: Update comment on output format.
40214         (output_for_one_input_case): Generate before-rounding and
40215         after-rounding information as conditions on output flags not
40216         floating-point format.
40217         * math/auto-libm-test-out: Regenerated.
40218         * math/gen-libm-test.pl (cond_value): New function.
40219         (or_cond_value): Use cond_value.
40220         (generate_testfile): Handle conditional exceptions.
40222 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40224         * math/libm-test.inc (max_valid_error): New variable.
40225         (init_max_error): Take new argument specifying whether function
40226         results are exactly determined.  Set max_valid_error and bound
40227         other variables for errors based on this argument.
40228         (set_max_error): Do not record results above max_valid_error.
40229         (check_float_internal): Only accept errors of up to 0.5ulps if
40230         also at most max_valid_error.
40231         (START): Take new argument EXACT and pass it to init_max_error.
40232         (acos_test): Update call to START.
40233         (acos_test_tonearest): Likewise.
40234         (acos_test_towardzero): Likewise.
40235         (acos_test_downward): Likewise.
40236         (acos_test_upward): Likewise.
40237         (acosh_test): Likewise.
40238         (asin_test): Likewise.
40239         (asin_test_tonearest): Likewise.
40240         (asin_test_towardzero): Likewise.
40241         (asin_test_downward): Likewise.
40242         (asin_test_upward): Likewise.
40243         (asinh_test): Likewise.
40244         (atan_test): Likewise.
40245         (atanh_test): Likewise.
40246         (atan2_test): Likewise.
40247         (cabs_test): Likewise.
40248         (cacos_test): Likewise.
40249         (cacosh_test): Likewise.
40250         (carg_test): Likewise.
40251         (casin_test): Likewise.
40252         (casinh_test): Likewise.
40253         (catan_test): Likewise.
40254         (catanh_test): Likewise.
40255         (cbrt_test): Likewise.
40256         (ccos_test): Likewise.
40257         (ccosh_test): Likewise.
40258         (ceil_test): Likewise.
40259         (cexp_test): Likewise.
40260         (cimag_test): Likewise.
40261         (clog_test): Likewise.
40262         (clog10_test): Likewise.
40263         (conj_test): Likewise.
40264         (copysign_test): Likewise.
40265         (cos_test): Likewise.
40266         (cos_test_tonearest): Likewise.
40267         (cos_test_towardzero): Likewise.
40268         (cos_test_downward): Likewise.
40269         (cos_test_upward): Likewise.
40270         (cosh_test): Likewise.
40271         (cosh_test_tonearest): Likewise.
40272         (cosh_test_towardzero): Likewise.
40273         (cosh_test_downward): Likewise.
40274         (cosh_test_upward): Likewise.
40275         (cpow_test): Likewise.
40276         (cproj_test): Likewise.
40277         (creal_test): Likewise.
40278         (csin_test): Likewise.
40279         (csinh_test): Likewise.
40280         (csqrt_test): Likewise.
40281         (ctan_test): Likewise.
40282         (ctan_test_tonearest): Likewise.
40283         (ctan_test_towardzero): Likewise.
40284         (ctan_test_downward): Likewise.
40285         (ctan_test_upward): Likewise.
40286         (ctanh_test): Likewise.
40287         (ctanh_test_tonearest): Likewise.
40288         (ctanh_test_towardzero): Likewise.
40289         (ctanh_test_downward): Likewise.
40290         (ctanh_test_upward): Likewise.
40291         (erf_test): Likewise.
40292         (erfc_test): Likewise.
40293         (exp_test): Likewise.
40294         (exp_test_tonearest): Likewise.
40295         (exp_test_towardzero): Likewise.
40296         (exp_test_downward): Likewise.
40297         (exp_test_upward): Likewise.
40298         (exp10_test): Likewise.
40299         (exp10_test_tonearest): Likewise.
40300         (exp10_test_towardzero): Likewise.
40301         (exp10_test_downward): Likewise.
40302         (exp10_test_upward): Likewise.
40303         (pow10_test): Likewise.
40304         (exp2_test): Likewise.
40305         (expm1_test): Likewise.
40306         (expm1_test_tonearest): Likewise.
40307         (expm1_test_towardzero): Likewise.
40308         (expm1_test_downward): Likewise.
40309         (expm1_test_upward): Likewise.
40310         (fabs_test): Likewise.
40311         (fdim_test): Likewise.
40312         (floor_test): Likewise.
40313         (fma_test): Likewise.
40314         (fma_test_towardzero): Likewise.
40315         (fma_test_downward): Likewise.
40316         (fma_test_upward): Likewise.
40317         (fmax_test): Likewise.
40318         (fmin_test): Likewise.
40319         (fmod_test): Likewise.
40320         (fpclassify_test): Likewise.
40321         (frexp_test): Likewise.
40322         (hypot_test): Likewise.
40323         (ilogb_test): Likewise.
40324         (isfinite_test): Likewise.
40325         (finite_test): Likewise.
40326         (isgreater_test): Likewise.
40327         (isgreaterequal_test): Likewise.
40328         (isinf_test): Likewise.
40329         (isless_test): Likewise.
40330         (islessequal_test): Likewise.
40331         (islessgreater_test): Likewise.
40332         (isnan_test): Likewise.
40333         (isnormal_test): Likewise.
40334         (issignaling_test): Likewise.
40335         (isunordered_test): Likewise.
40336         (j0_test): Likewise.
40337         (j1_test): Likewise.
40338         (jn_test): Likewise.
40339         (ldexp_test): Likewise.
40340         (lgamma_test): Likewise.
40341         (gamma_test): Likewise.
40342         (lrint_test): Likewise.
40343         (lrint_test_tonearest): Likewise.
40344         (lrint_test_towardzero): Likewise.
40345         (lrint_test_downward): Likewise.
40346         (lrint_test_upward): Likewise.
40347         (llrint_test): Likewise.
40348         (llrint_test_tonearest): Likewise.
40349         (llrint_test_towardzero): Likewise.
40350         (llrint_test_downward): Likewise.
40351         (llrint_test_upward): Likewise.
40352         (log_test): Likewise.
40353         (log10_test): Likewise.
40354         (log1p_test): Likewise.
40355         (log2_test): Likewise.
40356         (logb_test): Likewise.
40357         (logb_test_downward): Likewise.
40358         (lround_test): Likewise.
40359         (llround_test): Likewise.
40360         (modf_test): Likewise.
40361         (nearbyint_test): Likewise.
40362         (nextafter_test): Likewise.
40363         (nexttoward_test): Likewise.
40364         (pow_test): Likewise.
40365         (pow_test_tonearest): Likewise.
40366         (pow_test_towardzero): Likewise.
40367         (pow_test_downward): Likewise.
40368         (pow_test_upward): Likewise.
40369         (remainder_test): Likewise.
40370         (drem_test): Likewise.
40371         (remainder_test_tonearest): Likewise.
40372         (drem_test_tonearest): Likewise.
40373         (remainder_test_towardzero): Likewise.
40374         (drem_test_towardzero): Likewise.
40375         (remainder_test_downward): Likewise.
40376         (drem_test_downward): Likewise.
40377         (remainder_test_upward): Likewise.
40378         (drem_test_upward): Likewise.
40379         (remquo_test): Likewise.
40380         (rint_test): Likewise.
40381         (rint_test_tonearest): Likewise.
40382         (rint_test_towardzero): Likewise.
40383         (rint_test_downward): Likewise.
40384         (rint_test_upward): Likewise.
40385         (round_test): Likewise.
40386         (scalb_test): Likewise.
40387         (scalbn_test): Likewise.
40388         (scalbln_test): Likewise.
40389         (signbit_test): Likewise.
40390         (sin_test): Likewise.
40391         (sin_test_tonearest): Likewise.
40392         (sin_test_towardzero): Likewise.
40393         (sin_test_downward): Likewise.
40394         (sin_test_upward): Likewise.
40395         (sincos_test): Likewise.
40396         (sinh_test): Likewise.
40397         (sinh_test_tonearest): Likewise.
40398         (sinh_test_towardzero): Likewise.
40399         (sinh_test_downward): Likewise.
40400         (sinh_test_upward): Likewise.
40401         (sqrt_test): Likewise.
40402         (sqrt_test_tonearest): Likewise.
40403         (sqrt_test_towardzero): Likewise.
40404         (sqrt_test_downward): Likewise.
40405         (sqrt_test_upward): Likewise.
40406         (tan_test): Likewise.
40407         (tan_test_tonearest): Likewise.
40408         (tan_test_towardzero): Likewise.
40409         (tan_test_downward): Likewise.
40410         (tan_test_upward): Likewise.
40411         (tanh_test): Likewise.
40412         (tgamma_test): Likewise.
40413         (trunc_test): Likewise.
40414         (y0_test): Likewise.
40415         (y1_test): Likewise.
40416         (yn_test): Likewise.
40417         (significand_test): Likewise.
40419         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40420         individual tests in comment.
40421         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40422         (prev_max_error): New variable.
40423         (prev_real_max_error): Likewise.
40424         (prev_imag_max_error): Likewise.
40425         (compare_ulp_data): Don't refer to test names in comment.
40426         (find_test_ulps): Remove function.
40427         (find_function_ulps): Likewise.
40428         (find_complex_function_ulps): Likewise.
40429         (init_max_error): Take function name as argument.  Look up ulps
40430         for that function.
40431         (print_ulps): Remove function.
40432         (print_max_error): Use prev_max_error instead of calling
40433         find_function_ulps.
40434         (print_complex_max_error): Use prev_real_max_error and
40435         prev_imag_max_error instead of calling find_complex_function_ulps.
40436         (check_float_internal): Take max_ulp parameter instead of calling
40437         find_test_ulps.  Don't call print_ulps.
40438         (check_float): Update call to check_float_internal.
40439         (check_complex): Update calls to check_float_internal.
40440         (START): Pass argument to init_max_error.
40441         * math/gen-libm-test.pl (%results): Don't include "kind"
40442         information.
40443         (parse_ulps): Don't handle ulps of individual tests.
40444         (print_ulps_file): Likewise.
40445         (output_ulps): Likewise.
40446         * math/README.libm-test: Update.
40447         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40448         individual tests.
40449         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40450         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40451         * sysdeps/arm/libm-test-ulps: Likewise.
40452         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40453         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40454         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40455         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40456         * sysdeps/microblaze/libm-test-ulps: Likewise.
40457         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40458         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40459         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40460         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40461         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40462         * sysdeps/sh/libm-test-ulps: Likewise.
40463         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40464         * sysdeps/tile/libm-test-ulps: Likewise.
40465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40467 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40469         * math/libm-test.inc (print_complex_max_error): Check separately
40470         whether real and imaginary errors are within allowed range and
40471         pass 0 to print_complex_function_ulps instead of value within
40472         allowed range.
40474 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40476         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40477         formatting.
40478         (get_handles_fopen): Likewise.
40479         (do_write_test): Likewise.
40481         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40483         * libio/fileops.c (do_ftell): Use cached offset when
40484         available.
40485         * libio/iofwide.c (do_ftell_wide): Likewise.
40486         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40487         _IO_file_attach.
40488         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40490         [BZ #16532]
40491         * libio/libioP.h (get_file_offset): New function.
40492         * libio/fileops.c (get_file_offset): Likewise.
40493         (do_ftell): Likewise.
40494         (_IO_new_file_seekoff): Split out ftell logic.
40495         * libio/wfileops.c (do_ftell_wide): Likewise.
40496         (_IO_wfile_seekoff): Split out ftell logic.
40497         * libio/tst-ftell-active-handler.c: New test case.
40498         * libio/Makefile (tests): Add it.
40500 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40502         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40503         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40505 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40507         [BZ #16639]
40508         * nscd/connections.c (nscd_init): Call do_exit.
40509         (start_threads): Call do_exit and notify_parent.
40510         (begin_drop_privileges): Call do_exit.
40511         (finish_drop_privileges): Likewise.
40512         * nscd/selinux.c (preserve_capabilities): Likewise.
40513         (install_real_capabilities): Likewise.
40514         (nscd_selinux_enabled): Likewise.
40515         (avc_create_thread): Likewise.
40516         (avc_alloc_lock): Likewise.
40517         (nscd_avc_init): Likewise.
40518         * nscd/nscd.c (parent_fd): New static variable.
40519         (main): Create a pipe between parent and child processes.
40520         Skip closing parent_fd.
40521         (monitor_child): New function.
40522         (do_exit): Likewise.
40523         (notify_parent): Likewise.
40524         * nscd/nscd.h (notify_parent): Likewise.
40525         (do_exit): Likewise.
40527 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40529         * malloc/malloc.c (__libc_calloc): Revert last change.
40531 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40535 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40537         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40539         implementation.
40540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40541         (__libc_ifunc_impl_list): Likewise.
40542         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40543         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40544         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40545         * string/strrchr.c: Define STRRCHR.
40547 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40549         * benchtest/bench-strtok.c (simple_strtok): Delete.
40550         (strtok_string): Use as benchmark.
40551         * string/strtok (STRTOK): New macro.
40553 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40555         * manual/threads.texi: Add header and standard comments to all
40556         functions.
40558         * elf/dl-lookup.c (check_match): New function.
40559         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40560         (do_lookup_x): Remove nested function check_match. Use non-nested
40561         function check_match.
40563 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40565         * csu/Makefile (generated, before-compile): Use += rather than =.
40566         * catgets/Makefile (generated, generated-dirs): Likewise.
40567         * debug/Makefile (generated): Likewise.
40568         * dlfcn/Makefile (generated): Likewise.
40569         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40570         * iconvdata/Makefile (before-compile, generated): Likewise.
40571         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40572         * libio/Makefile (generated): Likewise.
40573         * malloc/Makefile (generated): Likewise.
40574         * manual/Makefile (generated, generated-dirs): Likewise.
40575         * misc/Makefile (generated): Likewise.
40576         * posix/Makefile (generated): Likewise.
40577         * resolv/Makefile (generated): Likewise.
40578         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40579         * timezone/Makefile (generated, generated-dirs): Likewise.
40581         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40583 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40586         power8 implementation.
40587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40588         file: POWER8 llround ifunc implementation.
40589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40590         (__lllround): Add POWER8 implementation.
40591         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40592         POWER8 llround implementation.
40594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40595         power8 implementation.
40596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40597         file: POWER8 llrint ifunc implementation.
40598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40599         Add POWER8 implementation.
40600         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40601         POWER8 llrint implementation.
40603         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40604         power8 implementation.
40605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40606         file: POWER8 finite ifunc implementation.
40607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40608         Add POWER8 implementation.
40609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40610         Likewise.
40611         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40612         POWER8 finite implementation.
40613         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40616         power8 implementation.
40617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40618         file: POWER8 isinf ifunc implementation.
40619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40620         POWER8 implementation.
40621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40622         Likewise.
40623         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40624         isinf implementation.
40625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40627         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40628         (INIT_ARCH): Add hwcap2 initialization.
40629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40630         power8 implementation.
40631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40632         file: POWER8 isnan ifunc implementation.
40633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40634         POWER8 implementation.
40635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40636         Likewise.
40637         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40638         isnan implementation.
40639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40641 2014-02-27  Joey Ye  <joey.ye@arm.com>
40643         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40644         (_FP_NANFRAC_Q): Set to zero.
40646 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40648         [BZ #16623]
40649         * math/auto-libm-test-in: New test inputs.
40650         * math/auto-libm-test-out: Regenerate.
40651         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40652         and DA.
40653         (__cos): Likewise.
40654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40656 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40658         * scripts/evaluate-test.sh: Take new argument indicating whether
40659         failure is expected.
40660         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40661         indicating whether failure is expected.
40662         * conform/Makefile (test-xfail-run-conformtest): New variable.
40663         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40664         level.
40665         * posix/Makefile (test-xfail-annexc): New variable.
40666         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40668 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40670         * argp/Makefile: Include Makeconfig immediately after defining
40671         subdir.
40672         * assert/Makefile: Likewise.
40673         * benchtests/Makefile: Likewise.
40674         * catgets/Makefile: Likewise.
40675         * conform/Makefile: Likewise.
40676         * crypt/Makefile: Likewise.
40677         * csu/Makefile: Likewise.
40678         (all): Remove target.
40679         * ctype/Makefile: Include Makeconfig immediately after defining
40680         subdir.
40681         * debug/Makefile: Likewise.
40682         * dirent/Makefile: Likewise.
40683         * dlfcn/Makefile: Likewise.
40684         * gmon/Makefile: Likewise.
40685         * gnulib/Makefile: Likewise.
40686         * grp/Makefile: Likewise.
40687         * gshadow/Makefile: Likewise.
40688         * hesiod/Makefile: Likewise.
40689         * hurd/Makefile: Likewise.
40690         (all): Remove target.
40691         * iconvdata/Makefile: Include Makeconfig immediately after
40692         defining subdir.
40693         * inet/Makefile: Likewise.
40694         * intl/Makefile: Likewise.
40695         * io/Makefile: Likewise.
40696         * libio/Makefile: Likewise.
40697         (all): Remove target.
40698         * locale/Makefile: Include Makeconfig immediately after defining
40699         subdir.
40700         * login/Makefile: Likewise.
40701         * mach/Makefile: Likewise.
40702         (all): Remove target.
40703         * malloc/Makefile: Include Makeconfig immediately after defining
40704         subdir.
40705         (all): Remove target.
40706         * manual/Makefile: Include Makeconfig immediately after defining
40707         subdir.
40708         * math/Makefile: Likewise.
40709         * misc/Makefile: Likewise.
40710         * nis/Makefile: Likewise.
40711         * nss/Makefile: Likewise.
40712         * po/Makefile: Likewise.
40713         (all): Remove target.
40714         * posix/Makefile: Include Makeconfig immediately after defining
40715         subdir.
40716         * pwd/Makefile: Likewise.
40717         * resolv/Makefile: Likewise.
40718         * resource/Makefile: Likewise.
40719         * rt/Makefile: Likewise.
40720         * setjmp/Makefile: Likewise.
40721         * shadow/Makefile: Likewise.
40722         * signal/Makefile: Likewise.
40723         * socket/Makefile: Likewise.
40724         * soft-fp/Makefile: Likewise.
40725         * stdio-common/Makefile: Likewise.
40726         * stdlib/Makefile: Likewise.
40727         * streams/Makefile: Likewise.
40728         * string/Makefile: Likewise.
40729         * sunrpc/Makefile: Likewise.
40730         (all): Remove target.
40731         * sysvipc/Makefile: Include Makeconfig immediately after defining
40732         subdir.
40733         * termios/Makefile: Likewise.
40734         * time/Makefile: Likewise.
40735         * timezone/Makefile: Likewise.
40736         (all): Remove target.
40737         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40738         subdir.
40739         * wctype/Makefile: Likewise.
40741 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40743         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40744         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40745         (libc_feholdexcept_setround_mips): Ditto.
40746         (libc_feholdsetround): New.
40747         (libc_feholdsetroundf): New.
40748         (libc_feholdsetroundl): New.
40749         (libc_feupdateenv_test_mips): New.
40750         (libc_feupdateenv_test): New.
40751         (libc_feupdateenv_testf): New.
40752         (libc_feupdateenv_testl): New.
40753         (libc_feresetround): New.
40754         (libc_feresetroundf): New.
40755         (libc_feresetroundl): New.
40756         (libc_fetestexcept_mips): New.
40757         (libc_fetestexcept): New.
40758         (libc_fetestexceptf): New.
40759         (libc_fetestexceptl): New.
40760         (HAVE_RM_CTX): New.
40761         (libc_feholdexcept_setround_mips_ctx): New.
40762         (libc_feholdexcept_setround_ctx): New.
40763         (libc_feholdexcept_setroundf_ctx): New.
40764         (libc_feholdexcept_setroundl_ctx): New.
40765         (libc_fesetenv_mips_ctx): New.
40766         (libc_fesetenv_ctx): New.
40767         (libc_fesetenv_ctxf): New.
40768         (libc_fesetenv_ctxl): New.
40769         (libc_feupdateenv_mips_ctx): New.
40770         (libc_feupdateenv_ctx): New.
40771         (libc_feupdateenvf_ctx): New.
40772         (libc_feupdateenvl_ctx): New.
40773         (libc_feholdsetround_mips_ctx): New.
40774         (libc_feholdsetround_ctx): New.
40775         (libc_feholdsetroundf_ctx): New.
40776         (libc_feholdsetroundl_ctx): New.
40777         (libc_feresetround_mips_ctx): New.
40778         (libc_feresetround_ctx): New.
40779         (libc_feresetroundf_ctx): New.
40780         (libc_feresetroundl_ctx): New.
40782 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40784         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40786         * manual/ipc.texi: New file.
40787         * manual/Makefile (chapters): Add ipc.
40788         * manual/job.texi: Add "Inter-Process Communication" to next.
40789         * manual/process.texi: Add "Inter-Process Communication" to prev.
40791 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40795 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40797         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40799         * manual/arith.texi: Fix spaces after sentences.
40800         * manual/charset.texi: Likewise.
40801         * manual/errno.texi: Likewise.
40802         * manual/install.texi: Likewise.
40803         * manual/llio.texi: Likewise.
40804         * manual/locale.texi: Likewise.
40805         * manual/maint.texi: Likewise.
40806         * manual/math.texi: Likewise.
40807         * manual/memory.texi: Likewise.
40808         * manual/message.texi: Likewise.
40809         * manual/probes.texi: Likewise.
40810         * manual/resource.texi: Likewise.
40811         * manual/signal.texi: Likewise.
40812         * manual/socket.texi: Likewise.
40813         * manual/stdio.texi: Likewise.
40814         * manual/string.texi: Likewise.
40815         * manual/time.texi: Likewise.
40816         * manual/users.texi: Likewise.
40818 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40820         [BZ #16632]
40821         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40822         _DEFAULT_SOURCE is defined.
40824 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40825             Carlos O'Donell  <carlos@redhat.com>
40827         [BZ #16613]
40828         * elf/dl-tls.c (_dl_count_modids): New function.
40829         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40830         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40831         audit library and increment generation counter.
40832         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40833         * elf/tst-audit9.c: New file.
40834         * elf/tst-auditmod9a.c: New file.
40835         * elf/tst-auditmod9b.c: New file.
40836         * elf/Makefile: Add rules to build and run tst-audit9.
40838 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40840         [BZ #15347]
40841         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40843 2014-02-25  Will Newton  <will.newton@linaro.org>
40845         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40846         (__longjmp): Restore sp and lr before restoring callee
40847         saved registers.  Add longjmp and longjmp_target
40848         SystemTap probe point.
40849         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40850         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40851         Define to zero to match jmpbuf layout.
40852         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40853         (__sigsetjmp): Save sp and lr before saving callee
40854         saved registers.  Add setjmp SystemTap probe point.
40856 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40858         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40860 2014-02-24  Andreas Schwab  <schwab@suse.de>
40862         [BZ #15804]
40863         * elf/pldd.c (wait_for_ptrace_stop): New function.
40864         (main): Call it after attaching.
40866 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40868         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40869         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40870         Versions files is now verboten.
40871         * hurd/Versions (libc: GLIBC_2.0):
40872         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40873         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40874         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40875         * mach/Versions: Likewise.
40877         * csu/Versions: Remove unused %include.
40878         * resolv/Versions: Likewise.
40880 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40882         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40883         ($(objpfx)check-local-headers.out): Likewise.
40884         ($(objpfx)begin-end-check.out): Likewise.
40885         * Makerules (check-abi-%.out): Likewise.
40886         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40887         ($(objpfx)test2.cat): Likewise.
40888         ($(objpfx)de/libc.cat): Likewise.
40889         ($(objpfx)test-gencat.out): Likewise.
40890         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40891         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40892         ($(objpfx)noload-mem): Likewise.
40893         ($(objpfx)tst-pathopt.out): Likewise.
40894         ($(objpfx)tst-rtld-load-self.out): Likewise.
40895         ($(objpfx)tst-array1-cmp.out): Likewise.
40896         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40897         ($(objpfx)tst-array2-cmp.out): Likewise.
40898         ($(objpfx)tst-array3-cmp.out): Likewise.
40899         ($(objpfx)tst-array4-cmp.out): Likewise.
40900         ($(objpfx)tst-array5-cmp.out): Likewise.
40901         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40902         ($(objpfx)check-textrel.out): Likewise.
40903         ($(objpfx)check-execstack.out): Likewise.
40904         ($(objpfx)check-localplt.out): Likewise.
40905         ($(objpfx)order2-cmp.out): Likewise.
40906         ($(objpfx)tst-leaks1-mem): Likewise.
40907         ($(objpfx)tst-leaks1-static-mem): Likewise.
40908         ($(objpfx)tst-initorder-cmp.out): Likewise.
40909         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40910         ($(objpfx)tst-unused-dep.out): Likewise.
40911         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40912         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40913         * iconv/Makefile (test-iconvconfig): Likewise.
40914         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40915         ($(objpfx)iconv-test.out): Likewise.
40916         ($(objpfx)tst-tables.out): Likewise.
40917         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40918         ($(objpfx)tst-gettext.out): Likewise.
40919         ($(objpfx)tst-translit.out): Likewise.
40920         ($(objpfx)tst-gettext2.out): Likewise.
40921         ($(objpfx)tst-gettext4.out): Likewise.
40922         ($(objpfx)tst-gettext6.out): Likewise.
40923         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40924         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40925         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40926         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40927         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40928         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40929         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40930         ($(objpfx)wordexp-tst.out): Likewise.
40931         ($(objpfx)annexc.out): Likewise.
40932         ($(objpfx)tst-fnmatch-mem): Likewise.
40933         ($(objpfx)bug-regex2-mem): Likewise.
40934         ($(objpfx)bug-regex14-mem): Likewise.
40935         ($(objpfx)bug-regex21-mem): Likewise.
40936         ($(objpfx)bug-regex31-mem): Likewise.
40937         ($(objpfx)tst-vfork3-mem): Likewise.
40938         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40939         ($(objpfx)tst-pcre-mem): Likewise.
40940         ($(objpfx)tst-boost-mem): Likewise.
40941         ($(objpfx)tst-getconf.out): Likewise.
40942         ($(objpfx)bug-ga2-mem): Likewise.
40943         ($(objpfx)bug-glob2-mem): Likewise.
40944         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40945         ($(objpfx)mtrace-tst-leaks2): Likewise.
40946         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40947         ($(objpfx)tst-printf.out): Likewise.
40948         ($(objpfx)tst-setvbuf1.out): Likewise.
40949         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40950         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40951         ($(objpfx)tst-fmtmsg.out): Likewise.
40952         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40953         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40955         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40956         * bits/sigaction.h [__USE_MISC]: Likewise.
40957         * bits/waitstatus.h: Update #endif comments.
40958         * ctype/ctype.h: Likewise.
40959         * dirent/dirent.h: Likewise.
40960         [__USE_MISC]: Remove redundant conditionals.
40961         * grp/grp.h: Update #endif comments.
40962         [__USE_GNU]: Remove redundant conditionals.
40963         [__USE_MISC]: Likewise.
40964         * inet/netinet/in.h [__USE_GNU]: Likewise.
40965         * io/sys/stat.h [__USE_MISC]: Likewise.
40966         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40967         * libio/bits/stdio.h: Update #endif comments.
40968         [__USE_MISC]: Remove redundant conditionals.
40969         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40970         * libio/stdio.h: Update #endif comments.
40971         [__USE_MISC]: Remove redundant conditionals.
40972         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40973         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40974         * math/math.h: Update #else and #endif comments.
40975         [__USE_MISC]: Remove redundant conditionals.
40976         * misc/sys/uio.h: Update #endif comments.
40977         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40978         * posix/glob.h [__USE_MISC]: Likewise.
40979         * posix/sys/types.h: Update #endif comments.
40980         [__USE_MISC]: Remove redundant conditionals.
40981         * posix/sys/wait.h: Update #endif comments.
40982         [__USE_MISC]: Remove redundant conditionals.
40983         * posix/unistd.h: Update #endif comments.
40984         [__USE_MISC]: Remove redundant conditionals.
40985         * pwd/pwd.h [__USE_GNU]: Likewise.
40986         [__USE_MISC]: Likewise.
40987         * resolv/netdb.h [__USE_GNU]: Likewise.
40988         * signal/signal.h: Update #endif comments.
40989         [__USE_MISC]: Remove redundant conditionals.
40990         * stdlib/stdlib.h: Update #else and #endif comments.
40991         [__USE_MISC]: Remove redundant conditionals.
40992         [__USE_GNU]: Likewise.
40993         * string/bits/string2.h [__USE_MISC]: Likewise.
40994         * string/string.h: Update #endif comments.
40995         [__USE_MISC]: Remove redundant conditionals.
40996         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40997         Likewise.
40998         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40999         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41000         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41001         Likewise.
41002         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41003         Likewise.
41004         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41005         comments.
41006         [__USE_MISC]: Remove redundant conditionals.
41007         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41008         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41009         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41010         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41011         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41012         Likewise.
41013         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41014         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41015         Likewise.
41016         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41017         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41018         Likewise.
41019         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41020         Likewise.
41021         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41022         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41023         Likewise.
41024         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41025         Likewise.
41026         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41027         * sysdeps/x86/bits/string.h: Update #endif comments.
41028         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41029         conditionals.
41030         * time/sys/time.h: Update #endif comments.
41031         * time/time.h: Likewise.
41032         [__USE_MISC]: Remove redundant conditionals.
41034 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41036         [BZ #16600]
41037         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41039 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41041         * Versions.def (librt): Add GLIBC_2.17.
41043 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41045         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41046         synonym for _SYS_AUXV_H to allow direct inclusion.
41047         * sysdeps/sparc/bits/hwcap.h: Likewise.
41048         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41049         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41050         * sysdeps/sparc/sysdep.h: Likewise.
41052 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41054         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41056 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41058         * benchtests/bench-strrchr.c: Print length instead of position.
41060 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41062         [BZ #16611]
41063         * sysdeps/unix/sysv/linux/kernel-features.h
41064         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41065         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41066         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41067         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41068         Likewise.
41069         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41070         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41071         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41072         (__ASSUME_SENDMMSG): Define instead of using previous
41073         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41074         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41075         (__ASSUME_SENDMMSG_SYSCALL): Define.
41076         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41077         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41078         Likewise.
41079         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41080         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41081         Likewise.
41082         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41083         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41084         Likewise.
41085         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41086         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41087         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41088         [__ASSUME_SENDMMSG]: Change conditionals to
41089         [__ASSUME_SENDMMSG_SOCKETCALL].
41090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41091         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41092         Define.
41093         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41094         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41095         Likewise.
41096         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41097         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41098         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41099         [!__ASSUME_SENDMMSG]: Change conditional to
41100         [!__ASSUME_SENDMMSG_SOCKETCALL].
41101         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41102         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41103         Define.
41105         [BZ #16610]
41106         * sysdeps/unix/sysv/linux/kernel-features.h
41107         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41108         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41109         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41110         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41111         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41112         [__i386__ || __sparc__]
41113         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41114         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41115         (__ASSUME_RECVMMSG): Define instead of using previous
41116         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41117         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41118         (__ASSUME_RECVMMSG_SYSCALL): Define.
41119         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41120         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41121         Likewise.
41122         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41123         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41124         Likewise.
41125         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41126         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41127         Likewise.
41128         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41129         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41130         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41131         [__ASSUME_RECVMMSG]: Change condition to
41132         [__ASSUME_RECVMMSG_SOCKETCALL].
41133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41134         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41135         Define.
41136         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41137         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41138         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41139         Likewise.
41140         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41141         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41142         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41143         [!__ASSUME_RECVMMSG]: Change condition to
41144         [!__ASSUME_RECVMMSG_SOCKETCALL].
41145         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41146         (__ASSUME_RECVMMSG_SYSCALL): Define.
41148         [BZ #16609]
41149         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41150         __powerpc__ || __s390__ || __sh__ || __sparc__]
41151         (__ASSUME_SOCKETCALL): Define.
41152         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41153         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41154         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41155         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41156         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41157         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41158         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41159         (__ASSUME_ACCEPT4): Define instead of using previous
41160         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41161         __powerpc__ || __sparc__ || __s390__)] condition.
41162         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41163         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41164         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41165         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41166         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41167         [!__ASSUME_ACCEPT4]: Change condition to
41168         [!__ASSUME_ACCEPT4_SOCKETCALL].
41169         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41170         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41171         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41172         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41173         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41174         __ASSUME_ACCEPT4_SYSCALL.
41175         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41176         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41177         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41178         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41179         __ASSUME_ACCEPT4_SYSCALL.
41180         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41181         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41182         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41183         [__ASSUME_ACCEPT4]: Change condition to
41184         [__ASSUME_ACCEPT4_SOCKETCALL].
41185         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41186         (__ASSUME_SOCKETCALL): Define.
41187         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41189         (__ASSUME_SOCKETCALL): Define.
41190         (__ASSUME_ACCEPT4): Remove.
41191         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41192         Define.
41193         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41194         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41195         Likewise.
41196         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41197         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41199         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41200         macro.
41201         (HWCAP_ARM_LPAE): Likewise.
41202         (HWCAP_ARM_EVTSTRM): Likewise.
41203         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41204         Add vpfd32, lpae and evtstrm.
41205         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41206         Increase to 22.
41208 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41210         * math/auto-libm-test-in: Add tests of clog10.
41211         * math/auto-libm-test-out: Regenerated.
41212         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41213         * sysdeps/i386/fpu/libm-test-ulps: Update.
41214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41216 2014-02-18  Andreas Schwab  <schwab@suse.de>
41218         [BZ #16574]
41219         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41220         Store non-zero if the second buffer was newly allocated.
41221         (send_dg): Likewise.
41222         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41223         to send_vc and send_dg.
41224         (res_nsend): Pass NULL for ansp2_malloced.
41225         * resolv/res_query.c (__libc_res_nquery): Add parameter
41226         answerp2_malloced and pass it down to __libc_res_nsend.
41227         (res_nquery): Pass additional NULL to __libc_res_nquery.
41228         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41229         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41230         second answer buffer if answerp2_malloced was set.
41231         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41232         (__libc_res_nquerydomain): Add parameter
41233         answerp2_malloced and pass it down to __libc_res_nquery.
41234         (res_nquerydomain): Pass additional NULL to
41235         __libc_res_nquerydomain.
41236         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41237         additional NULL to __libc_res_nsend and __libc_res_nquery.
41238         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41239         additional NULL to __libc_res_nsearch.
41240         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41241         parameter of __libc_res_nsearch to check for separately allocated
41242         second buffer.
41243         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41244         __libc_res_nquery.
41245         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41246         additional NULL to __libc_res_nquery.
41247         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41248         __libc_res_nsearch.
41249         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41250         * include/resolv.h: Update prototypes of __libc_res_nquery,
41251         __libc_res_nsearch, __libc_res_nsend.
41253 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41255         * math/auto-libm-test-in: Add tests of fma.
41256         * math/auto-libm-test-out: Regenerated.
41257         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41258         (fma_towardzero_test_data): Likewise.
41259         (fma_downward_test_data): Likewise.
41260         (fma_upward_test_data): Likewise.
41261         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41262         mpc_mode.
41263         (rounding_modes): Add values for new field.
41264         (func_calc_method): Add value mpfr_fff_f.
41265         (func_calc_desc): Add mpfr_fff_f union field.
41266         (test_function): Add field exact_args.
41267         (FUNC): Add macro argument EXACT_ARGS.
41268         (FUNC_mpfr_f_f): Update call to FUNC.
41269         (FUNC_mpfr_f_f): Likewise.
41270         (FUNC_mpfr_ff_f): Likewise.
41271         (FUNC_mpfr_if_f): Likewise.
41272         (FUNC_mpc_c_f): Likewise.
41273         (FUNC_mpc_c_c): Likewise.
41274         (test_functions): Add fma.  Update calls to FUNC.
41275         (handle_input_arg): Add argument exact_args.
41276         (add_test): Update call to handle_input_arg.
41277         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41278         (output_for_one_input_case): Update call to calc_generic_results.
41279         Recalculate exact zero results in each rounding mode.
41281         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41282         non-negative before setting low bit.
41283         * math/auto-libm-test-in: Mark one asin test possibly having
41284         spurious underflow.
41285         * math/auto-libm-test-out: Regenerated.
41286         * sysdeps/i386/fpu/libm-test-ulps: Update.
41287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41289 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41291         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41292         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41293         ports/sysdeps/unix/sysv/linux/microblaze.
41294         * README: Add missing listing for microblaze*-*-linux-gnu.
41296 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41298         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41299         duplicate code
41301 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41303         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41304         * sysdeps/unix/sysv/linux/ia64: Move directory from
41305         ports/sysdeps/unix/sysv/linux/ia64.
41306         * README: Update listing for ia64-*-linux-gnu.
41308 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41309             Joseph Myers  <joseph@codesourcery.com>
41311         * Makeconfig (test-name): New variable.
41312         (evaluate-test): Likewise.
41313         * Makerules (do-test-clean): Remove .test-result files.
41314         (common-mostlyclean): Likewise.
41315         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41316         * scripts/evaluate-test.sh: New file.
41318 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41320         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41321         separate $(objpfx)tst-fopenloc-cmp.out and
41322         $(objpfx)tst-fopenloc-mem.out targets.
41323         (tests): Update dependencies.
41324         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41325         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41326         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41327         (tst-rxspencer-no-utf8-ARGS): New variable.
41328         (tst-rxspencer-no-utf8-ENV): Likewise.
41329         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41330         instead of $(objpfx)tst-rxspencer-mem.
41331         ($(objpfx)tst-rxspencer-mem): Change target to
41332         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41333         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41334         * posix/tst-rxspencer-no-utf8.c: New file.
41336         * elf/Makefile ($(objpfx)order.out): Remove rule.
41337         [$(run-built-tests) = yes] (tests): Depend on
41338         $(objpfx)order-cmp.out.
41339         ($(objpfx)order-cmp.out): New rule.
41340         [$(run-built-tests) = yes] (tests): Depend on
41341         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41342         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41343         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41344         $(objpfx)tst-array5-static-cmp.out.
41345         ($(objpfx)tst-array1.out): Remove rule.
41346         ($(objpfx)tst-array1-cmp.out): New rule.
41347         ($(objpfx)tst-array1-static.out): Remove rule.
41348         ($(objpfx)tst-array1-static-cmp.out): New rule.
41349         ($(objpfx)tst-array2.out): Remove rule.
41350         ($(objpfx)tst-array2-cmp.out): New rule.
41351         ($(objpfx)tst-array3.out): Remove rule.
41352         ($(objpfx)tst-array3-cmp.out): New rule.
41353         ($(objpfx)tst-array4.out): Remove rule.
41354         ($(objpfx)tst-array4-cmp.out): New rule.
41355         ($(objpfx)tst-array5.out): Remove rule.
41356         ($(objpfx)tst-array5-cmp.out): New rule.
41357         ($(objpfx)tst-array5-static.out): Remove rule.
41358         ($(objpfx)tst-array5-static-cmp.out): New rule.
41359         [$(run-built-tests) = yes] (tests): Depend on
41360         $(objpfx)order2-cmp.out.
41361         ($(objpfx)order2.out): Remove rule.
41362         ($(objpfx)order2-cmp.out): New rule.
41363         ($(objpfx)tst-initorder.out): Remove rule.
41364         [$(run-built-tests) = yes] (tests): Depend on
41365         $(objpfx)tst-initorder-cmp.out.
41366         ($(objpfx)tst-initorder-cmp.out): New rule.
41367         ($(objpfx)tst-initorder2.out): Remove rule.
41368         [$(run-built-tests) = yes] (tests): Depend on
41369         $(objpfx)tst-initorder2-cmp.out.
41370         ($(objpfx)tst-initorder2-cmp.out): New rule.
41371         [$(run-built-tests) = yes] (tests): Depend on
41372         $(objpfx)tst-unused-dep-cmp.out.
41373         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41374         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41375         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41376         on $(objpfx)tst-setvbuf1-cmp.out.
41377         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41378         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41379         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41380         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41381         ($(objpfx)tst-svc.out): Remove rule.
41382         ($(objpfx)tst-svc-cmp.out): New rule.
41384 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41386         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41387         * ctype/ctype.h [__USE_MISC]: Likewise.
41388         * dirent/dirent.h [__USE_MISC]: Likewise.
41389         * grp/grp.h [__USE_MISC]: Likewise.
41390         * io/fcntl.h [__USE_MISC]: Likewise.
41391         * io/sys/stat.h [__USE_MISC]: Likewise.
41392         * libio/stdio.h [__USE_MISC]: Likewise.
41393         * posix/unistd.h [__USE_MISC]: Likewise.
41394         * pwd/pwd.h [__USE_MISC]: Likewise.
41395         * stdlib.h [__USE_MISC]: Likewise.
41396         * string/bits/string2.h [__USE_MISC]: Likewise.
41397         * string/string.h [__USE_MISC]: Likewise.
41398         * time/time.h [__USE_MISC]: Likewise.
41400 2014-02-13  Andreas Schwab  <schwab@suse.de>
41402         [BZ #16574]
41403         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41404         second answer buffer if it was separately allocated.
41406 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41408         * sysdeps/mips/math-tests.h: Include <features.h>.
41409         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41410         (ROUNDING_TESTS_long_double): Do not define.
41411         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41412         (EXCEPTION_TESTS_long_double): Likewise.
41413         * sysdeps/mips/mips64/libm-test-ulps: Update.
41415         * include/features.h (__USE_BSD): Remove macro definitions.
41416         (__USE_SVID): Likewise.
41417         (_BSD_SOURCE): Likewise.
41418         (_SVID_SOURCE): Likewise.
41419         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41420         from definition of _DEFAULT_SOURCE.
41421         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41422         [_DEFAULT_SOURCE].
41423         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41424         * bits/mman.h [__USE_BSD]: Likewise.
41425         * bits/termios.h [__USE_BSD]: Likewise.
41426         * bits/waitstatus.h [__USE_BSD]: Likewise.
41427         * ctype/ctype.h [__USE_SVID]: Likewise.
41428         * dirent/dirent.h [__USE_BSD]: Likewise.
41429         * grp/grp.h [__USE_SVID]: Likewise.
41430         [__USE_BSD]: Likewise.
41431         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41432         * io/fcntl.h [__USE_BSD]: Likewise.
41433         * io/ftw.h [__USE_BSD]: Likewise.
41434         * io/sys/stat.h [__USE_BSD]: Likewise.
41435         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41436         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41437         * libio/stdio.h [__USE_SVID]: Likewise.
41438         [__USE_BSD]: Likewise.
41439         * math/math.h [__USE_SVID]: Likewise.
41440         [__USE_BSD]: Likewise.
41441         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41442         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41443         * misc/search.h [__USE_SVID]: Likewise.
41444         * misc/sys/mman.h [__USE_BSD]: Likewise.
41445         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41446         * misc/sys/uio.h [__USE_BSD]: Likewise.
41447         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41448         * posix/glob.h [__USE_BSD]: Likewise.
41449         * posix/regex.h [__USE_BSD]: Likewise.
41450         * posix/sys/types.h [__USE_BSD]: Likewise.
41451         [__USE_SVID]: Likewise.
41452         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41453         * posix/sys/wait.h [__USE_BSD]: Likewise.
41454         [__USE_SVID]: Likewise.
41455         * posix/unistd.h [__USE_BSD]: Likewise.
41456         [__USE_SVID]: Likewise.
41457         * pwd/pwd.h [__USE_SVID]: Likewise.
41458         * resolv/netdb.h [__USE_BSD]: Likewise.
41459         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41460         * signal/signal.h [__USE_BSD]: Likewise.
41461         [__USE_SVID]: Likewise.
41462         * socket/sys/socket.h [__USE_BSD]: Likewise.
41463         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41464         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41465         [__USE_SVID]: Likewise.
41466         * string/bits/string2.h [__USE_BSD]: Likewise.
41467         [__USE_SVID]: Likewise.
41468         * string/bits/string3.h [__USE_BSD]: Likewise.
41469         * string/endian.h [__USE_BSD]: Likewise.
41470         * string/string.h [__USE_SVID]: Likewise.
41471         [__USE_BSD]: Likewise.
41472         * string/strings.h [__USE_BSD]: Likewise.
41473         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41474         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41475         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41476         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41477         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41478         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41479         Likewise.
41480         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41481         Likewise.
41482         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41483         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41484         Likewise.
41485         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41486         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41487         Likewise.
41488         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41489         Likewise.
41490         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41491         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41492         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41493         Likewise.
41494         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41495         Likewise.
41496         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41497         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41498         * termios/termios.h [__USE_BSD]: Likewise.
41499         * time/sys/time.h [__USE_BSD]: Likewise.
41500         * time/time.h [__USE_BSD]: Likewise.
41501         [__USE_SVID]: Likewise.
41503         * Makefile (subdir_targets): Remove subdir_lint.out.
41505         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41506         (do-tst-printf): Likewise.
41507         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41508         $(objpfx)tst-printf.out.
41510         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41512         * Makerules (check-abi-%): Change target to
41513         $(objpfx)check-abi-%.out.
41514         (check-abi target): Update dependencies.
41515         (check-abi-pattern variable): Redirect output of diff to $@.
41516         (check-abi variable): Likewise.
41517         * elf/Makefile (check-abi): Update dependencies.
41519         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41520         unused.
41521         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41522         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41523         subnormal range.
41524         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41525         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41526         value has largest subnormal exponent.
41527         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41528         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41529         * sysdeps/aarch64/soft-fp/sfp-machine.h
41530         (_FP_TININESS_AFTER_ROUNDING): New macro.
41531         * sysdeps/alpha/soft-fp/sfp-machine.h
41532         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41533         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41534         Likewise.
41535         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41536         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41537         * sysdeps/mips/soft-fp/sfp-machine.h
41538         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41539         * sysdeps/powerpc/soft-fp/sfp-machine.h
41540         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41541         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41542         Likewise.
41543         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41544         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41545         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41546         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41547         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41548         Likewise.
41550 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41552         [BZ #16545]
41553         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41554         model 1.
41556 2014-02-12  Richard Henderson  <rth@redhat.com>
41558         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41559         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41560         * sysdeps/unix/sysv/linux/alpha: Move directory from
41561         ports/sysdeps/unix/sysv/linux/alpha.
41562         * README: Update listing for alpha-*-linux-gnu.
41564 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41566         * include/features.h: Update comment documenting feature test
41567         macros.
41568         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41569         _DEFAULT_SOURCE.
41570         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41571         (_SVID_SOURCE): Likewise.
41572         (_DEFAULT_SOURCE): Update description of default features.
41573         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41574         with _GNU_SOURCE.
41575         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41576         (S_ISVTX): Likewise.
41577         * manual/math.texi (Mathematical Constants): Likewise.
41578         * manual/signal.texi (Interrupted Primitives): Likewise.
41579         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41580         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41581         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41582         Don't refer to _SVID_SOURCE in warning text.
41584         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41586         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41587         already defined.
41588         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41589         * sysdeps/mips/dl-lookup.c: Remove.
41590         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41592 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41594         [BZ #16447]
41595         * math/auto-libm-test-in: Add testcase for expl.
41596         * math/auto-libm-test-out: Regenerate.
41597         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41598         calculation of unsafe.
41599         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41601 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41603         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41604         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41605         ports/sysdeps/unix/sysv/linux/aarch64.
41606         * README: Update listing for aarch64*-*-linux-gnu.
41608 2014-02-11  Will Newton  <will.newton@linaro.org>
41610         * manual/probes.texi (Mathematical Function Probes): Use
41611         "triggered" instead of "hit".
41613         * manual/probes.texi (Internal Probes): Add documentation
41614         of setjmp, longjmp and longjmp_target probes.
41616         * include/stap-probe.h: Add comment about probe argument
41617         format.
41619         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41620         definition.  (tr_where, tr_freehook, tr_mallochook,
41621         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41623 2014-02-11  David S. Miller  <davem@davemloft.net>
41625         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41626         processing int_tests.
41628 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41630         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41631         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41632         * sysdeps/unix/sysv/linux/mips: Move directory from
41633         ports/sysdeps/unix/sysv/linux/mips.
41634         * README: Update listing for mips-*-linux-gnu and
41635         mips64-*-linux-gnu.
41637 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41639         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41640         * sysdeps/unix/sysv/linux/m68k: Move directory from
41641         ports/sysdeps/unix/sysv/linux/m68k.
41642         * README: Update listing for m68k-*-linux-gnu.
41644 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41646         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41647         * sysdeps/unix/sysv/linux/generic: Move directory from
41648         ports/sysdeps/unix/sysv/linux/generic.
41649         * sysdeps/unix/sysv/linux/tile: Move directory from
41650         ports/sysdeps/unix/sysv/linux/tile.
41651         * README: Update listing for tile*-*-linux-gnu.
41653 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41655         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41656         __builtin_expect.
41657         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41658         * catgets/open_catalog.c (__open_catalog): Likewise.
41659         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41660         * debug/confstr_chk.c: Likewise.
41661         * debug/fread_chk.c (__fread_chk): Likewise.
41662         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41663         * debug/getgroups_chk.c: Likewise.
41664         * debug/mbsnrtowcs_chk.c: Likewise.
41665         * debug/mbsrtowcs_chk.c: Likewise.
41666         * debug/mbstowcs_chk.c: Likewise.
41667         * debug/memcpy_chk.c: Likewise.
41668         * debug/memmove_chk.c: Likewise.
41669         * debug/mempcpy_chk.c: Likewise.
41670         * debug/memset_chk.c: Likewise.
41671         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41672         * debug/strcat_chk.c (__strcat_chk): Likewise.
41673         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41674         * debug/strncat_chk.c (__strncat_chk): Likewise.
41675         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41676         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41677         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41678         * debug/wcpncpy_chk.c: Likewise.
41679         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41680         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41681         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41682         * debug/wcsncpy_chk.c: Likewise.
41683         * debug/wcsnrtombs_chk.c: Likewise.
41684         * debug/wcsrtombs_chk.c: Likewise.
41685         * debug/wcstombs_chk.c: Likewise.
41686         * debug/wmemcpy_chk.c: Likewise.
41687         * debug/wmemmove_chk.c: Likewise.
41688         * debug/wmempcpy_chk.c: Likewise.
41689         * debug/wmemset_chk.c: Likewise.
41690         * dirent/scandirat.c (SCANDIRAT): Likewise.
41691         * dlfcn/dladdr1.c (dladdr1): Likewise.
41692         * dlfcn/dladdr.c (dladdr): Likewise.
41693         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41694         * dlfcn/dlerror.c (__dlerror): Likewise.
41695         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41696         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41697         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41698         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41699         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41700         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41701         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41702         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41703         Likewise.
41704         * elf/dl-conflict.c: Likewise.
41705         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41706         * elf/dl-dst.h: Likewise.
41707         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41708         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41709         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41710         * elf/dl-init.c (call_init, _dl_init): Likewise.
41711         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41712         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41713         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41714         Likewise.
41715         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41716         Likewise.
41717         * elf/dl-minimal.c (__libc_memalign): Likewise.
41718         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41719         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41720         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41721         * elf/dl-sym.c (do_sym): Likewise.
41722         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41723         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41724         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41725         * elf/dl-writev.h (_dl_writev): Likewise.
41726         * elf/ldconfig.c (search_dir): Likewise.
41727         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41728         (dl_main): Likewise.
41729         * elf/setup-vdso.h (setup_vdso): Likewise.
41730         * grp/compat-initgroups.c (compat_call): Likewise.
41731         * grp/fgetgrent.c (fgetgrent): Likewise.
41732         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41733         * grp/putgrent.c (putgrent): Likewise.
41734         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41735         Likewise.
41736         * hurd/hurdinit.c: Likewise.
41737         * iconvdata/8bit-gap.c (struct): Likewise.
41738         * iconvdata/ansi_x3.110.c : Likewise.
41739         * iconvdata/big5.c : Likewise.
41740         * iconvdata/big5hkscs.c : Likewise.
41741         * iconvdata/cp1255.c: Likewise.
41742         * iconvdata/cp1258.c : Likewise.
41743         * iconvdata/cp932.c : Likewise.
41744         * iconvdata/euc-cn.c: Likewise.
41745         * iconvdata/euc-jisx0213.c : Likewise.
41746         * iconvdata/euc-jp.c: Likewise.
41747         * iconvdata/euc-jp-ms.c : Likewise.
41748         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41749         * iconvdata/gb18030.c : Likewise.
41750         * iconvdata/gbbig5.c (const): Likewise.
41751         * iconvdata/gbgbk.c: Likewise.
41752         * iconvdata/gbk.c : Likewise.
41753         * iconvdata/ibm1364.c : Likewise.
41754         * iconvdata/ibm930.c : Likewise.
41755         * iconvdata/ibm932.c: Likewise.
41756         * iconvdata/ibm933.c : Likewise.
41757         * iconvdata/ibm935.c : Likewise.
41758         * iconvdata/ibm937.c : Likewise.
41759         * iconvdata/ibm939.c : Likewise.
41760         * iconvdata/ibm943.c: Likewise.
41761         * iconvdata/iso_11548-1.c: Likewise.
41762         * iconvdata/iso-2022-cn.c : Likewise.
41763         * iconvdata/iso-2022-cn-ext.c : Likewise.
41764         * iconvdata/iso-2022-jp-3.c: Likewise.
41765         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41766         * iconvdata/iso-2022-kr.c : Likewise.
41767         * iconvdata/iso646.c (gconv_end): Likewise.
41768         * iconvdata/iso_6937-2.c : Likewise.
41769         * iconvdata/iso_6937.c : Likewise.
41770         * iconvdata/iso8859-1.c: Likewise.
41771         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41772         * iconvdata/shift_jisx0213.c : Likewise.
41773         * iconvdata/sjis.c : Likewise.
41774         * iconvdata/t.61.c : Likewise.
41775         * iconvdata/tcvn5712-1.c : Likewise.
41776         * iconvdata/tscii.c: Likewise.
41777         * iconvdata/uhc.c : Likewise.
41778         * iconvdata/unicode.c (gconv_end): Likewise.
41779         * iconvdata/utf-16.c (gconv_end): Likewise.
41780         * iconvdata/utf-32.c (gconv_end): Likewise.
41781         * iconvdata/utf-7.c (base64): Likewise.
41782         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41783         * iconv/gconv_close.c (__gconv_close): Likewise.
41784         * iconv/gconv_open.c (__gconv_open): Likewise.
41785         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41786         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41787         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41788         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41789         (ucs4le_internal_loop_single): Likewise.
41790         * iconv/iconv.c (iconv): Likewise.
41791         * iconv/iconv_close.c: Likewise.
41792         * iconv/loop.c (SINGLE): Likewise.
41793         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41794         * include/atomic.h: Likewise.
41795         * inet/inet6_option.c (option_alloc): Likewise.
41796         * intl/bindtextdom.c (set_binding_values): Likewise.
41797         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41798         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41799         * intl/localealias.c (read_alias_file): Likewise.
41800         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41801         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41802         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41803         * libio/fmemopen.c (fmemopen): Likewise.
41804         * libio/iofgets.c (_IO_fgets): Likewise.
41805         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41806         * libio/iofgetws.c (fgetws): Likewise.
41807         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41808         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41809         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41810         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41811         * locale/findlocale.c (_nl_find_locale): Likewise.
41812         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41813         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41814         Likewise.
41815         * locale/setlocale.c (setlocale): Likewise.
41816         * login/programs/pt_chown.c (main): Likewise.
41817         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41818         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41819         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41820         (mmap, mmap64, mremap, munmap): Likewise.
41821         * math/e_exp2l.c: Likewise.
41822         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41823         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41824         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41825         * math/s_catan.c (__catan): Likewise.
41826         * math/s_catanf.c (__catanf): Likewise.
41827         * math/s_catanh.c (__catanh): Likewise.
41828         * math/s_catanhf.c (__catanhf): Likewise.
41829         * math/s_catanhl.c (__catanhl): Likewise.
41830         * math/s_catanl.c (__catanl): Likewise.
41831         * math/s_ccosh.c (__ccosh): Likewise.
41832         * math/s_ccoshf.c (__ccoshf): Likewise.
41833         * math/s_ccoshl.c (__ccoshl): Likewise.
41834         * math/s_cexp.c (__cexp): Likewise.
41835         * math/s_cexpf.c (__cexpf): Likewise.
41836         * math/s_cexpl.c (__cexpl): Likewise.
41837         * math/s_clog10.c (__clog10): Likewise.
41838         * math/s_clog10f.c (__clog10f): Likewise.
41839         * math/s_clog10l.c (__clog10l): Likewise.
41840         * math/s_clog.c (__clog): Likewise.
41841         * math/s_clogf.c (__clogf): Likewise.
41842         * math/s_clogl.c (__clogl): Likewise.
41843         * math/s_csin.c (__csin): Likewise.
41844         * math/s_csinf.c (__csinf): Likewise.
41845         * math/s_csinh.c (__csinh): Likewise.
41846         * math/s_csinhf.c (__csinhf): Likewise.
41847         * math/s_csinhl.c (__csinhl): Likewise.
41848         * math/s_csinl.c (__csinl): Likewise.
41849         * math/s_csqrt.c (__csqrt): Likewise.
41850         * math/s_csqrtf.c (__csqrtf): Likewise.
41851         * math/s_csqrtl.c (__csqrtl): Likewise.
41852         * math/s_ctan.c (__ctan): Likewise.
41853         * math/s_ctanf.c (__ctanf): Likewise.
41854         * math/s_ctanh.c (__ctanh): Likewise.
41855         * math/s_ctanhf.c (__ctanhf): Likewise.
41856         * math/s_ctanhl.c (__ctanhl): Likewise.
41857         * math/s_ctanl.c (__ctanl): Likewise.
41858         * math/w_pow.c: Likewise.
41859         * math/w_powf.c: Likewise.
41860         * math/w_powl.c: Likewise.
41861         * math/w_scalb.c (sysv_scalb): Likewise.
41862         * math/w_scalbf.c (sysv_scalbf): Likewise.
41863         * math/w_scalbl.c (sysv_scalbl): Likewise.
41864         * misc/error.c (error_tail): Likewise.
41865         * misc/pselect.c (__pselect): Likewise.
41866         * nis/nis_callback.c (__nis_create_callback): Likewise.
41867         * nis/nis_call.c (__nisfind_server): Likewise.
41868         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41869         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41870         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41871         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41872         * nis/nis_lookup.c (nis_lookup): Likewise.
41873         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41874         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41875         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41876         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41877         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41878         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41879         * nis/nss_compat/compat-initgroups.c (add_group)
41880         (internal_getgrent_r): Likewise.
41881         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41882         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41883         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41884         (internal_getspnam_r): Likewise.
41885         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41886         (_nss_nis_getaliasbyname_r): Likewise.
41887         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41888         (_nss_nis_getntohost_r): Likewise.
41889         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41890         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41891         (_nss_nis_getgrgid_r): Likewise.
41892         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41893         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41894         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41895         (_nss_nis_gethostbyname4_r): Likewise.
41896         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41897         (initgroups_netid): Likewise.
41898         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41899         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41900         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41901         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41902         (_nss_nis_getprotobynumber_r): Likewise.
41903         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41904         (_nss_nis_getsecretkey): Likewise.
41905         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41906         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41907         (_nss_nis_getpwuid_r): Likewise.
41908         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41909         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41910         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41911         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41912         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41913         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41914         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41915         Likewise.
41916         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41917         (_nss_nisplus_getntohost_r): Likewise.
41918         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41919         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41920         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41921         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41922         Likewise.
41923         * nis/nss_nisplus/nisplus-initgroups.c
41924         (_nss_nisplus_initgroups_dyn): Likewise.
41925         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41926         (_nss_nisplus_getnetbyaddr_r): Likewise.
41927         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41928         (_nss_nisplus_getprotobynumber_r): Likewise.
41929         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41930         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41931         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41932         Likewise.
41933         * nis/nss_nisplus/nisplus-service.c
41934         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41935         (_nss_nisplus_getservbyport_r): Likewise.
41936         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41937         (_nss_nisplus_getspnam_r): Likewise.
41938         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41939         Likewise.
41940         * nscd/aicache.c (addhstaiX): Likewise.
41941         * nscd/cache.c (cache_search, prune_cache): Likewise.
41942         * nscd/connections.c (register_traced_file, send_ro_fd)
41943         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41944         (main_loop_epoll): Likewise.
41945         * nscd/grpcache.c (addgrbyX): Likewise.
41946         * nscd/hstcache.c (addhstbyX): Likewise.
41947         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41948         * nscd/mem.c (gc, mempool_alloc): Likewise.
41949         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41950         (addinnetgrX): Likewise.
41951         * nscd/nscd-client.h (__nscd_acquire_maplock)
41952         (__nscd_drop_map_ref): Likewise.
41953         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41954         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41955         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41956         Likewise.
41957         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41958         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41959         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41960         (__nscd_get_map_ref): Likewise.
41961         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41962         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41963         Likewise.
41964         * nscd/pwdcache.c (addpwbyX): Likewise.
41965         * nscd/selinux.c (preserve_capabilities): Likewise.
41966         * nscd/servicescache.c (addservbyX): Likewise.
41967         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41968         * posix/fnmatch.c (fnmatch): Likewise.
41969         * posix/getopt.c (_getopt_internal_r): Likewise.
41970         * posix/glob.c (glob, glob_in_dir): Likewise.
41971         * posix/wordexp.c (exec_comm_child): Likewise.
41972         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41973         (getanswer_r, gaih_getanswer_slice): Likewise.
41974         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41975         * resolv/res_init.c: Likewise.
41976         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41977         * resolv/res_query.c (__libc_res_nquery): Likewise.
41978         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41979         Likewise.
41980         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41981         * stdio-common/perror.c (perror): Likewise.
41982         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41983         * stdio-common/tmpnam.c (tmpnam): Likewise.
41984         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41985         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41986         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41987         Likewise.
41988         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41989         * stdlib/putenv.c (putenv): Likewise.
41990         * stdlib/setenv.c (__add_to_environ): Likewise.
41991         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41992         * stdlib/strtol_l.c (INTERNAL): Likewise.
41993         * string/memmem.c (memmem): Likewise.
41994         * string/strerror.c (strerror): Likewise.
41995         * string/strnlen.c (__strnlen): Likewise.
41996         * string/test-memmem.c (simple_memmem): Likewise.
41997         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41998         * sunrpc/pm_getport.c (__get_socket): Likewise.
41999         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42000         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42001         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42002         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42003         Likewise.
42004         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42005         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42006         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42007         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42008         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42009         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42010         Likewise.
42011         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42012         Likewise.
42013         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42014         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42015         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42016         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42017         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42019         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42020         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42021         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42022         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42023         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42024         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42025         Likewise.
42026         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42027         Likewise.
42028         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42029         Likewise.
42030         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42031         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42032         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42033         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42034         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42035         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42036         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42037         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42038         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42039         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42040         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42041         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42042         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42043         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42044         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42045         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42046         Likewise.
42047         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42048         Likewise.
42049         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42050         Likewise.
42051         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42052         Likewise.
42053         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42054         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42055         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42056         Likewise.
42057         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42058         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42059         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42060         * sysdeps/posix/sleep.c: Likewise.
42061         * sysdeps/posix/tempname.c: Likewise.
42062         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42063         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42064         Likewise.
42065         * sysdeps/powerpc/powerpc32/dl-machine.h
42066         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42067         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42068         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42069         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42070         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42071         Likewise.
42072         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42073         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42074         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42075         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42076         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42077         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42078         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42079         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42080         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42081         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42082         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42083         (elf_machine_lazy_rel): Likewise.
42084         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42086         (elf_machine_lazy_rel): Likewise.
42087         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42088         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42089         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42090         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42091         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42092         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42093         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42094         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42095         Likewise.
42096         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42097         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42098         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42099         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42100         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42101         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42102         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42103         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42104         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42105         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42106         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42107         Likewise.
42108         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42109         (__posix_fallocate64_l64): Likewise.
42110         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42111         (posix_fallocate): Likewise.
42112         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42113         Likewise.
42114         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42115         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42116         (getifaddrs_internal): Likewise.
42117         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42118         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42119         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42120         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42121         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42122         (__posix_fallocate64_l64): Likewise.
42123         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42124         Likewise.
42125         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42126         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42127         (__get_clockfreq): Likewise.
42128         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42129         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42130         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42131         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42132         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42133         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42134         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42135         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42136         Likewise.
42137         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42138         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42139         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42140         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42141         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42142         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42143         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42144         Likewise.
42145         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42146         (posix_fallocate): Likewise.
42147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42148         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42149         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42150         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42151         (elf_machine_rela, elf_machine_rela_relative)
42152         (elf_machine_lazy_rel): Likewise.
42153         * time/asctime.c (asctime_internal): Likewise.
42154         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42155         * time/tzset.c (__tzset_parse_tz): Likewise.
42156         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42157         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42158         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42159         * wcsmbs/wcsmbsload.h: Likewise.
42161         [BZ #15894]
42162         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42164         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42165         (arena_get2): Remove THREAD_STATS conditionals.
42166         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42167         (__malloc_stats, int): Likewise.
42169 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42171         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42172         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42174         * manual/setjmp.texi: Fix typos/grammar errors.
42176         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42177         Only return early when n is <= 0.  Delete unused return statement.
42179         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42180         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42181         * debug/tst-longjmp_chk3.c: New file.
42183         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42184         (test_main): Replace code with set_fortify_handler call.
42185         * debug/test-strcpy_chk.c: Likewise.
42186         * debug/tst-chk1.c: Likewise.
42187         * debug/tst-longjmp_chk.c: Likewise.
42188         * test-skeleton.c: Include fcntl.h & paths.h
42189         (set_fortify_handler): Define.
42191         * debug/tst-longjmp_chk.c: Add header comment and include
42192         ../test-skeleton.c.
42193         (do_test): Mark static.
42194         (TEST_FUNCTION): Define.
42196         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42197         (IP_PMTUDISC_INTERFACE): Likewise.
42198         (IP_MULTICAST_IF): Likewise.
42199         (IP_MULTICAST_TTL): Likewise.
42200         (IP_MULTICAST_LOOP): Likewise.
42201         (IP_ADD_MEMBERSHIP): Likewise.
42202         (IP_DROP_MEMBERSHIP): Likewise.
42203         (IP_UNBLOCK_SOURCE): Likewise.
42204         (IP_BLOCK_SOURCE): Likewise.
42205         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42206         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42207         (IP_MSFILTER): Likewise.
42208         (MCAST_JOIN_GROUP): Likewise.
42209         (MCAST_BLOCK_SOURCE): Likewise.
42210         (MCAST_UNBLOCK_SOURCE): Likewise.
42211         (MCAST_LEAVE_GROUP): Likewise.
42212         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42213         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42214         (MCAST_MSFILTER): Likewise.
42215         (IP_MULTICAST_ALL): Likewise.
42216         (IP_UNICAST_IF): Likewise.
42218         * timezone/Makefile: Delete $(have-ksh) check.
42219         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42220         * timezone/tzselect.ksh: Add +x mode bits.
42222         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42223         (ANON_INODE_FS_MAGIC): Likewise.
42224         (BDEVFS_MAGIC): Likewise.
42225         (BINFMTFS_MAGIC): Likewise.
42226         (BTRFS_TEST_MAGIC): Likewise.
42227         (CRAMFS_MAGIC_WEND): Likewise.
42228         (DEBUGFS_MAGIC): Likewise.
42229         (ECRYPTFS_SUPER_MAGIC): Likewise.
42230         (EXT3_SUPER_MAGIC): Likewise.
42231         (EXT4_SUPER_MAGIC): Likewise.
42232         (FUTEXFS_SUPER_MAGIC): Likewise.
42233         (HOSTFS_SUPER_MAGIC): Likewise.
42234         (HUGETLBFS_MAGIC): Likewise.
42235         (MINIX3_SUPER_MAGIC): Likewise.
42236         (MTD_INODE_FS_MAGIC): Likewise.
42237         (NILFS_SUPER_MAGIC): Likewise.
42238         (OPENPROM_SUPER_MAGIC): Likewise.
42239         (PIPEFS_MAGIC): Likewise.
42240         (PSTOREFS_MAGIC): Likewise.
42241         (QNX6_SUPER_MAGIC): Likewise.
42242         (RAMFS_MAGIC): Likewise.
42243         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42244         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42245         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42246         (SECURITYFS_MAGIC): Likewise.
42247         (SELINUX_MAGIC): Likewise.
42248         (SMACK_MAGIC): Likewise.
42249         (SOCKFS_MAGIC): Likewise.
42250         (SQUASHFS_MAGIC): Likewise.
42251         (STACK_END_MAGIC): Likewise.
42252         (TMPFS_MAGIC): Likewise.
42253         (USBDEVICE_SUPER_MAGIC): Likewise.
42254         (V9FS_MAGIC): Likewise.
42255         (XENFS_SUPER_MAGIC): Likewise.
42256         (CRAMFS_MAGIC): Fix typo in comment.
42257         (EXT2_SUPER_MAGIC): Update comment.
42258         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42260 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42262         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42263         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42264         * sysdeps/unix/sysv/linux/arm: Move directory from
42265         ports/sysdeps/unix/sysv/linux/arm.
42266         * README: Update listing for arm-*-linux-gnueabi.
42268         * README: Remove mention of am33.
42270 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42272         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42273         than the comma operator, to avoid "rhs of comma has no effect"
42274         compiler warnings.
42275         (__sigfillset, __sigandset, __sigorset): Likewise.
42276         * include/signal.h (__sigemptyset): Likewise.
42277         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42279 2014-02-07  Allan McRae  <allan@archlinux.org>
42281         * version.h (RELEASE): Set to "development".
42282         (VERSION): Set to "2.19.90"
42283         * NEWS: Add 2.20 section.
42285 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42287         [BZ #16529]
42288         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42290 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42292         * manual/contrib.texi: Update entry for Carlos O'Donell,
42293         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42295 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42297         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42299         * sysdeps/unix/sysv/linux/kernel-features.h
42300         [__LINUX_KERNEL_VERSION >= 0x020621]
42301         (__ASSUME_PROC_PID_TASK_COMM): Define.
42303 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42305         [BZ #16398]
42306         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42307         conversion when destination buffer does not have enough space.
42308         * libio/tst-ftell-partial-wide.c: New test case.
42309         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42311         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42312         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42313         Leonard and Allan McRae.
42315 2014-02-04  David S. Miller  <davem@davemloft.net>
42317         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42318         32-bit.
42320 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42323         New file
42324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42325         New file
42326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42327         New file.
42328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42329         New file.
42330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42331         New file.
42332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42333         New file.
42334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42335         New file.
42336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42337         New file.
42338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42339         New file.
42340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42341         New file.
42342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42343         New file.
42344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42345         New file.
42346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42347         New file.
42349 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42351         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42352         * shlib-versions: Likewise.
42354 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42355             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42357         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42358         (abilist-pattern): New variable, set to %-le.abilist.
42360         * Makerules (abilist-pattern): New variable.
42361         (vpath): Use $(abilist-pattern) in place of %.abilist.
42362         (check-abi-% pattern rule): Likewise.
42363         (check-abi, update-abi): Likewise.
42365 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42369 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42371         * manual/startup.texi: Add next, previous, and top entries for
42372         the `Program Arguments' and `Environment Variables' nodes.
42374 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42376         * manual/macros.texi: Add comments before MTASC-safety macros.
42378         * manual/users.texi: Document MTASC-safety properties.
42380         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42381         (pthread_getspecific, pthread_setspecific): Format with
42382         @deftypefun, and add @safety note.
42383         * manual/signal.texi: Move comments that analyze the above
42384         functions to their home place.
42386 2014-02-03  Allan McRae  <allan@archlinux.org>
42388         * po/sl.po: Update Slovenian translation from translation project.
42390 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42392         * manual/time.texi (timegm): Add missing blank after @c.
42393         Reported by Joseph Myers <joseph@codesourcery.com>.
42395 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42397         * manual/check-safety.sh: New.
42398         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42400         * manual/terminal.texi: Document MTASC-safety properties.
42402         * manual/filesys.texi: Document MTASC-safety properties.
42404         * manual/errno.texi: Document MTASC-safety properties.
42406         * manual/intro.texi: Document safety identifiers and
42407         conditionals.
42409         * manual/string.texi (wcstok): Fix prototype.
42410         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42412         * manual/time.texi: Document MTASC-safety properties.
42414         * manual/string.texi: Document MTASC-safety properties.
42416         * manual/threads.texi: Document MTASC-safety properties.
42418         * manual/stdio.texi: Document MTASC-safety properties.
42420         * manual/syslog.texi: Document MTASC-safety properties.
42422         * manual/sysinfo.texi: Document MTASC-safety properties.
42424         * manual/startup.texi: Document MTASC-safety properties.
42426         * manual/socket.texi: Document MTASC-safety properties.
42428         * manual/signal.texi: Document MTASC-safety properties.
42430 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42432         * manual/setjmp.texi: Document MTASC-safety properties.
42434         * manual/search.texi: Document MTASC-safety properties.
42436         * manual/resource.texi: Document MTASC-safety properties.
42438         * manual/process.texi: Document MTASC-safety properties.
42440         * manual/platform.texi: Document MTASC-safety properties.
42442         * manual/pipe.texi: Document MTASC-safety properties.
42444         * manual/pattern.texi: Document MTASC-safety properties.
42446         * manual/message.texi: Document MTASC-safety properties.
42448         [BZ #12751]
42449         * manual/memory.texi: Document MTASC-safety properties.
42451         * manual/math.texi: Document MTASC-safety properties.
42453         * manual/locale.texi: Document MTASC-safety properties.
42455         * manual/llio.texi: Document MTASC-safety properties.
42457         * manual/libdl.texi: New.
42459         * manual/lang.texi: Document MTASC-safety properties.
42461         * manual/job.texi: Document MTASC-safety properties.
42463         * manual/getopt.texi: Document MTASC-safety properties.
42465         * manual/ctype.texi: Document MTASC-safety properties.
42467 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42469         [BZ #16046]
42470         * csu/libc-tls.c (static_map): Remove variable.
42471         (__libc_setup_tls): Use main executable's link map for TLS data.
42472         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42473         casing for LM_ID_BASE and GL(dl_nns).
42474         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42475         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42476         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42477         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42478         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42479         member.
42480         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42481         l_phnum members.
42483 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42485         * manual/debug.texi: Document MTASC-safety properties.
42487 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42489         [BZ #16510]
42490         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42491         of __x86_64__ when disabling x87 inline functions.
42493 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42495         * manual/charset.texi: Document MTASC-safety properties.
42497         * manual/crypt.texi: Document MTASC-safety properties.
42499         * manual/conf.texi: Document MTASC-safety properties.
42501         * manual/arith.texi: Document MTASC-safety properties.
42503         * manual/argp.texi: Document MTASC-safety properties.
42505         * manual/macros.texi: Introduce macros to document multi
42506         thread, asynchronous signal and asynchronous cancellation
42507         safety properties.
42508         * manual/intro.texi: Introduce the properties themselves.
42510 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42512         * sysdeps/sh/sh4/Makefile: New file.
42514 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42516         * math/gen-libm-test.pl ($srcdir): New variable.
42517         ($auto_input): Use it.
42519 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42521         [BZ #16506]
42522         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42523         access beyond array bounds when parsing netgroups file.
42525         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42526         the old buffer before realloc.
42528 2014-01-27  Allan McRae  <allan@archlinux.org>
42530         * po/fr.po: Update French translation from translation project.
42532 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42534         * sysdeps/sh/libm-test-ulps: Regenerate.
42536 2014-01-24  David S. Miller  <davem@davemloft.net>
42538         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42540 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42542         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42543         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42545 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42547         [BZ #16474]
42548         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42549         string pointers after reallocation.
42551 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42553         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42554         __SH4A__ instead of __SH_FPU_ANY__.
42556 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42558         * sysdeps/sh/fpu_control.h: New file.
42559         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42560         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42561         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42562         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42563         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42564         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42565         * sysdeps/sh/sys/ucontext.h: Remove.
42566         * sysdeps/sh/sys: Remove directory.
42568 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42570         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42571         s390/sys/ucontext.h.
42572         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42573         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42575 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42577         [BZ #15605]
42578         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42580 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42582         [BZ#16431]
42583         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42584         Adjust the vDSO correctly for internal calls.
42585         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42587 2014-01-20  Allan McRae  <allan@archlinux.org>
42589         * po/ca.po: Update Catalan translation from translation project.
42591 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42593         * sysdeps/s390/sotruss-lib.c: New file.
42595 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42597         [BZ#16430]
42598         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42599         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42600         local calls issues by not having a PLT stub required for IFUNC calls.
42601         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42603 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42605         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42606         * math/test-fpucw-static.c: Likewise.
42608 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42610         [BZ #16453]
42611         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42613 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42615         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42616         implementation for powerpc.
42618 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42620         [BZ #14782]
42621         * sysdeps/posix/system.c (__libc_system): Do not enable
42622         asynchronous cancellation.
42624 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42626         [BZ #16427]
42627         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42628         handling only for numbers special also in the IEEE case.
42630 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42632         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42634 2014-01-11  Allan McRae  <allan@archlinux.org>
42636         * po/bg.po: Update Bulgarian translation from translation project.
42638         * po/de.po: Update German translation from translation project.
42640 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42642         * sysdeps/generic/gcc-compat.h: New file.
42644 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42646         * benchtests/asin-inputs: Correct slow inputs.
42647         * benchtests/acos-inputs: Likewise.
42649 2014-01-10  Allan McRae  <allan@archlinux.org>
42651         * po:sv.po: Update Swedish translation from translation project.
42653         * po/vi.po: Update Vietnamese translation from translation project.
42655         * po/eo.po: Update Esperanto translation from translation project.
42657         * po/cs.po: Update Czech translation from translation project.
42659         * po/nl.po: Update Dutch translation from translation project.
42661         * po/pl.po: Update Polish translation from translation project.
42663         * po/ru.po: Update Russian translation from translation project.
42665         * po/uk.po: Update Ukrainian translation from translation project.
42667 2014-01-08  Brooks Moses  <bmoses@google.com>
42669         * elf/dl-load.c: Fix comment typo.
42671 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42673         * po/header.pot: Rename to...
42674         * po/pot.header: ... this.
42675         * po/Makefile: Use pot.header.
42677 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42678             Maxim Kuvyrkov  <maxim@kugelworks.com>
42680         [BZ #16394]
42681         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42682         SRC and DEST against LEN.
42684 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42686         [BZ #16414]
42687         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42688         implementation.
42689         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42691 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42695 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42697         [BZ #16408]
42698         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42699         for large positive arguments.
42701 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42703         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42705         * math/auto-libm-test-in: Mark various tests with
42706         xfail-rounding:ldbl-128ibm.
42707         * math/auto-libm-test-out: Regenerated.
42709         [BZ #16407]
42710         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42711         Increase overflow threshold.
42713 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42715         [BZ #14286]
42716         * stdio-common/vfprintf.c: Check for integer overflow.
42718 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42720         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42721         the first argument and return value of __tls_get_addr_internal.
42723 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42725         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42726         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42728 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42730         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42731         * sysdeps/s390/rtld-global-offsets.sym: New file.
42732         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42733         GLIBC_2.19 symbol.
42734         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42735         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42736         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42737         ... this.
42738         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42739         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42740         ... this.
42741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42742         Regenerate.
42743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42744         Regenerate.
42745         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42746         halfs of GPRs for high_gprs contexts.
42747         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42748         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42749         field.
42750         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42751         uc_flags field.
42752         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42753         64 bit versions:
42754         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42755         for high GPRs (uc_high_gprs) and for future extensions
42756         (__reserved).
42757         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42758         for future extensions (__reserved).
42759         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42760         64 bit versions:
42761         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42762         SC_HIGHGPRS offset definition.
42763         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42764         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42766         * Versions.def: Add GLIBC_2.19 for libpthread.
42767         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42768         siglongjmp for libpthread with GLIBC_2.19 symver.
42769         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42770         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42771         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42772         * sysdeps/s390/__longjmp.c: New file.
42773         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42774         * sysdeps/s390/longjmp.c: New file.
42775         * sysdeps/s390/setjmp.S: New file.
42776         * sysdeps/s390/sigjmp.S: New file.
42777         * sysdeps/s390/v1-longjmp.c: New file.
42778         * sysdeps/s390/v1-setjmp.h: New file.
42779         * sysdeps/s390/v1-sigjmp.c: New file.
42780         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42781         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42782         GLIBC_2.19 version.
42783         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42784         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42785         versioned symbols for ____longjmp_chk.
42786         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42787         Likewise.
42788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42789         Regenerate.
42790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42791         Regenerate.
42792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42793         Regenerate.
42794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42795         Regenerate.
42796         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42797         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42798         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42799         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42800         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42801         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42802         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42803         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42804         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42805         * sysdeps/s390/rtld-__longjmp.c: New file.
42806         * sysdeps/s390/rtld-setjmp.S: New file.
42808 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42810         [BZ #16400]
42811         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42812         Return -__logl (x) for small positive arguments without evaluating
42813         a polynomial.
42815 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42817         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42818         Rename to ...
42819         (__ptrace_peeksiginfo_args): ... this.
42820         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42821         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42824 2014-01-06  Allan McRae  <allan@archlinux.org>
42826         * inet/netinet/in.h: Fix typo in comment.
42828 2014-01-05  Andreas Jaeger  <aj@suse.de>
42830         * sysdeps/i386/fpu/libm-test-ulps: Update.
42832 2014-01-05  Allan McRae  <allan@archlinux.org>
42834         * po/libc.pot: Regenerated.
42836         * malloc/memusagestat.c: Fix gettext call formatting.
42838 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42840         * nscd/nscd.c: Improve usage() output.
42842 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42844         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42845         * sysdeps/unix/sysv/linux/configure: Regenerated.
42846         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42847         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42849 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42851         [BZ #16390]
42852         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42853         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42855 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42857         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42858         extra tokens at end of #undef directive.
42859         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42860         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42861         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42863 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42865         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42867         * math/auto-libm-test-in: Mark various tests with
42868         xfail-rounding:ldbl-128ibm.
42869         * math/auto-libm-test-out: Regenerated.
42871 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42873         [BZ #16386]
42874         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42875         numbers with subnormal high part when calculating exponent.
42877         [BZ #16385]
42878         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42879         fabs.
42881         [BZ #16384]
42882         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42883         M_LN2l.
42884         (__ieee754_acoshl): Use __log1pl not __log1p.
42886 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42888         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42889         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42890         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42891         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42892         (reused_arena, arena_get2): Convert to GNU style.
42893         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42894         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42895         (memalign_check, __malloc_set_state): Likewise.
42896         * malloc/mallocbug.c (main): Likewise.
42897         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42898         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42899         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42900         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42901         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42902         (__posix_memalign, malloc_info): Likewise.
42903         * malloc/malloc.h: Likewise.
42904         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42905         (mallochook, memalignhook, reallochook, mabort): Likewise.
42906         * malloc/mcheck.h: Likewise.
42907         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42908         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42909         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42910         * malloc/morecore.c (__default_morecore): Likewise.
42911         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42912         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42913         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42914         (print_and_abort): Likewise.
42915         * malloc/obstack.h: Likewise.
42916         * malloc/set-freeres.c (__libc_freeres): Likewise.
42917         * malloc/tst-mallocstate.c (main): Likewise.
42918         * malloc/tst-mtrace.c (main): Likewise.
42919         * malloc/tst-realloc.c (do_test): Likewise.
42921 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42923         [BZ #16366]
42924         * nscd/netgroupcache.c (do_notfound): New function.
42925         (addgetnetgrentX): Use it.
42927         [BZ # 16365]
42928         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42929         NSS_STATUS_NOTFOUND.
42931 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42933         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42936 2014-01-01  Allan McRae  <allan@archlinux.org>
42938         * scripts/update-copyrights: Update configure input file suffix.
42940         * NEWS: Update copyright year.
42941         * catgets/gencat.c: Likewise.
42942         * csu/version.c: Likewise.
42943         * debug/catchsegv.sh: Likewise.
42944         * debug/pcprofiledump.c: Likewise.
42945         * debug/xtrace.sh: Likewise.
42946         * elf/ldconfig.c: Likewise.
42947         * elf/ldd.bash.in: Likewise.
42948         * elf/pldd.c: Likewise.
42949         * elf/sotruss.ksh: Likewise.
42950         * elf/sprof.c: Likewise.
42951         * iconv/iconv_prog.c: Likewise.
42952         * iconv/iconvconfig.c: Likewise.
42953         * locale/programs/locale.c: Likewise.
42954         * locale/programs/localedef.c: Likewise.
42955         * login/programs/pt_chown.c: Likewise.
42956         * malloc/memusage.sh: Likewise.
42957         * malloc/memusagestat.c: Likewise.
42958         * malloc/mtrace.pl: Likewise.
42959         * manual/libc.texinfo: Likewise.
42960         * nscd/nscd.c: Likewise.
42961         * nss/getent.c: Likewise.
42962         * nss/makedb.c: Likewise.
42963         * posix/getconf.c: Likewise.
42964         * scripts/test-installation.pl: Likewise.
42966         * All files with FSF copyright notices: Update copyright dates
42967         using scripts/update-copyrights.
42968         * intl/plural.c: Regenerated.
42969         * locale/programs/charmap-kw.h: Likewise.
42970         * locale/programs/locfile-kw.h: Likewise.
42972 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42974         * sysdeps/unix/sysv/linux/configure: Regenerated.
42975         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42976         the linux/fanotify.h header.
42977         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42978         HAVE_LINUX_FANOTIFY_H is defined.
42980 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42982         * benchtests/cos-inputs: New inputs.
42983         * benchtests/sin-inputs: Likewise.
42985         * benchtests/atan-inputs: New inputs. Fix name of multiple
42986         precision fallback inputs.
42988         * benchtests/atanh-inputs: New inputs.
42989         * benchtests/tanh-inputs: Likewise.
42991         * benchtests/acosh-inputs: New inputs.
42992         * benchtests/asinh-inputs: Likewise.
42994         * benchtests/cosh-inputs: New inputs.
42995         * benchtests/sinh-inputs: Likewise.
42997         * benchtests/acos-inputs: Add more inputs.
42998         * benchtests/asin-inputs: Likewise.
43000 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43002         [BZ #16375]
43003         * manual/arith.texi: Fix spelling.
43004         * manual/charset.texi: Likewise.
43005         * manual/errno.texi: Likewise.
43006         * manual/filesys.texi: Likewise.
43007         * manual/lang.texi: Likewise.
43008         * manual/llio.texi: Likewise.
43009         * manual/locale.texi: Likewise.
43010         * manual/message.texi: Likewise.
43011         * manual/resource.texi: Likewise.
43012         * manual/search.texi: Likewise.
43013         * manual/setjmp.texi: Likewise.
43014         * manual/stdio.texi: Likewise.
43015         * manual/string.texi: Likewise.
43016         * manual/sysinfo.texi: Likewise.
43017         * manual/time.texi: Likewise.
43019 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43021         * po/sl.po: New file.
43023 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43025         * .gitignore: Add core/.gdbinit/.gdb_history.
43027 2013-12-27  Allan McRae  <allan@archlinux.org>
43029         [BZ #16369]
43030         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43031         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43033 2013-12-24  Brooks Moses  <bmoses@google.com>
43035         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43036         all compilers that claim C++98 compliance, not just GCC.
43037         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43038         Likewise.
43040 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43042         * NEWS: Restore accidentally deleted bug-fix entries.
43044 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43045             Ondřej Bílka  <neleai@seznam.cz>
43047         [BZ #15073]
43048         * malloc/malloc.c (_int_free): Perform sanity check only if we
43049         have_lock.
43051 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43053         [BZ #12986]
43054         * manual/stdio.texi (String Input Conversions): Clarify that character
43055         classes are not supported.
43057 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43061 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43063         [BZ #16337]
43064         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43065         Calculate results for small negative arguments directly rather
43066         than using reflection formula with special underflow handling.
43068         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43069         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43070         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43071         (fchflags): Likewise.
43072         (revoke): Likewise.
43073         (setlogin): Likewise.
43074         (sigaltstack): Likewise.
43075         (wait4): Likewise.
43076         (sigblock): Remove.
43077         (sigsetmask): Likewise.
43078         (wait3): Likewise.
43079         (waitpid): Likewise.
43080         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43081         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43082         file.
43083         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43084         * sysdeps/unix/bsd/Makefile: ... here.
43085         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43086         * sysdeps/unix/bsd/Versions: ... here.
43087         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43088         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43089         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43090         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43091         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43092         * sysdeps/unix/bsd/sigblock.c: ... here.
43093         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43094         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43095         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43096         * sysdeps/unix/bsd/sigvec.c: ... here.
43097         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43098         * sysdeps/unix/bsd/tcdrain.c: ... here.
43099         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43100         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43101         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43102         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43103         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43104         * sysdeps/unix/bsd/wait.c: ... here.
43105         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43106         * sysdeps/unix/bsd/wait3.c: ... here.
43107         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43108         * sysdeps/unix/bsd/waitpid.c: ... here.
43110 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43112         [BZ #16356]
43113         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43114         round-to-nearest for [!USE_AS_EXPM1L].
43115         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43116         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43117         more tests of exp and exp10.  Expect some exp10 tests to miss
43118         exceptions or fail in directed rounding modes.
43119         * math/auto-libm-test-out: Regenerated.
43120         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43121         (exp10_test_tonearest): New function.
43122         (exp10_towardzero_test_data): New array.
43123         (exp10_test_towardzero): New function.
43124         (exp10_downward_test_data): New array.
43125         (exp10_test_downward): New function.
43126         (exp10_upward_test_data): New array.
43127         (exp10_test_upward): New function.
43128         (main): Call the new functions.
43129         * sysdeps/i386/fpu/libm-test-ulps: Update.
43130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43132 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43134         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43135         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43136         * math/auto-libm-test-out: Regenerated.
43137         * math/libm-test.inc (acosh_test_data): Add more tests.
43138         (atanh_test_data): Likewise.
43139         (ceil_test_data): Likewise.
43140         (copysign_test_data): Likewise.
43141         * sysdeps/i386/fpu/libm-test-ulps: Update.
43142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43144         * timezone/checktab.awk: Update from tzcode 2013i.
43145         * timezone/private.h: Likewise.
43146         * timezone/scheck.c: Likewise.
43147         * timezone/tzfile.h: Likewise.
43148         * timezone/tzselect.ksh: Likewise.
43149         * timezone/zdump.c: Likewise.
43150         * timezone/zic.c: Likewise.
43152         * math/auto-libm-test-in: Add tests of cpow.
43153         * math/auto-libm-test-out: Regenerated.
43154         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43155         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43156         mpc_cc_c.
43157         (func_calc_desc): Add mpc_cc_c union field.
43158         (test_functions): Add cpow.
43159         (special_fill_2pi): New function.
43160         (special_real_inputs): Add 2pi.
43161         (calc_generic_results): Handle mpc_cc_c.
43162         * sysdeps/i386/fpu/libm-test-ulps: Update.
43163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43165         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43166         csqrt, ctan and ctanh.
43167         * math/auto-libm-test-out: Regenerated.
43168         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43169         (TEST_COND_x86): Likewise.
43170         (ccos_test_data): Use AUTO_TESTS_c_c.
43171         (ccosh_test_data): Likewise.
43172         (cexp_test_data): Likewise.
43173         (clog_test_data): Likewise.
43174         (csqrt_test_data): Likewise.
43175         (ctan_test_data): Likewise.
43176         (ctan_tonearest_test_data): Likewise.
43177         (ctan_towardzero_test_data): Likewise.
43178         (ctan_downward_test_data): Likewise.
43179         (ctan_upward_test_data): Likewise.
43180         (ctanh_test_data): Likewise.
43181         (ctanh_tonearest_test_data): Likewise.
43182         (ctanh_towardzero_test_data): Likewise.
43183         (ctanh_downward_test_data): Likewise.
43184         (ctanh_upward_test_data): Likewise.
43185         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43186         mpc_c_c.
43187         (func_calc_desc): Add mpc_c_c union field.
43188         (FUNC_mpc_c_c): New macro.
43189         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43190         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43191         ctanh.
43192         (special_fill_min_subnorm_p120): New function.
43193         (special_real_inputs): Add min_subnorm_p120.
43194         (calc_generic_results): Handle mpc_c_c.
43195         * sysdeps/i386/fpu/libm-test-ulps: Update.
43196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43198 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43200         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43201         (do_sin_slow): New functions.
43202         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43203         (cslow2, csloww1, csloww2): Use the new functions.
43205         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43206         Use M to change sign of result instead of X.  Assume X is
43207         positive.
43208         (csloww1): Likewise.
43209         (__sin): Adjust.
43210         (__cos): Adjust.
43212         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43213         arguments A and DA.
43214         (__sin): Adjust.
43215         (__cos): Likewise.
43217         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43218         (__cos): Likewise.
43219         (sloww1): Don't adjust sign of DX.
43220         (csloww1): Likewise.
43221         (sloww2): Use X directly and don't adjust sign of DX.
43222         (csloww2): Likewise.
43224 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43226         * math/auto-libm-test-in: Add tests of cabs and carg.
43227         * math/auto-libm-test-out: Regenerated.
43228         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43229         (carg_test_data): Likewise.
43230         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43231         mpc_c_f.
43232         (func_calc_desc): Add mpc_c_f union field.
43233         (test_functions): Add cabs and carg.
43234         (calc_generic_results): Handle mpc_c_f.
43236         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43237         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43238         as a macro and a compat symbol.
43239         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43240         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43241         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43242         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43243         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43244         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43245         not use .hidden.
43246         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43247         Likewise.
43248         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43249         Likewise.
43250         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43251         Likewise.
43252         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43253         Likewise.
43254         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43255         Likewise.
43256         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43257         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43258         from GLIBC_2.3.2.
43260 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43264 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43266         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43267         trailing whitespace removed.
43268         * scripts/config.guess: Update to version 2013-11-29.
43269         * scripts/config.sub: Update to version 2013-10-01.
43271         * math/auto-libm-test-in: Add tests of sincos.
43272         * math/auto-libm-test-out: Regenerated.
43273         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43275         mpfr_f_11.
43276         (func_calc_desc): Add mpfr_f_11 union field.
43277         (test_functions): Add sincos.
43278         (calc_generic_results): Handle mpfr_f_11.
43279         * sysdeps/i386/fpu/libm-test-ulps: Update.
43280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43282 2013-12-19  Andreas Schwab  <schwab@suse.de>
43284         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43285         CALL_MCOUNT.
43286         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43287         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43288         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43290 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43292         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43293         * sysdeps/i386/fpu/libm-test-ulps: Update.
43294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43296         [BZ #16293]
43297         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43298         round-to-nearest mode when using frndint.
43299         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43300         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43301         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43302         Likewise.
43303         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43304         sinh test to fail.
43305         * math/auto-libm-test-out: Regenerated.
43306         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43307         (TEST_COND_x86): Likewise.
43308         (expm1_tonearest_test_data): New array.
43309         (expm1_test_tonearest): New function.
43310         (expm1_towardzero_test_data): New array.
43311         (expm1_test_towardzero): New function.
43312         (expm1_downward_test_data): New array.
43313         (expm1_test_downward): New function.
43314         (expm1_upward_test_data): New array.
43315         (expm1_test_upward): New function.
43316         (main): Run the new test functions.
43317         * sysdeps/i386/fpu/libm-test-ulps: Update.
43318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43320         * include/features.h: Update comment documenting feature test
43321         macros.  Mention _DEFAULT_SOURCE in comment.
43322         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43323         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43324         _BSD_SOURCE and _SVID_SOURCE.
43325         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43326         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43327         !_SVID_SOURCE]: Likewise.
43328         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43329         (__USE_POSIX_IMPLICITLY): Define.
43330         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43331         (_POSIX_SOURCE): Undefine and redefine.
43332         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43333         (_POSIX_C_SOURCE): Likewise.
43334         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43335         (Feature Test Macros): Update documentation of default features.
43337 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43339         * benchtests/Makefile: Add bench-strtok.
43340         * benchtests/bench-strtok.c: New file: strtok benchtest.
43342 2013-12-19  Allan McRae  <allan@archlinux.org>
43344         * manual/install.texi: Suppress menu for plain text output.
43345         * INSTALL: Regenerated.
43347 2013-12-18  Brooks Moses  <bmoses@google.com>
43349         [BZ #15846]
43350         * misc/getauxval.c: Include errno.h.
43351         (__getauxval): Set errno to ENOENT if the requested type is not
43352         found.
43353         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43354         don't declare with __attribute_const__.
43355         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43356         * manual/startup.texi: Document that getauxval sets errno.
43358 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43360         * math/auto-libm-test-in: Add tests of jn and yn.
43361         * math/auto-libm-test-out: Regenerated.
43362         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43363         (yn_test_data): Likewise.
43364         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43365         mpfr_if_f.
43366         (func_calc_desc): Add mpfr_if_f union field.
43367         (FUNC_mpfr_if_f): New macro.
43368         (test_functions): Add jn and yn.
43369         (calc_generic_results): Assert type of second input for
43370         mpfr_ff_f.  Handle mpfr_if_f.
43371         (output_for_one_input_case): Disable all checking for arguments
43372         fitting floating-point types in case of an integer argument.
43373         * sysdeps/i386/fpu/libm-test-ulps: Update.
43374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43377         Don't expect fegetround reference in libm.so.
43379 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43381         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43382         $(config-cflags-nofma).
43384 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43386         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43387         * math/auto-libm-test-out: Regenerated.
43389         [BZ #16338]
43390         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43391         to determine exponent and adjust argument to have exponent of -1.
43392         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43393         log2.
43394         * math/auto-libm-test-out: Regenerated.
43395         * sysdeps/i386/fpu/libm-test-ulps: Update.
43396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43398 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43400         * manual/probes.texi: Remove cases when per-thread arenas are
43401         disabled.
43403 2013-12-18  Andreas Schwab  <schwab@suse.de>
43405         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43406         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43407         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43408         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43409         * sysdeps/i386/i686/multiarch/Makefile: Update.
43410         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43412 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43414         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43415         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43417 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43419         [BZ #15968]
43420         Support TZ transition times < 00:00:00.
43421         This is needed for version-3 tz-format files; it supports time
43422         stamps past 2037 for America/Godthab (the only entry in the tz
43423         database for which this change is relevant).
43424         * manual/time.texi (TZ Variable): Document transition times
43425         from -167:59:59 through -00:00:01.
43426         * time/tzset.c (tz_rule): Time of day is now signed.
43427         (__tzset_parse_tz): Parse negative time of day.
43429         Document TZ transition times >= 25:00:00.
43430         * manual/time.texi (TZ Variable): Document transition times from
43431         25:00:00 through 167:59:59.  These are already supported, and this
43432         support will help with version-3 tz-format files.
43434         * manual/time.texi (TZ Variable): Modernize North America example
43435         to reflect current (i.e., 2007-and-later) daylight saving rules.
43437         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43439 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43441         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43442         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43443         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43445         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43446         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43447         * sysdeps/unix/bsd/clock.c: Likewise.
43448         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43449         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43450         * sysdeps/unix/bsd/init-posix.c: Likewise.
43451         * sysdeps/unix/bsd/poll.c: Likewise.
43452         * sysdeps/unix/bsd/ptsname.c: Likewise.
43453         * sysdeps/unix/bsd/seekdir.c: Likewise.
43454         * sysdeps/unix/bsd/setegid.c: Likewise.
43455         * sysdeps/unix/bsd/seteuid.c: Likewise.
43456         * sysdeps/unix/bsd/setgid.c: Likewise.
43457         * sysdeps/unix/bsd/setrgid.c: Likewise.
43458         * sysdeps/unix/bsd/setruid.c: Likewise.
43459         * sysdeps/unix/bsd/setsid.c: Likewise.
43460         * sysdeps/unix/bsd/setuid.c: Likewise.
43461         * sysdeps/unix/bsd/sigaction.c: Likewise.
43462         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43463         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43464         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43465         * sysdeps/unix/bsd/telldir.c: Likewise.
43466         * sysdeps/unix/bsd/times.c: Likewise.
43467         * sysdeps/unix/bsd/usleep.c: Likewise.
43469         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43470         ($(objpfx)libbsd-compat.a): Remove rule.
43472         * include/features.h (__FAVOR_BSD): Do not define.
43473         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43474         features conflicting with POSIX.
43475         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43476         (_BSD_SOURCE): Remove description of not being a subset of other
43477         feature test macros.
43478         * manual/job.texi (getpgrp): Do not document BSD version.
43479         (getpgid): Do not document by reference to BSD getpgrp.
43480         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43481         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43482         * signal/signal.h [__FAVOR_BSD]: Likewise.
43483         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43484         instead of making contents conditional on [__FAVOR_BSD].
43485         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43487 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43491 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43493         [BZ #16314]
43494         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43495         values below 2**-450, not 2**-500.
43496         * math/auto-libm-test-in: Don't allow spurious underflow from
43497         hypot.
43498         * math/auto-libm-test-out: Regenerated.
43500         [BZ #16316]
43501         [BZ #16330]
43502         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43503         values of ha and hb and sort them after adjusting subnormal
43504         arguments.
43505         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43506         Likewise.
43507         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43508         values of ea and eb and sort them after adjusting subnormal
43509         arguments.
43510         * math/auto-libm-test-in: Do not expect some hypot tests of
43511         subnormals to fail.  Add more hypot tests.
43512         * math/auto-libm-test-out: Regenerated.
43514 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43516         [BZ #13304]
43517         * sysdeps/sh/s_fma.c: New file.
43518         * sysdeps/sh/s_fmaf.c: New file.
43519         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43520         version.
43521         * sysdeps/sh/Implies: Add sh/soft-fp.
43523 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43525         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43526         level of indirection to members `objname', `errstring', `malloced'.
43527         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43528         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43529         it as the __longjmp argument (just pass 1 instead).
43530         (_dl_catch_error): Initialize C with argument pointers and address of
43531         volatile local ERRCODE rather than copying values out of C at return.
43533 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43535         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43536         * math/auto-libm-test-out: Regenerated.
43537         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43538         (hypot_test_data): Likewise.
43539         (pow_test_data): Likewise.
43540         (pow_tonearest_test_data): Likewise.
43541         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43542         mpfr_ff_f.
43543         (func_calc_desc): Add mpfr_ff_f union field.
43544         (FUNC_mpfr_ff_f): New macro.
43545         (test_functions): Add atan2, hypot and pow.
43546         (special_fill_min): New function.
43547         (special_fill_minus_min): Likewise.
43548         (special_fill_min_subnorm): Likewise.
43549         (special_fill_minus_min_subnorm): Likewise.
43550         (special_real_inputs): Add min, -min, min_subnorm and
43551         -min_subnorm.
43552         (calc_generic_results): Handle mpfr_ff_f.
43553         * sysdeps/i386/fpu/libm-test-ulps: Update.
43554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43556 2013-12-16  Will Newton  <will.newton@linaro.org>
43558         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43559         (Aligned Memory Blocks): Add documentation for aligned_alloc
43560         and suggest it as an alternative to posix_memalign.
43561         (Hooks for Malloc): Document __memalign_hook is also called
43562         for aligned_alloc.  (Summary of Malloc): Add summary for
43563         aligned alloc.  Document __memalign_hook is also called
43564         for aligned_alloc.
43566 2013-12-16  Will Newton  <will.newton@linaro.org>
43568         * manual/memory.texi (Malloc Examples): Clarify default
43569         alignment documentation.  Suggest posix_memalign rather
43570         than memalign or valloc.
43571         (Aligned Memory Blocks): Remove suggestion to use memalign
43572         or valloc.  Remove obsolete comment about BSD.
43573         Document memalign errno values and mark the function obsolete.
43574         Document posix_memalign returned error codes.  Mark valloc
43575         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43576         called for posix_memalign and valloc.
43577         (Summary of Malloc): Add posix_memalign to function summary.
43578         __memalign_hook is also called for posix_memalign and valloc.
43580 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43582         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43583         TAYLOR_SIN.
43584         (__sin): Adjust.
43585         (__cos): Likewise.
43586         (sloww): Use mynumber union.  Expand ternary operator into
43587         if-else statements.
43588         (cslow): use mynumber union.
43590 2013-12-16  Allan McRae  <allan@archlinux.org>
43592         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43593         * configure: Regenerated.
43595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43597         [BZ #14120]
43598         * configure.ac: Added --enable-maintainer-mode. Check for
43599         autoconf when enabled.
43600         * configure: Regenerated.
43602         * nscd/nscd.service: New file.
43603         * nscd/nscd.tmpfiles: New file.
43605 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43607         [BZ #12100]
43608         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43609         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43610         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43611         (strstr): Add __strstr_sse2_unaligned ifunc.
43612         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43613         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43614         (strcasestr): Remove __strcasestr_sse42 ifunc.
43615         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43619 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43621         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43622         * sysdeps/sh/bits/fenv.h: ... here.
43623         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43625 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43627         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43630         hypotf multiarch implementations.
43631         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43632         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43633         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43634         multiarch hypot for PPC64.
43635         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43636         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43637         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43638         multiarch hypotf for PPC64.
43640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43641         modff multiarch implementations.
43642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43645         multiarch modf for PPC64.
43646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43649         multiarch modff for PPC64.
43651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43652         and logl multiarch implementations.
43653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43656         multiarch logb for PPC64.
43657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43660         multiarch logb for PPC64.
43661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43664         multiarch logb for PPC64.
43666         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43667         isinff multiarch implementation.
43668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43669         file.
43670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43672         multiarch isinf for PPC64.
43673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43674         file.
43675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43676         multiarch isinff for PPC64.
43678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43679         finitef multiarch implementation.
43680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43681         file.
43682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43684         multiarch finite for PPC64.
43685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43686         file.
43687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43688         multiarch finitef for PPC64.
43690         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43691         lrint multiarch implementation.
43692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43693         file.
43694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43696         multiarch llrint for PPC64.
43697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43698         multiarch lrint for PPC64.
43700         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43701         copysignf multiarch implementation.
43702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43703         file.
43704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43705         file.
43706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43707         multiarch copysign for PPC64.
43708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43709         multiarch copysignf for PPC64.
43711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43712         multiarch implementation.
43713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43714         file.
43715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43716         file.
43717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43718         file.
43719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43720         file.
43721         multiarch llround for PPC64.
43722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43723         multiarch trunc for PPC64.
43724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43725         multiarch truncf for PPC64.
43727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43728         multiarch implementation.
43729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43730         file.
43731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43732         file.
43733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43734         file.
43735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43736         file.
43737         multiarch llround for PPC64.
43738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43739         multiarch round for PPC64.
43740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43741         multiarch roundf for PPC64.
43743         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43744         multiarch implementation.
43745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43746         file.
43747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43748         file.
43749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43750         file.
43751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43752         file.
43753         multiarch llround for PPC64.
43754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43755         multiarch floor for PPC64.
43756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43757         multiarch floorf for PPC64.
43759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43760         multiarch implementation.
43761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43762         file.
43763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43764         file.
43765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43766         file.
43767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43768         file.
43769         multiarch llround for PPC64.
43770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43771         multiarch ceil for PPC64.
43772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43773         multiarch ceilf for PPC64.
43775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43776         multiarch implementation.
43777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43778         file.
43779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43780         file.
43781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43782         file.
43783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43784         multiarch llround for PPC64.
43785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43786         multiarch lround for PPC64.
43788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43789         multiarch implementation.
43790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43793         file.
43794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43797         multiarch isnan for PPC64.
43798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43799         multiarch isnanf for PPC64.
43801         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43802         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43803         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43804         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43805         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43808         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43809         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43811         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43814         multiarch implementations.
43815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43816         (__libc_ifunc_impl_list): Likewise.
43817         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43818         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43819         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43820         multiarch stpcpy for PPC64.
43822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43823         multiarch implementations.
43824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43825         (__libc_ifunc_impl_list): Likewise.
43826         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43827         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43828         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43829         multiarch strcpy for PPC64.
43831         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43832         redefine function name.
43833         (_wordcopy_fwd_dest_aligned): Likewise.
43834         (_wordcopy_bwd_aligned): Likewise.
43835         (_wordcopy_bwd_dest_aligned): Likewise.
43836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43837         multiarch implementations.
43838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43839         (__libc_ifunc_impl_list): Likewise.
43840         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43841         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43842         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43843         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43844         multiarch wcscpy for PPC64.
43846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43847         multiarch implementations.
43848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43849         (__libc_ifunc_impl_list): Likewise.
43850         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43851         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43852         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43853         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43854         multiarch wcscpy for PPC64.
43856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43857         multiarch implementations.
43858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43859         (__libc_ifunc_impl_list): Likewise.
43860         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43861         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43862         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43863         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43864         multiarch wcsrchr for PPC64.
43866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43867         multiarch implementations.
43868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43869         (__libc_ifunc_impl_list): Likewise.
43870         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43871         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43872         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43873         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43874         multiarch wcschr for PPC64.
43876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43877         multiarch implementations.
43878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43879         (__libc_ifunc_impl_list): Likewise.
43880         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43881         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43882         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43883         multiarch strchrnul for PPC64.
43885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43886         implementations.
43887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43888         (__libc_ifunc_impl_list): Likewise.
43889         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43890         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43891         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43892         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43893         strchr for PPC64.
43895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43896         implementations.
43897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43898         (__libc_ifunc_impl_list): Likewise.
43899         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43900         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43901         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43902         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43903         strncmp for PPC64.
43905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43906         multiarch implementations.
43907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43908         (__libc_ifunc_impl_list): Likewise.
43909         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43910         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43911         strncasecmp for PPC64.
43912         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43913         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43914         multiarch strncasecmp_l for PPC64.
43916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43917         multiarch implementations.
43918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43919         (__libc_ifunc_impl_list): Likewise.
43920         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43921         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43922         multiarch strcasecmp for PPC64.
43923         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43924         file.
43925         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43926         multiarch strcasecmp_l for PPC64.
43928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43929         implementations.
43930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43931         (__libc_ifunc_impl_list): Likewise.
43932         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43933         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43934         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43935         strnlen for PPC64.
43937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43938         implementations.
43939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43940         (__libc_ifunc_impl_list): Likewise.
43941         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43942         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43943         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43944         strlen for PPC64.
43946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43947         implementations.
43948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43949         (__libc_ifunc_impl_list): Likewise.
43950         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43951         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43952         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43953         rawmemrchr for PPC64.
43955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43956         implementation.
43957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43958         (__libc_ifunc_impl_list): Likewise.
43959         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43960         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43961         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43962         memrchr for PPC64.
43964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43965         implementation.
43966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43967         (__libc_ifunc_impl_list): Likewise.
43968         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43969         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43970         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43971         memchr for PPC64.
43973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43974         implementation.
43975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43976         (__libc_ifunc_impl_list): Likewise.
43977         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43978         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43979         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43980         mempcpy for PPC64.
43982         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43983         avoid cretion of __bzero symbol.
43984         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43985         Likewise.
43986         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43987         Likewise.
43988         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43989         Likewise.
43990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43991         multiarch implementations.
43992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43993         (__libc_ifunc_impl_list): Likewise.
43994         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43995         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43996         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43997         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43998         bzero for PPC32.
43999         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44000         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44001         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44002         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44003         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44004         memset for PPC64.
44005         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44007         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44009         implementations.
44010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44011         (__libc_ifunc_impl_list): Likewise.
44012         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44013         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44014         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44015         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44016         memcmp for PPC64.
44018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44019         multiarch for POWER/PPC64.
44020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44021         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44022         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44023         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44024         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44025         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44026         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44027         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44028         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44029         memcpy for PPC64.
44031         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44032         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44033         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44034         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44035         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44036         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44037         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44038         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44039         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44040         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44041         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44042         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44043         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44044         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44045         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44054 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44056         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44058 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44060         * benchtests/Makefile (bench): Add exp2 and log2.
44061         (LDLIBS-bench-exp2): Add -lm.
44062         (LDLIBS-bench-log2): Likewise.
44063         * benchtests/exp2-inputs: New inputs file.
44064         * benchtests/log2-inputs: New inputs file.
44065         * benchtests/log-inputs: Add new inputs.
44066         * benchtests/tan-inputs: Likewise.
44068 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44070         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44071         definition...
44072         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44073         (csloww2): ... from here.
44075         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44076         instead of structures.
44077         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44078         (POLYNOMIAL): Likewise.
44079         (TAYLOR_SLOW): Likewise.
44080         (__sin): Likewise.
44081         (__cos): Likewise.
44082         (slow1): Likewise.
44083         (slow2): Likewise.
44084         (sloww): Likewise.
44085         (sloww1); Likewise.
44086         (sloww2): Likewise.
44087         (bsloww1): Likewise.
44088         (bsloww2): Likewise.
44089         (cslow2): Likewise.
44090         (csloww): Likewise.
44091         (csloww1): Likewise.
44092         (csloww2): Likewise.
44094 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44096         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44097         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44098         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44099         * malloc/hooks.c (realloc_check): Likewise.
44101         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44102         * malloc/arena.c: Remove PER_THREAD conditional.
44103         [!PER_THREAD]: Remove code.
44104         (ptmalloc_unlock_all2): Likewise.
44105         (ptmalloc_init): Likewise.
44106         (_int_new_arena): Likewise.
44107         (arena_get2): Likewise.
44108         * malloc/hooks.c (__malloc_get_state): Likewise.
44109         (__malloc_set_state): Likewise.
44110         * malloc/malloc.c: Likewise.
44111         (struct malloc_state): Likewise.
44112         (struct malloc_par): Likewise.
44113         (__libc_realloc): Likewise.
44114         (__libc_mallopt): Likewise.
44116 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44118         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44120 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44122         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44123         macro to a function.  Check for zero perturb_byte.
44124         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44126         * malloc/malloc.c: (force_reg): Remove.
44127         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44128         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44129         force_reg by atomic_forced_read.
44130         * malloc/arena.c (ptmalloc_init): Likewise.
44131         * malloc/hooks.c (top_check): Likewise.
44133 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44137 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44141 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44143         * math/auto-libm-test-in: Add tests of lgamma.
44144         * math/auto-libm-test-out: Regenerated.
44145         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44146         (M_LOG_2_SQRT_PIl): Likewise.
44147         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44148         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44149         mpfr_f_f1.
44150         (func_calc_desc): Add mpfr_f_f1 union field.
44151         (ARGS1): New macro.
44152         (ARGS2): Likewise.
44153         (ARGS3): Likewise.
44154         (ARGS4): Likewise.
44155         (RET1): Likewise.
44156         (RET2): Likewise.
44157         (CALC): Likewise.
44158         (FUNC): Likewise.
44159         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44160         (test_functions): Add lgamma.
44161         (calc_generic_results): Handle mpfr_f_f1.
44162         * sysdeps/i386/fpu/libm-test-ulps: Update.
44163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44165 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44167         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44168         __mpn_add_n for PowerPC64/POWER7.
44169         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44170         __mpn_sub_n for PowerPC64/POWER7.
44172         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44173         __mpn_addmul_1 for PowerPC64.
44174         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44175         __mpn_submul_1 for PowerPC64.
44176         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44177         for PowerPC64.
44178         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44179         for PowerPC64.
44181 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44183         [BZ #15089]
44184         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44186 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44188         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44190         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44191         add multiarch folders.
44192         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44193         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44194         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44195         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44196         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44197         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44198         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44199         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44200         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44201         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44202         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44211         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44213         New file.
44214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44215         New file.
44216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44217         multiarch __ieee754_hypot for PowerPC32.
44218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44219         New file.
44220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44221         New file.
44222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44223         multiarch __ieee754_hypotf for PowerPC32.
44225         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44226         long_double_symbol only if __logbl is defined.
44227         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44228         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44229         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44230         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44231         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44232         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44233         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44234         path for implementation.
44235         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44236         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44238         logb, and logbl multiarch implementations for PowerPC32.
44239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44240         file.
44241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44242         file.
44243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44244         multiarch logb for PowerPC32.
44245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44246         file.
44247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44248         file.
44249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44250         multiarch logbf for PowerPC32.
44251         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44253         file.
44254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44255         multiarch logbl implementation for PowerPC32.
44257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44258         and modff multiarch implementations.
44259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44260         New file.
44261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44262         New file.
44263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44264         multiarch modf for PowerPC32.
44265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44266         New file.
44267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44268         New file.
44269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44270         multiarch modff for PowerPC32.
44272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44273         and lrintf multiarch implementations.
44274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44275         New file.
44276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44277         New file.
44278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44279         multiarch lrint for PowerPC32.
44280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44281         file: multiarch lrintf for PowerPC32.
44283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44284         and lroundf multiarch implementations.
44285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44286         New file.
44287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44288         New file.
44289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44290         New file.
44291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44292         multiarch lround for PowerPC32.
44293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44294         file: multiarch lroundf for PowerPC32.
44296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44297         copysign and copysignf multiarch implementations.
44298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44299         New file.
44300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44301         New file.
44302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44303         file: multiarch copysign for PowerPC32.
44304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44305         file: multiarch copysignf for PowerPC32.
44307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44308         and truncf multiarch implementations.
44309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44310         New file.
44311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44312         file.
44313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44314         multiarch trunc for PowerPC32.
44315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44316         New file.
44317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44318         New file.
44319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44320         multiarch truncf for PowerPC32.
44322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44323         and roundf multiarch implementations.
44324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44325         New file.
44326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44327         file.
44328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44329         multiarch round for PowerPC32.
44330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44331         New file.
44332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44333         New file.
44334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44335         multiarch roundf for PowerPC32.
44337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44338         and floorf multiarch implementations.
44339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44340         New file.
44341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44342         file.
44343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44344         multiarch floor for PowerPC32.
44345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44346         New file.
44347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44348         New file.
44349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44350         multiarch floorf for PowerPC32.
44352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44353         and ceilf multiarch implementations.
44354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44355         New file.
44356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44357         file.
44358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44359         multiarch ceil for PowerPC32.
44360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44361         New file.
44362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44363         file.
44364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44365         multiarch ceilf for PowerPC32.
44367         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44368         is defined.
44369         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44370         FINITEF is defined.
44371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44372         and finitef multiarch implementations.
44373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44374         New file.
44375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44376         file.
44377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44378         multiarch finite for PowerPC32.
44379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44380         New file.
44381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44382         file: multiarch finitef for PowerPC32.
44384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44385         and isinff multiarch implementations.
44386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44387         file.
44388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44389         file.
44390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44391         multiarch isinf for PowerPC32.
44392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44393         New file.
44394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44395         multiarch isinff for PowerPC32.
44397         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44398         alias when __isnan is defined.
44399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44400         and isnanf multiarch implementations.
44401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44402         file.
44403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44404         file.
44405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44406         file.
44407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44408         file.
44409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44410         multiarch isnan for PowerPC32.
44411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44412         New file.
44413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44414         New file.
44415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44416         multiarch isnanf for PowerPC32.
44418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44419         and sqrtf multiarch implementations.
44420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44421         file.
44422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44423         file.
44424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44425         multiarch sqrt for PowerPC32.
44426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44427         file.
44428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44429         file.
44430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44431         multiarch sqrtf for PowerPC32.
44433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44434         and llroundf multiarch implementations.
44435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44436         New file.
44437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44438         New file.
44439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44440         New file.
44441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44442         file: multiarch llround for PowerPC32.
44443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44444         file: multiarch llroundf for PowerPC32.
44446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44447         multiarch PowerPC32 fpu implementations.
44448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44449         New file.
44450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44451         New file.
44452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44453         multiarch llrint for PowerPC32.
44454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44455         New file.
44456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44457         New file.
44458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44459         file.
44461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44463         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44464         file.
44465         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44466         file.
44467         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44468         file.
44469         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44470         multiarch wordcopy for PPC32.
44471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44472         wordcopy objects.
44473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44474         (__libc_ifunc_impl_list): Likewise.
44475         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44476         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44477         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44478         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44479         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44480         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44482         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44484         file.
44485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44486         file.
44487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44488         file.
44489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44490         multiarch wcscpy for PPC32.
44491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44492         multiarch objects.
44493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44494         (__libc_ifunc_impl_list): Likewise.
44495         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44496         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44497         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44498         sysdeps/powerpc/power6/wcscpy.c.
44500         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44501         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44502         file.
44503         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44504         file.
44505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44506         file.
44507         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44508         multiarch wcsrchr for PPC32.
44509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44510         multiarch objects.
44511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44512         (__libc_ifunc_impl_list): Likewise.
44513         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44514         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44515         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44516         sysdeps/powerpc/power6/wcsrchr.c.
44518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44519         file.
44520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44521         file.
44522         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44523         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44524         multiarch wcschr for PPc32.
44525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44526         multiarch objects.
44527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44528         (__libc_ifunc_impl_list): Likewise.
44529         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44530         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44531         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44532         sysdeps/powerpc/power6/wcschr.c.
44534         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44535         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44536         file.
44537         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44538         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44539         file: multiarch strchr for PPC32.
44540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44541         multiarch objects.
44542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44543         (__libc_ifunc_impl_list): Likewise.
44545         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44546         name.
44547         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44548         file.
44549         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44550         file.
44551         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44552         multiarch strchrnul for PPC32.
44553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44554         multiarch objects.
44555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44556         (__libc_ifunc_impl_list): Likewise.
44558         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44559         file.
44560         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44561         multiarch strncasecmp for PPC32.
44562         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44563         file.
44564         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44565         multiarch strncasecmp_l for PPC32.
44566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44567         strncasecmp multiarch objects.
44568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44569         (__libc_ifunc_impl_list): Likewise.
44571         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44572         file.
44573         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44574         multiarch strncasecmp for PPC32.
44575         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44576         New file.
44577         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44578         multiarch strcasecmp_l for PPC32.
44579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44580         multiarch objects.
44581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44582         (__libc_ifunc_impl_list): Likewise.
44584         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44585         file.
44586         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44587         file.
44588         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44589         multiarch strncmp for PPC32.
44590         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44591         multiarch objects.
44592         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44593         (__libc_ifunc_impl_list): Likewise.
44595         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44596         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44597         file.
44598         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44599         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44600         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44601         multiarch objects.
44602         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44603         (__libc_ifunc_impl_list): Likewise.
44605         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44606         file.
44607         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44608         file.
44609         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44611         multiarch objects.
44612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44613         (__libc_ifunc_impl_list): Likewise.
44615         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44616         file.
44617         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44618         file.
44619         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44620         multiarch rawmemchr for PPC32.
44621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44622         multiarch objects.
44623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44624         (__libc_ifunc_impl_list): Likewise.
44626         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44627         file.
44628         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44629         file.
44630         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44631         file: memrchr multiarch for PPC32.
44632         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44633         multiarch objects.
44634         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44635         (__libc_ifunc_impl_list): Likewise.
44637         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44638         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44639         file.
44640         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44641         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44642         multiarch memchr for PPC32.
44643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44644         multiarch objects.
44645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44646         (__libc_ifunc_impl_list): Likewise.
44648         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44649         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44650         file.
44651         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44652         file.
44653         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44654         file: multiarch mempcpy for PPC32.
44655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44656         multiarch objects.
44657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44658         (__libc_ifunc_impl_list): Likewise.
44660         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44661         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44662         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44663         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44664         multiarch bzero for PPC32.
44665         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44666         file.
44667         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44668         file.
44669         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44670         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44671         file: multiarch memset for PPC32.
44672         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44674         memset multiarch objects.
44675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44676         (__libc_ifunc_impl_list): Likewise.
44678         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44679         file.
44680         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44681         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44682         memcmp for PPC32.
44683         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44685         multiarch objects.
44686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44687         (__libc_ifunc_impl_list): Likewise.
44689         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44690         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44691         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44692         file.
44693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44694         file.
44695         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44696         file.
44697         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44698         multiarch memcpy for PPC32.
44699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44700         multiarch objects.
44701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44702         (__libc_ifunc_impl_list): Likewise.
44704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44705         support multiarch for POWER/PPC32.
44706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44707         Likewise.
44708         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44710         Implies file to make multiarch folder appers before the fpu and
44711         default folder for power4 configuration.
44713 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44715         * scripts/bench.pl: Append volatile keyword to type.
44717 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44719         * sysdeps/sh/sotruss-lib.c: New file.
44720         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44722 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44726 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44728         [BZ #6810]
44729         * math/w_tgamma.c: Include <errno.h>.
44730         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44731         * math/w_tgammaf.c: Include <errno.h>.
44732         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44733         * math/w_tgammal.c: Include <errno.h>.
44734         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44735         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44736         underflow.  Add more tgamma tests.
44737         * math/auto-libm-test-out: Regenerated.
44738         * sysdeps/i386/fpu/libm-test-ulps: Update.
44739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44741         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44742         sin, sinh, tan, tanh, tgamma, y0 and y1.
44743         * math/auto-libm-test-out: Regenerated.
44744         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44745         (TEST_COND_x86): Likewise.
44746         (M_E2l): Remove macro.
44747         (M_E3l): Likewise.
44748         (M_2_SQRT_PIl): Likewise.
44749         (M_SQRT_PIl): Likewise.
44750         (M_1_DIV_El): Likewise.
44751         (log_test_data): Use AUTO_TESTS_f_f.
44752         (log10_test_data): Likewise.
44753         (log1p_test_data): Likewise.
44754         (log2_test_data): Likewise.
44755         (sin_test_data): Likewise.
44756         (sin_tonearest_test_data): Likewise.
44757         (sin_towardzero_test_data): Likewise.
44758         (sin_downward_test_data): Likewise.
44759         (sin_upward_test_data): Likewise.
44760         (sinh_test_data): Likewise.
44761         (sinh_tonearest_test_data): Likewise.
44762         (sinh_towardzero_test_data): Likewise.
44763         (sinh_downward_test_data): Likewise.
44764         (sinh_upward_test_data): Likewise.
44765         (tan_test_data): Likewise.
44766         (tan_tonearest_test_data): Likewise.
44767         (tan_towardzero_test_data): Likewise.
44768         (tan_downward_test_data): Likewise.
44769         (tan_upward_test_data): Likewise.
44770         (tanh_test_data): Likewise.
44771         (tgamma_test_data): Likewise.
44772         (y0_test_data): Likewise.
44773         (y1_test_data): Likewise.
44774         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44775         (special_real_inputs): Add pi/4.
44776         * sysdeps/i386/fpu/libm-test-ulps: Update.
44777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44779 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44781         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44782         "longjmp_target" static probes.
44783         (__longjmp): Rename to __longjmp_symbol.
44784         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44785         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44786         on which longjmp to generate.
44787         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44788         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44789         probe.
44790         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44791         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44792         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44793         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44794         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44795         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44797         __longjmp_symbol based on which __longjmp to generate.
44798         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44799         probe.
44800         (setjmp): Rename to setjmp_symbol.
44801         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44802         (_setjmp): Rename to _setjmp_symbol.
44803         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44804         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44805         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44806         which setjmp to generate.
44807         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44808         "longjmp_target" static probes.
44810 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44812         * benchtests/README: Add note about output arguments.
44813         * benchtests/bench-sincos.c: Remove file.
44814         * benchtests/sincos-inputs: New file.
44815         * scripts/bench.pl: Identify output arguments and define
44816         static variables for them.
44818         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44820         [BZ #15941]
44821         * Makefile (INSTALL): Add install-plain.texi as the primary
44822         dependency.
44823         * manual/install-plain.texi: New file.
44824         * manual/install.texi: Include node directive only for
44825         non-plaintext output.
44827 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44829         * stdlib/longlong.h: Update from GCC.
44831         [BZ #6807]
44832         [BZ #15901]
44833         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44834         * math/w_j0f.c (y0f): Likewise.
44835         * math/w_j0l.c (__y0l): Likewise.
44836         * math/w_j1.c (y1): Likewise.
44837         * math/w_j1f.c (y1f): Likewise.
44838         * math/w_j1l.c (__y1l): Likewise.
44839         * math/w_jn.c (yn): Likewise.
44840         * math/w_jnf.c (ynf): Likewise.
44841         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44842         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44843         value for Bessel function domain errors outside _SVID_ mode.
44844         Adjust sign of return value for yn (negative integer, 0).
44845         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44846         by zero in return for negative x and set sign appropriately for
44847         negative n.
44848         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44849         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44850         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44851         expectations in error cases.
44852         (y1_test_data): Likewise.
44853         (yn_test_data): Likewise.
44854         * sysdeps/i386/fpu/libm-test-ulps: Update.
44855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44857 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44859         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44860         "64" to "64-v1".  Add "64-v2".
44861         (abi-64-options): Rename to ...
44862         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44863         (abi-64-condition): Rename to ...
44864         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44865         (abi-64-ld-soname): Rename to ...
44866         (abi-64-v1-ld-soname): ... this.
44867         (abi-64-v2-options): Define.
44868         (abi-64-v2-condition): Likewise.
44869         (abi-64-v2-ld-soname): Likewise.
44870         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44871         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44876 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44877             Alan Modra  <amodra@gmail.com>
44879         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44880         New versions for use with the ELFv2 ABI.
44881         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44882         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44883         declaration.
44884         (struct La_ppc64v2_retval): Likewise.
44885         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44886         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44887         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44888         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44889         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44890         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44891         Do not save or restore CR.
44892         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44893         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44894         return values for ELFv2 ABI.  Fix location of FPR return registers.
44895         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44896         updated values for _CALL_ELF == 2.
44897         (La_regs, La_retval, int_retval): Likewise.
44899 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44901         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44902         (FRAME_MIN_SIZE_PARM): Likewise.
44903         (FRAME_BACKCHAIN): Likewise.
44904         (FRAME_CR_SAVE): Likewise.
44905         (FRAME_LR_SAVE): Likewise.
44906         (FRAME_TOC_SAVE): Likewise.
44907         (FRAME_PARM_SAVE): Likewise.
44908         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44909         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44910         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44911         (call_mcount_parm_offset): New macro.
44912         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44913         (PROF): Use symbolic stack frame offsets.
44914         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44915         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44916         Redefine in terms of FRAME_MIN_SIZE.
44917         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44918         (_dl_profile_resolve): Likewise.  Update comment.
44919         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44920         symbols stack frame offsets.
44921         (__sigsetjmp): Likewise.
44922         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44923         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44924         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44925         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44928         (FRAME_BACKCHAIN): Remove.
44929         (FRAME_CR_SAVE): Likewise.
44930         (FRAME_LR_SAVE): Likewise.
44931         (FRAME_COMPILER_DW): Likewise.
44932         (FRAME_LINKER_DW): Likewise.
44933         (FRAME_TOC_SAVE): Likewise.
44934         (FRAME_PARM_SAVE): Likewise.
44935         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44936         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44937         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44939         (CHECK_SP): Use symbolic stack frame offsets.
44940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44941         zone" instead of caller's parameter save area for temp storage.
44942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44943         Likewise.  Also, use symbolic stack frame offsets.
44944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44945         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44946         our own stack frame instead of the caller's.
44947         (__socket): Use symbolic stack frame offsets.
44949 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44950             Alan Modra  <amodra@gmail.com>
44952         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44953         Define.
44954         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44955         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44956         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44957         New function.
44958         (elf_machine_fixup_plt): Call it.
44959         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44960         reloc arguments.
44961         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44962         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44963         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44964         r2 before calling target.
44966 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44967             Alan Modra  <amodra@gmail.com>
44969         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44970         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44971         versions of macros to support ELFv2 ABI.
44972         (LOCALENTRY): New macro.
44973         (ENTRY, EALIGN): Use it.
44974         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44975         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44976         fall through into ENTRY entry point.
44977         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44978         Only define if _CALL_ELF != 2.
44980         (elf_machine_matches_host): Verify ABI version matches.
44981         (RTLD_START): Use LOCALENTRY.
44982         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44983         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44984         (PLT_ENTRY_WORDS): New macro.
44985         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44986         (elf_machine_runtime_setup): Support ELFv2 ABI.
44987         (elf_machine_fixup_plt): Likewise.
44988         (elf_machine_plt_conflict): Likewise.
44989         (resolve_ifunc): Likewise.
44990         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44991         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44992         Likewise.
44993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44994         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44996         (makecontext): Support ELFv2 ABI.
44997         * elf/elf.h (EF_PPC64_ABI): Define.
44999 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45001         * sysdeps/powerpc/powerpc64/sysdep.h
45002         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45003         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45004         (ENTRY) [ASSEMBLER]: ... but instead here ...
45005         (EALIGN) [ASSEMBLER]: ... and here.
45006         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45007         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45008         (ENTRY_2) [!ASSEMBLER]: Use it.
45009         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45010         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45011         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45012         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45013         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45015         Use PPC64_LOAD_FUNCPTR.
45017         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45019 2013-12-04  Alan Modra  <amodra@gmail.com>
45021         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45022         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45023         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45024         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45026         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45027         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45028         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45029         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45030         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45031         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45033 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45036         (__makecontext): Fix incorrect CFI when backtracing out of
45037         context created via makecontext.
45038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45039         (__setcontext): Fix incorrect CFI during switch to new context.
45040         (__novec_setcontext): Likewise.
45042 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45044         [BZ #4772]
45045         * time/strptime_l.c (__strptime_internal): Allow modifiers
45046         in strptime.
45047         * time/tst-strptime.c (day_tests): Add testcase.
45049 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45051         * scripts/bench.pl: Skip over blank lines.
45053 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45055         [BZ #926]
45056         * manual/time.texi (Calendar Time): Clarify what timezone functions
45057         use.
45059 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45063 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45065         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45066         implementation.
45067         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45068         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45069         * debug/memset_chk.c (__memset_chk): Likewise.
45070         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45071         * debug/strncpy_chk.c: Likewise.
45073 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45075         [BZ #15268]
45076         [BZ #15425]
45077         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45078         (__ieee754_exp): For possibly underflowing results, check size of
45079         result and force underflow exception if required.
45080         * math/auto-libm-test-in: Add more tests of exp.
45081         * math/auto-libm-test-out: Regenerated.
45082         * sysdeps/i386/fpu/libm-test-ulps: Update.
45083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45085         [BZ #16283]
45086         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45087         * math/w_exp2f.c (__exp2f): Likewise.
45088         * math/w_exp2l.c (__exp2l): Likewise.
45089         * math/auto-libm-test-in: Do not allow missing errno on exp2
45090         underflow.
45091         * math/auto-libm-test-out: Regenerated.
45093 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45095         [BZ #16274]
45096         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45097         handle filename validation.
45098         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45099         (do_open): Delete.
45101 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45103         [BZ #6786]
45104         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45105         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45106         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45107         <float.h>.
45108         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45109         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45110         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45111         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45112         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45113         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45114         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45115         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45116         Add more erfc tests.
45117         * math/auto-libm-test-out: Regenerated.
45118         * sysdeps/i386/fpu/libm-test-ulps: Update.
45119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45121         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45122         exp2, expm1, j0 and j1.
45123         * math/auto-libm-test-out: Regenerated.
45124         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45125         (erfc_test_data): Likewise.
45126         (exp_test_data): Likewise.
45127         (exp_tonearest_test_data): Likewise.
45128         (exp_towardzero_test_data): Likewise.
45129         (exp_downward_test_data): Likewise.
45130         (exp_upward_test_data): Likewise.
45131         (exp10_test_data): Likewise.
45132         (exp2_test_data): Likewise.
45133         (expm1_test_data): Likewise.
45134         (j0_test_data): Likewise.
45135         (j1_test_data): Likewise.
45136         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45137         (input_flag_type): Add flag_xfail_rounding.
45138         (input_flags): Add xfail-rounding.
45139         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45140         (output_for_one_input_case): Handle flag_xfail_rounding.
45141         * sysdeps/i386/fpu/libm-test-ulps: Update.
45142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45144 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45146         [BZ #16289]
45147         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45148         division by 0.
45150 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45152         [BZ #16195]
45153         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45154         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45155         (STAP_PROBE0): New macro.
45156         (STAP_PROBE1): Likewise.
45157         (STAP_PROBE2): Likewise.
45158         (STAP_PROBE3): Likewise.
45159         (STAP_PROBE4): Likewise.
45161 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45163         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45165 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45167         * benchtests/Makefile (bench): Add sqrt.
45168         (LDLIBS-bench-sqrt): New.
45169         * benchtests/sqrt-input: New.
45171 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45173         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45174         (GAIH_EAI): Likewise.
45175         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45176         (gaih_inet): Likewise.
45177         (getaddrinfo): Don't use GAIH_EAI.
45179         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45180         (struct gaih): Remove definition.
45182 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45184         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45185         Use HERRNOP directly.
45187 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45191 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45193         * math/gen-auto-libm-tests.c (test_functions): Add more
45194         single-argument functions.
45195         (special_fill_pi_2): New function.
45196         (special_fill_minus_pi_2): Likewise.
45197         (special_fill_pi_6): Likewise.
45198         (special_fill_minus_pi_6): Likewise.
45199         (special_fill_pi_3): Likewise.
45200         (special_fill_2pi_3): Likewise.
45201         (special_fill_e): Likewise.
45202         (special_fill_1_e): Likewise.
45203         (special_fill_e_minus_1): Likewise.
45204         (special_real_inputs): Add more special inputs.
45205         (output_for_one_input_case): Do not require ERANGE on underflow to
45206         zero if round-to-nearest result does not underflow to zero, unless
45207         exact results required.
45208         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45209         atan, atanh, cbrt, cos and cosh.
45210         * math/auto-libm-test-out: Regenerated.
45211         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45212         (acos_tonearest_test_data): Likewise.
45213         (acos_towardzero_test_data): Likewise.
45214         (acos_downward_test_data): Likewise.
45215         (acos_upward_test_data): Likewise.
45216         (acosh_test_data): Likewise.
45217         (asin_test_data): Likewise.
45218         (asin_tonearest_test_data): Likewise.
45219         (asin_towardzero_test_data): Likewise.
45220         (asin_upward_test_data): Likewise.
45221         (asinh_test_data): Likewise.
45222         (atan_test_data): Likewise.
45223         (atanh_test_data): Likewise.
45224         (cbrt_test_data): Likewise.
45225         (cos_test_data): Likewise.
45226         (cos_tonearest_test_data): Likewise.
45227         (cos_towardzero_test_data): Likewise.
45228         (cos_downward_test_data): Likewise.
45229         (cos_upward_test_data): Likewise.
45230         (cosh_test_data): Likewise.
45231         (cosh_tonearest_test_data): Likewise.
45232         (cosh_towardzero_test_data): Likewise.
45233         (cosh_downward_test_data): Likewise.
45234         (cosh_upward_test_data): Likewise.
45235         * sysdeps/i386/fpu/libm-test-ulps: Update.
45236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45238 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45240         [BZ #6787]
45241         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45242         * math/w_exp10f.c (__exp10f): Likewise.
45243         * math/w_exp10l.c (__exp10l): Likewise.
45244         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45245         errno settings in existing tests.
45247         [BZ #14032]
45248         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45249         precision control set to double precision.
45250         * sysdeps/i386/fpu/w_sqrt.c: New file.
45251         * math/auto-libm-test-in: Add more tests.
45252         * math/auto-libm-test-out: Update.
45254         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45255         (sqrt_test_tonearest): New function.
45256         (sqrt_towardzero_test_data): New variable.
45257         (sqrt_test_towardzero): New function.
45258         (sqrt_downward_test_data): New variable.
45259         (sqrt_test_downward): New function.
45260         (sqrt_upward_test_data): New variable.
45261         (sqrt_test_upward): New function.
45262         (main): Call the new functions.
45264         * math/gen-auto-libm-tests.c: New file.
45265         * math/auto-libm-test-in: Likewise.
45266         * math/auto-libm-test-out: New generated file.
45267         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45268         variables.
45269         (%beautify): Add generated representations of zero.
45270         (top level): Set $auto_input and call parse_auto_input.
45271         (beautify): Remove trailing "f" from hex float constants.
45272         (parse_args): Handle XFAIL_TEST.
45273         (convert_condition): New function.
45274         (or_value): Likewise.
45275         (or_cond_value): Likewise.
45276         (generate_testfile): Handle AUTO_TESTS_* lines.
45277         (parse_auto_input): New function.
45278         * math/libm-test.inc (XFAIL_TEST): New macro.
45279         (ERRNO_UNCHANGED): Update value.
45280         (ERRNO_EDOM): Likewise.
45281         (ERRNO_ERANGE): Likewise.
45282         (IGNORE_RESULT): Likewise.
45283         (TEST_COND_flt_32): New macro.
45284         (TEST_COND_dbl_64): Likewise.
45285         (TEST_COND_ldbl_96_intel): Likewise.
45286         (TEST_COND_ldbl_96_m68k): Likewise.
45287         (TEST_COND_ldbl_128): Likewise.
45288         (TEST_COND_ldbl_128ibm): Likewise.
45289         (TEST_COND_long32): Likewise.
45290         (TEST_COND_long64): Likewise.
45291         (TEST_COND_before_rounding): Likewise.
45292         (TEST_COND_after_rounding): Likewise.
45293         (enable_test): Handle XFAIL_TEST flag.
45294         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45295         with finite results.
45296         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45297         auto-libm-test-out.
45299 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45300             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45302         [BZ #16214]
45303         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45304         __tls_get_addr_internal instead of __tls_get_offset in order to
45305         avoid GOT pointer dependency.  Make rtld export
45306         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45307         __tls_get_addr since we are a __tls_get_offset platform.
45308         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45309         GOT pointer being set up before.
45310         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45312 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45314         * manual/math.texi (Errors in Math Functions): Document accuracy
45315         goals.
45317         [BZ #15004]
45318         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45319         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45320         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45321         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45322         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45323         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45324         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45325         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45326         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45327         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45328         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45329         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45330         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45331         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45332         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45333         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45335         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45336         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45337         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45338         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45339         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45340         Likewise.
45341         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45342         Likewise.
45343         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45344         Likewise.
45345         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45346         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45347         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45348         atomic-feupdateenv and flt-rounds.
45349         * sysdeps/powerpc/nofpu/Versions (libc): Add
45350         __atomic_feholdexcept, __atomic_feclearexcept,
45351         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45352         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45353         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45354         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45355         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45356         here.
45357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45358         Update.
45360         * manual/arith.texi (FP Exceptions): Document that exceptions may
45361         not be raised when matherr is used.
45362         (Math Error Reporting): Document overflow in directed rounding
45363         modes.  Document that errno may not be set when finite values are
45364         returned on overflow.  Document intent to set errno on underflow
45365         only for underflow to zero.
45367         [BZ #16271]
45368         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45369         round-to-nearest then adjust result for other rounding modes.
45370         * include/fenv.h (fegetround): Use libm_hidden_proto.
45371         * math/fegetround.c (fegetround): Use libm_hidden_def.
45372         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45373         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45374         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45376         Likewise.
45377         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45378         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45379         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45380         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45382 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45384         [BZ #16077]
45385         * nss/Versions (libnss_files): Add
45386         _nss_files_gethostbyname3_r.
45387         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45388         New function.
45389         (HOST_DB_LOOKUP): Remove macro.
45390         (_nss_files_gethostbyname_r): Implement function without the
45391         HOST_DB_LOOKUP macro.
45392         (_nss_files_gethostbyname2_r): Likewise.
45394 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45396         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45398 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45400         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45401         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45402         warning.
45404 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45406         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45407         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45408         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45409         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45410         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45411         __fe_nomask_env_priv and attribute_hidden.
45412         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45413         (libc_feupdateenv_test_ppc): Likewise.
45414         (libc_feresetround_ppc): Likewise.
45415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45416         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45417         compat_symbol macro.
45418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45419         (__fe_nomask_env): Likewise.
45420         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45422 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45424         * string/Makefile: Remove ifunc tests.
45425         * string/test-string.h: Define TEST_IFUNC.
45426         * string/test-bcopy-ifunc.c: Remove.
45427         * string/test-bzero-ifunc.c: Likewise.
45428         * string/test-memccpy-ifunc.c: Likewise.
45429         * string/test-memchr-ifunc.c: Likewise.
45430         * string/test-memcmp-ifunc.c: Likewise.
45431         * string/test-memcpy-ifunc.c: Likewise.
45432         * string/test-memmem-ifunc.c: Likewise.
45433         * string/test-memmove-ifunc.c: Likewise.
45434         * string/test-mempcpy-ifunc.c: Likewise.
45435         * string/test-memrchr-ifunc.c: Likewise.
45436         * string/test-memset-ifunc.c: Likewise.
45437         * string/test-rawmemchr-ifunc.c: Likewise.
45438         * string/test-stpcpy-ifunc.c: Likewise.
45439         * string/test-stpncpy-ifunc.c: Likewise.
45440         * string/test-strcasecmp-ifunc.c: Likewise.
45441         * string/test-strcasestr-ifunc.c: Likewise.
45442         * string/test-strcat-ifunc.c: Likewise.
45443         * string/test-strchr-ifunc.c: Likewise.
45444         * string/test-strchrnul-ifunc.c: Likewise.
45445         * string/test-strcmp-ifunc.c: Likewise.
45446         * string/test-strcpy-ifunc.c: Likewise.
45447         * string/test-strcspn-ifunc.c: Likewise.
45448         * string/test-strlen-ifunc.c: Likewise.
45449         * string/test-strncasecmp-ifunc.c: Likewise.
45450         * string/test-strncat-ifunc.c: Likewise.
45451         * string/test-strncmp-ifunc.c: Likewise.
45452         * string/test-strncpy-ifunc.c: Likewise.
45453         * string/test-strnlen-ifunc.c: Likewise.
45454         * string/test-strpbrk-ifunc.c: Likewise.
45455         * string/test-strrchr-ifunc.c: Likewise.
45456         * string/test-strspn-ifunc.c: Likewise.
45457         * string/test-strstr-ifunc.c: Likewise.
45459 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45461         * benchtests/Makefile: Remove ifunc tests.
45462         * benchtests/bench-string.h: Define TEST_IFUNC.
45463         * benchtests/bench-bcopy-ifunc.c: Remove.
45464         * benchtests/bench-bzero-ifunc.c: Likewise.
45465         * benchtests/bench-memccpy-ifunc.c: Likewise.
45466         * benchtests/bench-memchr-ifunc.c: Likewise.
45467         * benchtests/bench-memcmp-ifunc.c: Likewise.
45468         * benchtests/bench-memcpy-ifunc.c: Likewise.
45469         * benchtests/bench-memmem-ifunc.c: Likewise.
45470         * benchtests/bench-memmove-ifunc.c: Likewise.
45471         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45472         * benchtests/bench-memrchr-ifunc.c: Likewise.
45473         * benchtests/bench-memset-ifunc.c: Likewise.
45474         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45475         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45476         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45477         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45478         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45479         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45480         * benchtests/bench-strcat-ifunc.c: Likewise.
45481         * benchtests/bench-strchr-ifunc.c: Likewise.
45482         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45483         * benchtests/bench-strcmp-ifunc.c: Likewise.
45484         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45485         * benchtests/bench-strcpy-ifunc.c: Likewise.
45486         * benchtests/bench-strcspn-ifunc.c: Likewise.
45487         * benchtests/bench-strlen-ifunc.c: Likewise.
45488         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45489         * benchtests/bench-strncat-ifunc.c: Likewise.
45490         * benchtests/bench-strncmp-ifunc.c: Likewise.
45491         * benchtests/bench-strncpy-ifunc.c: Likewise.
45492         * benchtests/bench-strnlen-ifunc.c: Likewise.
45493         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45494         * benchtests/bench-strrchr-ifunc.c: Likewise.
45495         * benchtests/bench-strsep-ifunc.c: Likewise.
45496         * benchtests/bench-strspn-ifunc.c: Likewise.
45497         * benchtests/bench-strstr-ifunc.c: Likewise.
45499 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45501         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45503 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45505         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45506         * rt/aio.h: Likewise.
45507         * sysdeps/gnu/bits/utmp.h: Likewise.
45508         * sysdeps/gnu/bits/utmpx.h: Likewise.
45509         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45510         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45511         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45512         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45513         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45514         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45515         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45516         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45517         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45518         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45519         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45520         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45521         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45523         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45524         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45525         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45526         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45527         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45528         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45529         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45530         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45531         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45532         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45533         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45535         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45536         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45537         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45538         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45539         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45540         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45541         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45542         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45543         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45544         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45545         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45546         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45547         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45548         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45549         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45550         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45552 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45554         [BZ #16245]
45555         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45556         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45558 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45560         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45561         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45562         Likewise.
45564 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45566         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45567         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45568         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45569         (__fesetround): Remove define.
45570         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45571         rounding and exceptions handling.
45572         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45573         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45574         (__fe_nomask_env): Likewise.
45575         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45576         __fegetround instead of fegetround.
45577         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45578         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45580 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45582         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45583         it's there.
45585         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45587 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45589         [BZ #11157]
45590         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45591         (encrypt_r): Likewise.
45592         * malloc/obstack.h (obstack_free): Likewise.
45593         * posix/unistd.h (encrypt): Likewise.
45595 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45597         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45598         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45599         DL_CALL_DT_FINI() that call the functions directly.
45600         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45601         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45602         * elf/dl-fini.c: Likewise.
45604 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45606         * malloc/hooks.c (memalign_check): Add alignment rounding.
45607         * malloc/malloc.c (_mid_memalign): New function.
45608         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45609         Implement by calling _mid_memalign.
45610         * manual/probes.texi (Memory Allocation Probes): Remove
45611         memory_valloc_retry and memory_pvalloc_retry.
45613 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45615         * locale/programs/locarchive.c (open_archive): Add const
45616         qualifier to ARCHIVEFNAME and copy default fname to
45617         DEFAULT_FNAME.
45619         [BZ #15601]
45620         * libio/tst-widetext.input: Rename Oriya to Odia.
45621         * locale/iso-639.def: Likewise.
45623         * manual/probes.texi (Mathematical Function Probes): Add
45624         documentation for sin, cos, asin and acos probes.
45625         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45626         (__sin32): Add slowasin probe.
45627         (__cos32): Add slowacos probe.
45628         (__mpsin): Add slowsin probe.
45629         (__mpcos): Add slowcos probe.
45631 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45633         [BZ #15483]
45634         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45635         thread-local __sim_exceptions_thread and global
45636         __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         (__simulate_exceptions): Use thread-local floating-point state and
45643         set global state from it as needed.
45644         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45645         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45646         __sim_round_mode_thread.
45647         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45648         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45649         and global __sim_exceptions_global.
45650         (__sim_disabled_exceptions): Change to thread-local
45651         __sim_disabled_exceptions_thread and global
45652         __sim_disabled_exceptions_global.
45653         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45654         and global __sim_round_mode_global.
45655         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45656         (SIM_SET_GLOBAL): Likewise.
45657         * sysdeps/powerpc/soft-fp/sfp-machine.h
45658         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45659         __sim_round_mode_thread.
45660         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45661         __sim_disabled_exceptions_thread.
45662         (__sim_exceptions): Change to __sim_exceptions_thread.
45663         (__sim_disabled_exceptions): Change to
45664         __sim_disabled_exceptions_thread.
45665         (__sim_round_mode): Change to __sim_round_mode_thread.
45666         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45667         thread-local floating-point state and set global state from it as
45668         needed.
45669         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45670         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45671         (__sim_disabled_exceptions): Remove extern declaration.
45672         (feenableexcept): Use thread-local floating-point state and set
45673         global state from it as needed.
45674         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45675         extern declaration.
45676         (__sim_disabled_exceptions): Likewise.
45677         (__sim_round_mode): Likewise.
45678         (__fegetenv): Use thread-local floating-point state.
45679         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45680         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45681         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45682         floating-point state and set global state from it as needed.
45683         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45684         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45685         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45686         Likewise.
45687         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45688         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45689         Likewise.
45690         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45691         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45692         Use __sim_round_mode_thread.
45693         * math/test-fenv-tls.c: New file.
45694         * math/Makefile (tests): Add test-fenv-tls.
45695         ($(objpfx)test-fenv-tls): Depend on
45696         $(common-objpfx)nptl/libpthread.so.
45698 2013-11-19  Andreas Schwab  <schwab@suse.de>
45700         * locale/programs/locale.c (show_info): Decode wordarray elements.
45701         * locale/categories.def (LC_MONETARY): Add element for
45702         _NL_MONETARY_CRNCYSTR.
45703         * locale/C-monetary.c (conversion_rate): New variable.
45704         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45705         element.
45707 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45709         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45710         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45712 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45714         * elf/Makefile (tst-auxv): New test.
45715         * elf/tst-auxv.c: New
45716         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45718 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45720         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45721         (hidden_proto): Caller changed.
45722         (hidden_tls_proto): New macro.
45723         (libc_hidden_tls_proto): Likewise.
45724         (rtld_hidden_tls_proto): Likewise.
45725         (libm_hidden_tls_proto): Likewise.
45726         (libresolv_hidden_tls_proto): Likewise.
45727         (librt_hidden_tls_proto): Likewise.
45728         (libdl_hidden_tls_proto): Likewise.
45729         (libnss_files_hidden_tls_proto): Likewise.
45730         (libnsl_hidden_tls_proto): Likewise.
45731         (libnss_nisplus_hidden_tls_proto): Likewise.
45732         (libutil_hidden_tls_proto): Likewise.
45734 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45736         [BZ #10253]
45737         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45738         (decompose_rpath): Defer expansion to fillin_rpath.
45739         (_dl_init_paths): Pass linkmap to fillin_rpath.
45741 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45743         * benchtests/Makefile: Add strsep.
45744         * benchtests/bench-strsep.c: New file: strsep benchtest.
45745         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45747 2013-11-18  Andreas Schwab  <schwab@suse.de>
45749         * locale/programs/locale.c (show_info) [case byte]: Check for
45750         '\377' instead of '\177'.
45751         * locale/C-monetary.c (not_available): Always use "\377".
45752         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45753         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45754         detect unavailable sign_posn locale elements.
45755         * locale/localeconv.c (__localeconv): For grouping and
45756         mon_grouping handle "\177" and "\377" like no grouping.
45757         (INT_ELEM): New macro.  Use it to set all numeric members.
45758         * locale/programs/ld-monetary.c (monetary_read)
45759         <tok_mon_grouping>: Normalize single -1 to the empty string.
45760         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45761         Likewise.
45763 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45765         [BZ #16055]
45766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45767         when we match (nil).
45768         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45770 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45772         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45773         (NO_TEST_INLINE): Update value.
45774         (ERRNO_UNCHANGED): Likewise.
45775         (ERRNO_EDOM): Likewise.
45776         (ERRNO_ERANGE): Likewise.
45777         (IGNORE_RESULT): Likewise.
45778         (check_float_internal): Check signs of NaN results if
45779         TEST_NAN_SIGN used.
45780         (check_complex): Pass TEST_NAN_SIGN flag through to second
45781         check_float_internal call.
45782         (copysign_test_data): Add tests with quiet NaNs as second
45783         argument.  Use TEST_NAN_SIGN.
45784         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45785         TEST_NAN_SIGN.
45786         (signbit_test_data): Add tests of quiet NaN argument.
45787         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45789         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45790         $ignore_result.
45791         (parse_args): Handle function results specified as IGNORE.
45792         * math/libm-test.inc (IGNORE_RESULT): New macro.
45793         (check_float_internal): Do not check numerical result if flag
45794         IGNORE_RESULT set.
45795         (check_complex): Pass through IGNORE_RESULT to second
45796         check_float_internal call.
45797         (check_int): Do not check numerical result if flag IGNORE_RESULT
45798         set.
45799         (check_long): Likewise.
45800         (check_bool): Likewise.
45801         (check_longlong): Likewise.
45802         (lrint_test_data): Add tests of infinite and NaN arguments.
45803         (lrint_tonearest_test_data): Likewise.
45804         (lrint_towardzero_test_data): Likewise.
45805         (lrint_downward_test_data): Likewise.
45806         (lrint_upward_test_data): Likewise.
45807         (llrint_test_data): Likewise.
45808         (llrint_tonearest_test_data): Likewise.
45809         (llrint_towardzero_test_data): Likewise.
45810         (llrint_downward_test_data): Likewise.
45811         (llrint_upward_test_data): Likewise.
45812         (lround_test_data): Likewise.
45813         (llround_test_data): Likewise.
45815         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45816         (ERRNO_UNCHANGED): Update value.
45817         (ERRNO_EDOM): Likewise.
45818         (ERRNO_ERANGE): Likewise.
45819         (NO_TEST_INLINE_FLOAT): New macro.
45820         (NO_TEST_INLINE_DOUBLE): Likewise.
45821         (enable_test): New function.
45822         (RUN_TEST_f_f): Check enable_test before running test.
45823         (RUN_TEST_2_f): Likewise.
45824         (RUN_TEST_fff_f): Likewise.
45825         (RUN_TEST_c_f): Likewise.
45826         (RUN_TEST_f_f1): Likewise.
45827         (RUN_TEST_fF_f1): Likewise.
45828         (RUN_TEST_fI_f1): Likewise.
45829         (RUN_TEST_ffI_f1): Likewise.
45830         (RUN_TEST_c_c): Likewise.
45831         (RUN_TEST_cc_c): Likewise.
45832         (RUN_TEST_f_i): Likewise.
45833         (RUN_TEST_f_i_tg): Likewise.
45834         (RUN_TEST_ff_i_tg): Likewise.
45835         (RUN_TEST_f_b): Likewise.
45836         (RUN_TEST_f_b_tg): Likewise.
45837         (RUN_TEST_f_l): Likewise.
45838         (RUN_TEST_f_L): Likewise.
45839         (RUN_TEST_fFF_11): Likewise.
45840         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45841         conditionals.
45842         (cosh_test_data): Likewise.
45843         (exp_test_data): Likewise.
45844         (expm1_test_data): Likewise.
45845         (hypot_test_data): Likewise.
45846         (pow_test_data): Likewise.
45847         (sinh_test_data): Likewise.
45848         (tanh_test_data): Likewise.
45849         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45850         flags argument.
45852         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45853         tests with quiet NaN input and output.
45854         (acosh_test_data): Likewise.
45855         (asin_test_data): Likewise.
45856         (asinh_test_data): Likewise.
45857         (atan_test_data): Likewise.
45858         (atanh_test_data): Likewise.
45859         (atan2_test_data): Likewise.
45860         (cbrt_test_data): Likewise.
45861         (cos_test_data): Likewise.
45862         (cosh_test_data): Likewise.
45863         (erf_test_data): Likewise.
45864         (erfc_test_data): Likewise.
45865         (exp_test_data): Likewise.
45866         (exp10_test_data): Likewise.
45867         (exp2_test_data): Likewise.
45868         (expm1_test_data): Likewise.
45869         (hypot_test_data): Likewise.
45870         (j0_test_data): Likewise.
45871         (j1_test_data): Likewise.
45872         (jn_test_data): Likewise.
45873         (lgamma_test_data): Likewise.
45874         (log_test_data): Likewise.
45875         (log10_test_data): Likewise.
45876         (log1p_test_data): Likewise.
45877         (log2_test_data): Likewise.
45878         (pow_test_data): Likewise.
45879         (scalb_test_data): Likewise.
45880         (sin_test_data): Likewise.
45881         (sincos_test_data): Likewise.
45882         (sinh_test_data): Likewise.
45883         (tan_test_data): Likewise.
45884         (tanh_test_data): Likewise.
45885         (tgamma_test_data): Likewise.
45886         (y0_test_data): Likewise.
45887         (y1_test_data): Likewise.
45888         (yn_test_data): Likewise.
45890         [BZ #16167]
45891         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45892         argument being NaN and avoid computations with second argument in
45893         that case.
45894         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45895         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45896         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45898 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45900         * locale/iso-639.def: Add Chitwani Tharu (the).
45902 2013-11-14  Andreas Schwab  <schwab@suse.de>
45904         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45905         word instead of empty string.
45907 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45910         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45912         (__fe_nomask_env): Likewise.
45914 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45916         * benchtests/bench-timing.h: Include time.h.
45918 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45920         [BZ #15997]
45921         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45922         to 3.4.0 for x32.
45923         * sysdeps/unix/sysv/linux/configure: Regenerated.
45925 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45927         [BZ #16151]
45928         * stdlib/strtod_l.c (round_and_return): Do not consider
45929         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45930         exponent one less than half the least subnormal exponent.
45931         * stdlib/test-strtod-round-data: Add more tests.
45932         * stdlib/tst-strtod-round.c (tests): Regenerated.
45934 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45936         [BZ #14143]
45937         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45938         (__fe_mask_env): Likewise.
45939         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45940         libm_hidden_proto and add function prototype.
45941         (__fe_mask_env): Add function prototype.
45942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45943         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45945         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45947         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45949 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45951         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45952         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45954 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45956         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45957         of htab_find_slot().
45959 2013-11-11  David S. Miller  <davem@davemloft.net>
45961         [BZ #16150]
45962         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45963         symbol in the non-vis3 case in static builds.
45964         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45965         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45966         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45967         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45969 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45971         [BZ #387]
45972         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45973         it is empty.
45975 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45977         * benchtests/Makefile: Add bench-strtod.
45978         * benchtests/bench-strtod.c: New file: strtod benchtest
45980 2013-11-11  Andreas Schwab  <schwab@suse.de>
45982         [BZ #16153]
45983         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45984         terminating NUL in key length.
45986 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45988         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45989         Add artificial ODP entry for vDSO symbol for PPC64.
45990         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45991         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45993 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45995         [BZ #15374]
45996         * nss/getent.c (services_keys): Recognize services starting with digit.
45998 2013-11-06  David S. Miller  <davem@davemloft.net>
46000         [BZ #15985]
46001         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46002         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46004 2013-11-06  Will Newton  <will.newton@linaro.org>
46006         * manual/memory.texi (Malloc Examples): Remove register
46007         keyword from examples.
46009 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46011         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46013 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46015         [BZ #6981]
46016         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46017         depending on [__GCC_IEC_559 > 0].
46018         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46019         depending on [__GCC_IEC_559_COMPLEX > 0].
46021 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46023         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46024         to iso-639.def.
46026 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46028         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46030 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46032         [BZ #16112]
46033         * malloc/malloc (malloc_info): Do not handle first bin as
46034         special case.
46036 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46038         * locale/iso-639.def: Add Central Nahuatl (nhn).
46040 2013-11-01  Bruno Haible  <bruno@clisp.org>
46042         [BZ #7003]
46043         * manual/math.texi (BSD Random): Specify range upper bound as
46044         in POSIX.
46046 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46048         * locale/iso-639.def: Add Meadow Mari (mhr).
46050 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46052         [BZ #14752], [BZ #15763]
46053         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46054         Validate name.
46055         * rt/tst_shm.c: Add test for escaping directory.
46057 2013-10-31  Andreas Schwab  <schwab@suse.de>
46059         [BZ #15917]
46060         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46061         followed by 'x' as part of digit sequence.
46062         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46064 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46066         [BZ #16037]
46067         * configure.ac: allow GNU Make 4.0 and greater.
46068         * configure: Regenerated.
46070 2013-10-30  Will Newton  <will.newton@linaro.org>
46072         [BZ #16038]
46073         * malloc/hooks.c (memalign_check): Limit alignment to the
46074         maximum representable power of two.
46075         * malloc/malloc.c (__libc_memalign): Likewise.
46076         * malloc/tst-memalign.c (do_test): Add test for very
46077         large alignment values.
46078         * malloc/tst-posix_memalign.c (do_test): Likewise.
46080 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46082         [BZ #11087]
46083         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46084         (munmap_chunk): Likewise.
46085         (mremap_chunk): Likewise.
46087 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46089         [BZ #15799]
46090         * stdlib/div.c (div): Remove obsolete code.
46091         * stdlib/ldiv.c (ldiv): Likewise.
46092         * stdlib/lldiv.c (lldiv): Likewise.
46094 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46096         [BZ #16071]
46097         * nss/nss_files/files-XXX.c (get_contents_ret): New
46098         enumerator.
46099         (get_contents): New function.
46100         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46102 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46104         * configure.in: Moved to ...
46105         * configure.ac: ... here. Change reference to configure.in
46106         to configure.ac.
46107         * sysdeps/arm/preconfigure.ac: ... here.
46108         configure.in to configure.ac.
46109         * sysdeps/gnu/configure.in: Moved to ...
46110         * sysdeps/gnu/configure.ac: ... here.
46111         * sysdeps/i386/configure.in: Moved to ...
46112         * sysdeps/i386/configure.ac: ... here.
46113         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46114         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46115         * sysdeps/mach/configure.in: Moved to ...
46116         * sysdeps/mach/configure.ac: ... here.
46117         * sysdeps/mach/hurd/configure.in: Moved to ...
46118         * sysdeps/mach/hurd/configure.ac: ... here.
46119         * sysdeps/powerpc/configure.in: Moved to ...
46120         * sysdeps/powerpc/configure.ac: ... here.
46121         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46122         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46123         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46124         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46125         * sysdeps/s390/s390-32/configure.in: Moved to ...
46126         * sysdeps/s390/s390-32/configure.ac: ... here.
46127         * sysdeps/s390/s390-64/configure.in: Moved to ...
46128         * sysdeps/s390/s390-64/configure.ac: ... here.
46129         * sysdeps/sh/configure.in: Moved to ...
46130         * sysdeps/sh/configure.ac: ... here.
46131         * sysdeps/sparc/configure.in: Moved to ...
46132         * sysdeps/sparc/configure.ac: ... here.
46133         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46134         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46135         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46136         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46137         * sysdeps/x86_64/configure.in: Moved to ...
46138         * sysdeps/x86_64/configure.ac: ... here.
46139         * sysdeps/x86_64/preconfigure.in: Moved to ...
46140         * sysdeps/x86_64/preconfigure.ac: ... here.
46141         * aclocal.m4: Change reference to configure.in to configure.ac.
46142         * config.h.in: Likewise.
46143         * manual/install.texi: Likewise.
46144         * manual/maint.texi: Likewise.
46145         * Makefile: Likewise.
46146         * malloc/Makefile: Likewise.
46147         * nscd/Makefile: Likewise.
46148         * Makeconfig: Change reference to configure.in and
46149         preconfigure.in to configure.ac and preconfigure.ac
46150         respectively.
46151         * INSTALL: Regenerated.
46152         * configure: Likewise.
46153         * sysdeps/gnu/configure: Likewise.
46154         * sysdeps/i386/configure: Likewise.
46155         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46156         * sysdeps/mach/configure: Likewise.
46157         * sysdeps/mach/hurd/configure: Likewise.
46158         * sysdeps/powerpc/configure: Likewise.
46159         * sysdeps/powerpc/powerpc32/configure: Likewise.
46160         * sysdeps/powerpc/powerpc64/configure: Likewise.
46161         * sysdeps/s390/s390-32/configure: Likewise.
46162         * sysdeps/s390/s390-64/configure: Likewise.
46163         * sysdeps/sh/configure: Likewise.
46164         * sysdeps/sparc/configure: Likewise.
46165         * sysdeps/unix/sysv/linux/configure: Likewise.
46166         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46167         * sysdeps/x86_64/configure: Likewise.
46168         * sysdeps/x86_64/preconfigure: Likewise.
46170 2013-10-29  Andreas Schwab  <schwab@suse.de>
46172         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46174 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46176         * benchtests/pow-inputs: Add new inputs.
46178         * benchtests/exp-inputs: Add new inputs.
46180         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46181         conditional check for return value.
46182         (__cos32): Likewise.
46184 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46186         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46187         to provide a boost for large inputs with word alignment.
46188         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46189         implementation based on optimized PPC64 strcpy.
46190         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46191         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46192         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46193         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46195 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46197         [BZ #2801]
46198         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46200 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46202         [BZ #14876]
46203         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46204         * time/tst-strptime.c (day_tests): Add testcase.
46206 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46208         [BZ #14029]
46209         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46211 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46213         [BZ #16074]
46214         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46215         MAP_FAILED on error.
46217 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46219         [BZ #16072]
46220         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46221         heap for large requests.
46223 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46225         [BZ #9954]
46226         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46227         result if the result has no associated interface.
46228         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46229         interface for all 127.X.Y.Z addresses.
46231 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46233         * locale/iso-639.def: Add Ligurian (lij)
46235 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46237         [BZ #15825]
46238         * sunrpc/rpc_main.c: Document rpcgen -5.
46240 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46242         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46244 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46246         [BZ #10278]
46247         * posix/glob.c: Match only directories when trailing slash is present.
46248         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46249         (main): Add testcase.
46251 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46253         [BZ #15670]
46254         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46256 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46258         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46259         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46260         AUTH_DES and cindex for FIPS 140-2.
46261         (DES Encryption): Add cindex FIPS 46-3.
46263         * locale/locarchive.h (struct locarhandle): Add fname.
46264         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46265         if an optional argument was specified to --list-archive,
46266         otherwise NULL.
46267         * locale/programs/locarchive.c (show_archive_content): Take new
46268         argument fname and pass it via ah.fname to open_archive.
46269         * locale/programs/localedef.h: Update decl.
46270         (open_archive): If AH->fname is non-null, open that file
46271         rather than the default file name, and don't ignore ENOENT.
46272         (create_archive): Set AH.fname to NULL.
46273         (delete_locales_from_archive): Likewise.
46274         (add_locales_to_archive): Likewise.
46275         * locale/programs/locfile.c (write_all_categories): Likewise.
46277 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46278             Aldy Hernandez  <aldyh@redhat.com>
46280         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46281         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46282         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46283         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46284         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46285         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46286         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46287         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46288         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46289         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46290         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46291         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46292         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46293         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46294         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46295         Likewise.
46296         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46297         Likewise.
46298         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46299         Likewise.
46300         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46301         Likewise.
46302         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46303         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46304         Likewise.
46305         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46306         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46307         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46308         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46309         Likewise.
46310         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46311         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46312         * sysdeps/powerpc/preconfigure: Likewise.
46313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46314         Likewise.
46315         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46316         Replace contents of file by #include of <fenv_libc.h>.
46317         * sysdeps/powerpc/soft-fp/sfp-machine.h
46318         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46319         and <sys/prctl.h>.
46320         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46321         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46322         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46323         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46324         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46325         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46327         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46328         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46329         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46330         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46331         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46333         Allow copysignl PLT reference to be missing.
46335 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46336             Joseph Myers  <joseph@codesourcery.com
46338         [BZ #15948]
46339         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46340         single character.
46341         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46343 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46345         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46346         * elf/tst-tls1.c: Likewise.
46347         * elf/tst-tls10.h: Likewise.
46348         * elf/tst-tls14.c: Likewise.
46349         * elf/tst-tls2.c: Likewise.
46350         * elf/tst-tls3.c: Likewise.
46351         * elf/tst-tls4.c: Likewise.
46352         * elf/tst-tls5.c: Likewise.
46353         * elf/tst-tls6.c: Likewise.
46354         * elf/tst-tls7.c: Likewise.
46355         * elf/tst-tls8.c: Likewise.
46356         * elf/tst-tls9.c: Likewise.
46357         * elf/tst-tlsmod1.c: Likewise.
46358         * elf/tst-tlsmod13.c: Likewise.
46359         * elf/tst-tlsmod13a.c: Likewise.
46360         * elf/tst-tlsmod14a.c: Likewise.
46361         * elf/tst-tlsmod16a.c: Likewise.
46362         * elf/tst-tlsmod16b.c: Likewise.
46363         * elf/tst-tlsmod2.c: Likewise.
46364         * elf/tst-tlsmod3.c: Likewise.
46365         * elf/tst-tlsmod4.c: Likewise.
46366         * elf/tst-tlsmod5.c: Likewise.
46367         * elf/tst-tlsmod6.c: Likewise.
46369 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46371         [BZ #12486]
46372         * malloc/malloc.c: remove checks for statistics.
46374 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46376         [BZ #15277]
46377         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46378         * inet/tst-network.c: Add testcase.
46380 2013-10-17  Andreas Schwab  <schwab@suse.de>
46382         [BZ #15218]
46383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46384         to determine canonical name.
46386 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46388         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46389         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46391         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46393         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46394         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46395         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46396         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46397         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46398         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46399         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46400         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46401         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46402         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46403         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46404         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46405         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46406         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46407         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46408         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46409         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46410         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46411         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46412         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46413         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46414         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46415         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46416         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46417         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46418         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46419         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46420         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46421         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46422         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46423         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46424         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46425         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46426         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46427         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46428         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46429         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46430         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46431         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46432         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46433         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46434         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46435         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46436         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46437         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46438         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46439         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46440         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46441         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46442         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46443         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46444         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46445         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46447 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46449         [BZ #16041]
46450         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46451         make result into a quiet NaN.
46453 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46455         * soft-fp/adddf3.c: Fix horizontal whitespace.
46456         * soft-fp/addsf3.c: Likewise.
46457         * soft-fp/addtf3.c: Likewise.
46458         * soft-fp/divdf3.c: Likewise.
46459         * soft-fp/divsf3.c: Likewise.
46460         * soft-fp/divtf3.c: Likewise.
46461         * soft-fp/double.h: Likewise.
46462         * soft-fp/eqdf2.c: Likewise.
46463         * soft-fp/eqsf2.c: Likewise.
46464         * soft-fp/eqtf2.c: Likewise.
46465         * soft-fp/extenddftf2.c: Likewise.
46466         * soft-fp/extended.h: Likewise.
46467         * soft-fp/extendsfdf2.c: Likewise.
46468         * soft-fp/extendsftf2.c: Likewise.
46469         * soft-fp/extendxftf2.c: Likewise.
46470         * soft-fp/fixdfdi.c: Likewise.
46471         * soft-fp/fixdfsi.c: Likewise.
46472         * soft-fp/fixdfti.c: Likewise.
46473         * soft-fp/fixsfdi.c: Likewise.
46474         * soft-fp/fixsfsi.c: Likewise.
46475         * soft-fp/fixsfti.c: Likewise.
46476         * soft-fp/fixtfdi.c: Likewise.
46477         * soft-fp/fixtfsi.c: Likewise.
46478         * soft-fp/fixtfti.c: Likewise.
46479         * soft-fp/fixunsdfdi.c: Likewise.
46480         * soft-fp/fixunsdfsi.c: Likewise.
46481         * soft-fp/fixunsdfti.c: Likewise.
46482         * soft-fp/fixunssfdi.c: Likewise.
46483         * soft-fp/fixunssfsi.c: Likewise.
46484         * soft-fp/fixunssfti.c: Likewise.
46485         * soft-fp/fixunstfdi.c: Likewise.
46486         * soft-fp/fixunstfsi.c: Likewise.
46487         * soft-fp/fixunstfti.c: Likewise.
46488         * soft-fp/floatdidf.c: Likewise.
46489         * soft-fp/floatdisf.c: Likewise.
46490         * soft-fp/floatditf.c: Likewise.
46491         * soft-fp/floatsidf.c: Likewise.
46492         * soft-fp/floatsisf.c: Likewise.
46493         * soft-fp/floatsitf.c: Likewise.
46494         * soft-fp/floattidf.c: Likewise.
46495         * soft-fp/floattisf.c: Likewise.
46496         * soft-fp/floattitf.c: Likewise.
46497         * soft-fp/floatundidf.c: Likewise.
46498         * soft-fp/floatundisf.c: Likewise.
46499         * soft-fp/floatunditf.c: Likewise.
46500         * soft-fp/floatunsidf.c: Likewise.
46501         * soft-fp/floatunsisf.c: Likewise.
46502         * soft-fp/floatunsitf.c: Likewise.
46503         * soft-fp/floatuntidf.c: Likewise.
46504         * soft-fp/floatuntisf.c: Likewise.
46505         * soft-fp/floatuntitf.c: Likewise.
46506         * soft-fp/fmadf4.c: Likewise.
46507         * soft-fp/fmasf4.c: Likewise.
46508         * soft-fp/fmatf4.c: Likewise.
46509         * soft-fp/gedf2.c: Likewise.
46510         * soft-fp/gesf2.c: Likewise.
46511         * soft-fp/getf2.c: Likewise.
46512         * soft-fp/ledf2.c: Likewise.
46513         * soft-fp/lesf2.c: Likewise.
46514         * soft-fp/letf2.c: Likewise.
46515         * soft-fp/muldf3.c: Likewise.
46516         * soft-fp/mulsf3.c: Likewise.
46517         * soft-fp/multf3.c: Likewise.
46518         * soft-fp/negdf2.c: Likewise.
46519         * soft-fp/negsf2.c: Likewise.
46520         * soft-fp/negtf2.c: Likewise.
46521         * soft-fp/op-1.h: Likewise.
46522         * soft-fp/op-2.h: Likewise.
46523         * soft-fp/op-4.h: Likewise.
46524         * soft-fp/op-8.h: Likewise.
46525         * soft-fp/op-common.h: Likewise.
46526         * soft-fp/quad.h: Likewise.
46527         * soft-fp/single.h: Likewise.
46528         * soft-fp/soft-fp.h: Likewise.
46529         * soft-fp/sqrtdf2.c: Likewise.
46530         * soft-fp/sqrtsf2.c: Likewise.
46531         * soft-fp/sqrttf2.c: Likewise.
46532         * soft-fp/subdf3.c: Likewise.
46533         * soft-fp/subsf3.c: Likewise.
46534         * soft-fp/subtf3.c: Likewise.
46535         * soft-fp/truncdfsf2.c: Likewise.
46536         * soft-fp/trunctfdf2.c: Likewise.
46537         * soft-fp/trunctfsf2.c: Likewise.
46538         * soft-fp/trunctfxf2.c: Likewise.
46539         * soft-fp/unorddf2.c: Likewise.
46540         * soft-fp/unordsf2.c: Likewise.
46541         * soft-fp/unordtf2.c: Likewise.
46543 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46545         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46546         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46548 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46550         * elf/dl-libc.c: Clear initfini list after freeing.
46552 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46554         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46555         * soft-fp/addsf3.c: Likewise.
46556         * soft-fp/addtf3.c: Likewise.
46557         * soft-fp/divdf3.c: Likewise.
46558         * soft-fp/divsf3.c: Likewise.
46559         * soft-fp/divtf3.c: Likewise.
46560         * soft-fp/double.h: Likewise.
46561         * soft-fp/eqdf2.c: Likewise.
46562         * soft-fp/eqsf2.c: Likewise.
46563         * soft-fp/eqtf2.c: Likewise.
46564         * soft-fp/extenddftf2.c: Likewise.
46565         * soft-fp/extended.h: Likewise.
46566         * soft-fp/extendsfdf2.c: Likewise.
46567         * soft-fp/extendsftf2.c: Likewise.
46568         * soft-fp/extendxftf2.c: Likewise.
46569         * soft-fp/fixdfdi.c: Likewise.
46570         * soft-fp/fixdfsi.c: Likewise.
46571         * soft-fp/fixdfti.c: Likewise.
46572         * soft-fp/fixsfdi.c: Likewise.
46573         * soft-fp/fixsfsi.c: Likewise.
46574         * soft-fp/fixsfti.c: Likewise.
46575         * soft-fp/fixtfdi.c: Likewise.
46576         * soft-fp/fixtfsi.c: Likewise.
46577         * soft-fp/fixtfti.c: Likewise.
46578         * soft-fp/fixunsdfdi.c: Likewise.
46579         * soft-fp/fixunsdfsi.c: Likewise.
46580         * soft-fp/fixunsdfti.c: Likewise.
46581         * soft-fp/fixunssfdi.c: Likewise.
46582         * soft-fp/fixunssfsi.c: Likewise.
46583         * soft-fp/fixunssfti.c: Likewise.
46584         * soft-fp/fixunstfdi.c: Likewise.
46585         * soft-fp/fixunstfsi.c: Likewise.
46586         * soft-fp/fixunstfti.c: Likewise.
46587         * soft-fp/floatdidf.c: Likewise.
46588         * soft-fp/floatdisf.c: Likewise.
46589         * soft-fp/floatditf.c: Likewise.
46590         * soft-fp/floatsidf.c: Likewise.
46591         * soft-fp/floatsisf.c: Likewise.
46592         * soft-fp/floatsitf.c: Likewise.
46593         * soft-fp/floattidf.c: Likewise.
46594         * soft-fp/floattisf.c: Likewise.
46595         * soft-fp/floattitf.c: Likewise.
46596         * soft-fp/floatundidf.c: Likewise.
46597         * soft-fp/floatundisf.c: Likewise.
46598         * soft-fp/floatunsidf.c: Likewise.
46599         * soft-fp/floatunsisf.c: Likewise.
46600         * soft-fp/floatuntidf.c: Likewise.
46601         * soft-fp/floatuntisf.c: Likewise.
46602         * soft-fp/floatuntitf.c: Likewise.
46603         * soft-fp/fmadf4.c: Likewise.
46604         * soft-fp/fmasf4.c: Likewise.
46605         * soft-fp/fmatf4.c: Likewise.
46606         * soft-fp/gedf2.c: Likewise.
46607         * soft-fp/gesf2.c: Likewise.
46608         * soft-fp/getf2.c: Likewise.
46609         * soft-fp/ledf2.c: Likewise.
46610         * soft-fp/lesf2.c: Likewise.
46611         * soft-fp/letf2.c: Likewise.
46612         * soft-fp/muldf3.c: Likewise.
46613         * soft-fp/mulsf3.c: Likewise.
46614         * soft-fp/multf3.c: Likewise.
46615         * soft-fp/negdf2.c: Likewise.
46616         * soft-fp/negsf2.c: Likewise.
46617         * soft-fp/negtf2.c: Likewise.
46618         * soft-fp/op-1.h: Likewise.
46619         * soft-fp/op-2.h: Likewise.
46620         * soft-fp/op-4.h: Likewise.
46621         * soft-fp/op-8.h: Likewise.
46622         * soft-fp/op-common.h: Likewise.
46623         * soft-fp/quad.h: Likewise.
46624         * soft-fp/single.h: Likewise.
46625         * soft-fp/soft-fp.h: Likewise.
46626         * soft-fp/sqrtdf2.c: Likewise.
46627         * soft-fp/sqrtsf2.c: Likewise.
46628         * soft-fp/sqrttf2.c: Likewise.
46629         * soft-fp/subdf3.c: Likewise.
46630         * soft-fp/subsf3.c: Likewise.
46631         * soft-fp/subtf3.c: Likewise.
46632         * soft-fp/truncdfsf2.c: Likewise.
46633         * soft-fp/trunctfdf2.c: Likewise.
46634         * soft-fp/trunctfsf2.c: Likewise.
46635         * soft-fp/trunctfxf2.c: Likewise.
46636         * soft-fp/unorddf2.c: Likewise.
46637         * soft-fp/unordsf2.c: Likewise.
46638         * soft-fp/unordtf2.c: Likewise.
46640 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46642         [BZ #15672]
46643         * misc/error.c (error_tail): Fix possible buffer overflow.
46645 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46647         [BZ #13028]
46648         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46649         address.
46651 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46653         [BZ #832]
46654         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46655         testing pipefail option.
46657 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46659         * soft-fp/double.h: Indent preprocessor directives inside #if.
46660         * soft-fp/extended.h: Likewise.
46661         * soft-fp/op-2.h: Likewise.
46662         * soft-fp/op-4.h: Likewise.
46663         * soft-fp/op-common.h: Likewise.
46664         * soft-fp/quad.h: Likewise.
46665         * soft-fp/single.h: Likewise.
46666         * soft-fp/soft-fp.h: Likewise.
46668 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46670         * iconv/iconv_prog.c: Fix typos.
46671         * stdio-common/psiginfo-data.h: Likewise.
46673 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46675         [BZ #15764]
46676         * locale/setlocale.c: Fix typo.
46678 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46680         [BZ #16036]
46681         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46682         signaling NaN arguments.
46683         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46684         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46686         [BZ #14910]
46687         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46688         unordered operands.
46689         * soft-fp/gesf2.c (__gesf2): Likewise.
46690         * soft-fp/getf2.c (__getf2): Likewise.
46691         * soft-fp/ledf2.c (__ledf2): Likewise.
46692         * soft-fp/lesf2.c (__lesf2): Likewise.
46693         * soft-fp/letf2.c (__letf2): Likewise.
46695         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46696         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46697         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46698         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46699         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46700         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46701         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46702         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46703         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46704         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46705         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46706         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46707         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46708         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46709         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46710         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46711         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46712         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46713         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46714         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46715         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46716         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46717         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46718         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46719         * soft-fp/floattidf.c (__floattidf): Likewise.
46720         * soft-fp/floattisf.c (__floattisf): Likewise.
46721         * soft-fp/floattitf.c (__floattitf): Likewise.
46722         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46723         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46724         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46725         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46726         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46727         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46728         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46729         * soft-fp/gesf2.c (__gesf2): Likewise.
46730         * soft-fp/getf2.c (__getf2): Likewise.
46731         * soft-fp/ledf2.c (__ledf2): Likewise.
46732         * soft-fp/lesf2.c (__lesf2): Likewise.
46733         * soft-fp/letf2.c (__letf2): Likewise.
46735         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46736         Undefine and redefine.
46737         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46738         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46739         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46740         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46741         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46742         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46743         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46744         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46745         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46746         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46747         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46748         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46749         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46750         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46751         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46753         [BZ #16032]
46754         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46755         without decrementing exponent if mantissa >= that for the
46756         denominator, not >.
46757         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46758         denominator, not >.  Decrement exponent in < case instead of
46759         incrementing in >= case.
46760         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46761         without decrementing exponent if mantissa >= that for the
46762         denominator, not >.
46764         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46765         computing saturated result for unsigned overflow.
46767 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46768             Jeff Law  <law@redhat.com>
46770         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46771         (atan2Mp): Add systemtap probe marker.
46772         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46773         (__ieee754_log): Add systemtap probe marker.
46774         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46775         (atanMp): Add systemtap probe marker.
46776         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46777         (tanMp): Add systemtap probe marker.
46778         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46779         (__slowexp): Add systemtap probe marker.
46780         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46781         (__slowpow): Add systemtap probe marker.
46782         * manual/probes.texi: Document probes.
46784 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46786         [BZ #15362]
46787         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46788         written.
46789         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46790         written.
46791         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46792         written to buffer but not flushed.
46793         * libio/iofwrite_u.c:  Likewise.
46794         * libio/iopadn.c:  Return bytes returned even if EOF was
46795         encountered.
46796         * libio/iowpadn.c:  Likewise.
46797         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46798         if _IO_padn does not write the whole buffer.
46799         [!COMPILE_WPRINTF] (PAD): Likewise.
46801 2013-10-10  David S. Miller  <davem@davemloft.net>
46803         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46804         directory block.
46806 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46808         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46809         instead of FSF address.
46810         * soft-fp/fixdfti.c: Likewise.
46811         * soft-fp/fixsfti.c: Likewise.
46812         * soft-fp/fixtfti.c: Likewise.
46813         * soft-fp/fixunsdfti.c: Likewise.
46814         * soft-fp/fixunssfti.c: Likewise.
46815         * soft-fp/fixunstfti.c: Likewise.
46816         * soft-fp/floattidf.c: Likewise.
46817         * soft-fp/floattisf.c: Likewise.
46818         * soft-fp/floattitf.c: Likewise.
46819         * soft-fp/floatuntidf.c: Likewise.
46820         * soft-fp/floatuntisf.c: Likewise.
46821         * soft-fp/floatuntitf.c: Likewise.
46822         * soft-fp/trunctfxf2.c: Likewise.
46824         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46825         * soft-fp/fixdfti.c: Likewise.
46826         * soft-fp/fixsfti.c: Likewise.
46827         * soft-fp/fixtfti.c: Likewise.
46828         * soft-fp/fixunsdfti.c: Likewise.
46829         * soft-fp/fixunssfti.c: Likewise.
46830         * soft-fp/fixunstfti.c: Likewise.
46831         * soft-fp/floattidf.c: Likewise.
46832         * soft-fp/floattisf.c: Likewise.
46833         * soft-fp/floattitf.c: Likewise.
46834         * soft-fp/floatuntidf.c: Likewise.
46835         * soft-fp/floatuntisf.c: Likewise.
46836         * soft-fp/floatuntitf.c: Likewise.
46837         * soft-fp/trunctfxf2.c: Likewise.
46839 2013-10-10  David S. Miller  <davem@davemloft.net>
46841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46843 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46845         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46846         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46847         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46848         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46849         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46850         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46851         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46853         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46854         for NaNs before doing comparisons on argument.
46855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46856         Likewise.
46858 2013-10-10  Will Newton  <will.newton@linaro.org>
46860         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46861         passed to _int_memalign does not overflow.
46863 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46865         * scripts/bench.pl: Add include-sources directive.
46866         * benchtests/README: Update documentation.
46868 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46870         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46871         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46872         instead of FP_INIT_ROUNDMODE.
46873         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46874         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46876         [BZ #16034]
46877         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46878         copy class of input value.
46879         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46880         not handle exceptions.
46881         * soft-fp/negsf2.c (__negsf2): Likewise.
46882         * soft-fp/negtf2.c (__negtf2): Likewise.
46883         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46885 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46887         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46888         semicolon.  From Linux kernel.
46890 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46892         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46894 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46896         [BZ #156]
46897         * manual/socket.texi: Added statement about buffer
46898         for gethostbyname2_r.
46900 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46902         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46903         Use .p2align directive instead, throughout.
46904         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46905         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46906         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46907         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46909         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46910         * sysdeps/x86_64/strchr.S: Likewise.
46911         * sysdeps/x86_64/strrchr.S: Likewise.
46913 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46915         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46917         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46919         * sysdeps/generic/math_private.h (__mpsin1): Remove
46920         declaration.
46921         (__mpcos1): Likewise.
46922         (__mpsin): New argument __range_reduce.
46923         (__mpcos): Likewise.
46924         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46925         (slow): Use __mpsin and __mpcos.
46926         (slow1): Likewise.
46927         (slow2): Likewise.
46928         (sloww): Likewise.
46929         (sloww1): Likewise.
46930         (sloww2): Likewise.
46931         (bsloww): Likewise.
46932         (bsloww1): Likewise.
46933         (bsloww2): Likewise.
46934         (cslow2): Likewise.
46935         (csloww): Likewise.
46936         (csloww1): Likewise.
46937         (csloww2): Likewise.
46938         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46939         range_reduce.  Merge in __mpsin1.
46940         (__mpcos): Likewise.
46941         (__mpsin1): Remove.
46942         (__mpcos1): Likewise.
46944 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46946         * locale/loadlocale.c (_nl_intern_locale_data): Use
46947         LOCFILE_ALIGNED_P.
46948         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46949         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46950         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46951         obstack data is appropriately aligned.
46952         (obstack_int32_grow_fast): Likewise.
46953         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46954         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46955         (add_locale_uint32_array): Likewise.
46957 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46959         * benchtests/Makefile: Remove ARGLIST and RET variables.
46960         ($(objpfx)bench-%.c): Pass only function name to the script.
46961         * benchtests/README: Update documentation.
46962         * benchtests/acos-inputs: Add new directives.
46963         * benchtests/acosh-inputs: Likewise.
46964         * benchtests/asin-inputs: Likewise.
46965         * benchtests/asinh-inputs: Likewise.
46966         * benchtests/atan-inputs: Likewise.
46967         * benchtests/atanh-inputs: Likewise.
46968         * benchtests/cos-inputs: Likewise.
46969         * benchtests/cosh-inputs: Likewise.
46970         * benchtests/exp-inputs: Likewise.
46971         * benchtests/log-inputs: Likewise.
46972         * benchtests/pow-inputs: Likewise.
46973         * benchtests/rint-inputs: Likewise.
46974         * benchtests/sin-inputs: Likewise.
46975         * benchtests/sinh-inputs: Likewise.
46976         * benchtests/tan-inputs: Likewise.
46977         * benchtests/tanh-inputs: Likewise.
46978         * scripts/bench.pl: Add support for new directives.
46980 2013-10-07  Alan Modra  <amodra@gmail.com>
46982         * README: Fix careless merge.
46984 2013-10-05  Alan Modra  <amodra@gmail.com>
46986         * NEWS: Mention powerpc64le support and bugs fixed.
46987         * README: Both big-endian and little-endian powerpc64 supported.
46989 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46991         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46992         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46993         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46994         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46996 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46998         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46999         match prototype.
47001 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47003         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47004         Move -mhard-float appending from
47005         ports/sysdeps/powerpc/powerpc32/Makefile.
47006         [$(with-fp) = yes] (ASFLAGS): Likewise.
47007         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47008         * sysdeps/powerpc/nofpu: Move directory from
47009         ports/sysdeps/powerpc/nofpu.
47010         * sysdeps/powerpc/soft-fp: Move directory from
47011         ports/sysdeps/powerpc/soft-fp.
47012         * sysdeps/powerpc/powerpc32/405: Move directory from
47013         ports/sysdeps/powerpc/powerpc32/405.
47014         * sysdeps/powerpc/powerpc32/440: Move directory from
47015         ports/sysdeps/powerpc/powerpc32/440.
47016         * sysdeps/powerpc/powerpc32/464: Move directory from
47017         ports/sysdeps/powerpc/powerpc32/464.
47018         * sysdeps/powerpc/powerpc32/476: Move directory from
47019         ports/sysdeps/powerpc/powerpc32/476.
47020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47021         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47023         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47025         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47027         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47029         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47030         * README: Update for powerpc-*-linux-gnu software floating point
47031         support in libc.
47033         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47034         case to powerpc/powerpc32*.
47035         * sysdeps/unix/sysv/linux/configure: Regenerated.
47037         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47038         (_FPU_MASK_OM): Define as 0x04.
47039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47041         0x00c10080.
47042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47043         0x0000003c.
47044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47047         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47048         getcontext_e500.
47049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47050         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47051         setcontext_e500.
47052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47053         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47054         and setcontext_e500.
47056 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47058         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47060 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47062         * manual/threads.texi (Default Thread Attributes): Fix typo.
47064 2013-10-04  Will Newton  <will.newton@linaro.org>
47066         * malloc/Makefile: Add tst-memalign.
47067         * malloc/tst-memalign.c: New file.
47069         * malloc/tst-posix_memalign.c: Add comments.
47070         (do_test): Add comments and call free on all potentially
47071         allocated pointers. Add space after cast.
47073         * malloc/tst-pvalloc.c: Add comments.
47074         (do_test): Add comments and call free on all potentially
47075         allocated pointers. Remove duplicate check for NULL pointer.
47076         Add space after cast.
47078         * malloc/tst-valloc.c: Add comments.
47079         (do_test): Add comments and call free on all potentially
47080         allocated pointers. Remove duplicate check for NULL pointer.
47081         Add space after cast.
47083 2013-10-04  Alan Modra  <amodra@gmail.com>
47085         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47086         Use stdint types in rather than __attribute__((mode())).
47087         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47089 2013-10-04  Alan Modra  <amodra@gmail.com>
47091         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47092         Correct handling of unaligned relocs for little-endian.
47093         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47095 2013-10-04  Alan Modra  <amodra@gmail.com>
47097         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47098         * configure: Regenerate.
47099         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47100         * shlib-versions: Likewise.
47102 2013-10-04  Alan Modra  <amodra@gmail.com>
47104         * string/tester.c (test_memrchr): Increment reported test cycle.
47106 2013-10-04  Alan Modra  <amodra@gmail.com>
47108         * string/test-memcpy.c (do_one_test): When reporting errors, print
47109         string address and don't overrun end of string.
47111 2013-10-04  Alan Modra  <amodra@gmail.com>
47113         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47114         insrdi.  Make better use of reg selection to speed exit slightly.
47115         Schedule entry path a little better.  Remove useless "are we done"
47116         checks on entry to main loop.  Handle wrapping around zero address.
47117         Correct main loop count.  Handle single left-over word from main
47118         loop inline rather than by using loop_small.  Remove extra word
47119         case in loop_small caused by wrong loop count.  Add little-endian
47120         support.
47121         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47122         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47123         cache hint.
47124         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47125         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47126         support.  Avoid rlwimi.
47127         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47129 2013-10-04  Alan Modra  <amodra@gmail.com>
47131         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47132         insrdi.  Formatting.
47133         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47134         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47135         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47136         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47137         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47138         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47140 2013-10-04  Alan Modra  <amodra@gmail.com>
47142         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47143         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47144         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47145         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47146         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47147         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47148         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47149         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47150         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47151         use of regs.  Use power7 mtocrf.  Tidy function tails.
47153 2013-10-04  Alan Modra  <amodra@gmail.com>
47155         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47156         Formatting.  Consistently use rXXX register defines or rN defines.
47157         Use early exit labels that avoid restoring unused non-volatile regs.
47158         Make cr field use more consistent with rWORDn compares.  Rename
47159         regs used as shift registers for unaligned loop, using rN defines
47160         for short lifetime/multiple use regs.
47161         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47162         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47163         addi 1,1,64 to pop stack frame.  Simplify return value code.
47164         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47166 2013-10-04  Alan Modra  <amodra@gmail.com>
47168         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47169         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47170         rather than rlwimi.
47171         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47172         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47173         little-endian support.  Correct typos.
47174         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47175         rather than rlwimi.
47176         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47177         in loop and entry code to keep "and." results.
47178         (strchr): Add little-endian support.  Comment.  Move cntlzd
47179         earlier in tail.
47180         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47182 2013-10-04  Alan Modra  <amodra@gmail.com>
47184         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47185         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47186         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47187         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47189 2013-10-04  Alan Modra  <amodra@gmail.com>
47191         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47192         (rTMP): Define as r11.
47193         (strcmp): Add little-endian support.  Optimise tail.
47194         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47195         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47196         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47197         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47198         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47199         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47200         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47202 2013-10-04  Alan Modra  <amodra@gmail.com>
47204         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47205         little-endian support.  Remove unnecessary "are we done" tests.
47206         Handle "s" wrapping around zero and extremely large "size".
47207         Correct main loop count.  Handle single left-over word from main
47208         loop inline rather than by using small_loop.  Correct comments.
47209         Delete "zero" tail, use "end_max" instead.
47210         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47212 2013-10-04  Alan Modra  <amodra@gmail.com>
47214         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47215         support.  Don't branch over align.
47216         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47217         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47218         support.  Rearrange tmp reg use to suit.  Comment.
47219         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47221 2013-10-04  Alan Modra  <amodra@gmail.com>
47223         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47225 2013-10-04  Alan Modra  <amodra@gmail.com>
47227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47228         conditional form of branch and link when obtaining pc.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47231 2013-10-04  Alan Modra  <amodra@gmail.com>
47233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47234         HIWORD/LOWORD.
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47238 2013-10-04  Alan Modra  <amodra@gmail.com>
47240         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47241         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47242         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47243         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47244         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47245         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47246         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47247         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47248         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47249         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47251 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47252             Alistair Popple <alistair@ozlabs.au.ibm.com>
47253             Alan Modra <amodra@gmail.com>
47255         [BZ #15723]
47256         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47257         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47258         _dl_hwcap access for little-endian.
47259         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47260         destroy vmx regs when saving unaligned.
47261         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47262         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47263         destroy vmx regs when saving unaligned.
47265 2013-10-04  Alan Modra  <amodra@gmail.com>
47267         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47268         Don't use a union to pack hi/low value.
47270 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47272         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47273         for little-endian.
47274         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47275         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47276         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47277         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47278         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47280 2013-10-04  Alan Modra  <amodra@gmail.com>
47282         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47283         constants to usual value for .cst8 section, and remove redundant
47284         high address load.
47285         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47286         constant for 0x1p52.  Load little-endian words of double from
47287         correct stack offsets.
47289 2013-10-04  Alan Modra  <amodra@gmail.com>
47291         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47292         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47293         words of double from correct stack offsets.
47294         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47295         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47296         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47297         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47298         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47299         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47300         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47301         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47302         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47303         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47304         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47305         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47306         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47307         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47308         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47309         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47310         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47312 2013-10-04  Alan Modra  <amodra@gmail.com>
47314         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47315         64-bit int/double union.
47316         (_FPU_SETCW): Likewise.
47317         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47318         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47320 2013-10-04  Alan Modra  <amodra@gmail.com>
47322         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47323         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47325 2013-10-04  Alan Modra  <amodra@gmail.com>
47327         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47328         use vector int constants.
47329         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47331 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47333         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47334         array with long long.
47335         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47336         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47337         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47338         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47339         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47340         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47341         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47342         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47343         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47344         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47345         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47346         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47347         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47349 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47351         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47352         (__signbit): Likewise.  Correct for little-endian.
47353         (__signbitl): Call __signbit.
47354         (lrint): Correct for little-endian.
47355         (lrintf): Call lrint.
47357 2013-10-04  Alan Modra  <amodra@gmail.com>
47359         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47360         union 32-bit int array member with 64-bit int array.
47361         (t515, tm256): Double rather than long double.
47362         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47364 2013-10-04  Alan Modra  <amodra@gmail.com>
47366         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47367         Delete.
47368         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47369         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47370         version of math_ldbl.h.
47372 2013-10-04  Alan Modra  <amodra@gmail.com>
47374         [BZ #15734], [BZ #15735]
47375         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47376         all uses of ieee875 long double macros and unions.  Simplify test
47377         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47378         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47379         normalize after ldbl_extract_mantissa, and don't add hidden bit
47380         already handled.  Don't treat low word of ieee854 mantissa like
47381         low word of IBM long double and mask off bit when testing for
47382         zero.
47383         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47384         all uses of ieee875 long double macros and unions.  Simplify tests
47385         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47386         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47387         two1022, instead use their values.  Recognise that tests for large
47388         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47389         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47390         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47391         test for 0.0L and nan.  Correct negation.
47392         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47393         ieee875 long double macros and unions.  Correct output for large
47394         magnitude x.  Correct absolute value calculation.
47395         (__erfcl): Likewise.
47396         * math/libm-test.inc: Add tests for errors discovered in IBM long
47397         double versions of fmodl, remainderl, erfl and erfcl.
47399 2013-10-04  Alan Modra  <amodra@gmail.com>
47401         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47402         all uses of ieee854 long double macros and unions.  Simplify tests
47403         for long doubles that are fully specified by the high double.
47404         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47405         Likewise.
47406         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47407         Remove dead code too.
47408         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47409         (__ieee754_ynl): Likewise.
47410         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47411         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47412         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47413         Remove dead code too.
47414         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47415         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47416         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47417         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47418         Simplify.
47419         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47420         Simplify.
47421         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47422         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47423         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47424         Comment on variable precision.
47425         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47426         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47427         Likewise.
47428         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47429         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47430         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47431         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47432         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47434 2013-10-04  Alan Modra  <amodra@gmail.com>
47436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47437         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47438         all uses of ieee854 long double macros and unions.
47439         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47441         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47442         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47443         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47444         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47445         Likewise.
47446         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47447         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47448         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47449         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47450         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47451         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47452         Simplify sign and nan test too.
47453         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47454         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47455         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47456         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47457         Likewise.
47458         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47459         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47460         Likewise.
47461         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47462         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47463         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47464         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47465         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47466         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47468 2013-10-04  Alan Modra  <amodra@gmail.com>
47470         * stdio-common/printf_size.c (__printf_size): Don't use
47471         union ieee854_long_double in fpnum union.
47472         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47473         signbit macro to retrieve sign from long double.
47474         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47475         retrieve sign from long double.
47476         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47477         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47478         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47479         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47480         * math/test-misc.c (main): Don't use union ieee854_long_double.
47482 2013-10-04  Alan Modra  <amodra@gmail.com>
47484         [BZ #15680]
47485         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47486         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47487         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47488         calculation.  Remove unnecessary test for denormal exponent.
47489         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47490         Correct handling of denormals.  Avoid undefined shift behaviour.
47491         Correct normalisation of low mantissa when low double is denormal.
47492         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47493         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47494         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47495         Correct normalisation of low mantissa.  Test for overflow of high
47496         mantissa and normalise.
47497         (ldbl_nearbyint): Use more readable constant for two52.
47498         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47499         (__mpn_construct_long_double): Fix test for overflow of high
47500         mantissa and correct normalisation.  Avoid undefined shift.
47502 2013-10-04  Alan Modra  <amodra@gmail.com>
47504         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47505         (union ibm_extended_long_double): Define as an array of ieee754_double.
47506         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47507         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47508         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47509         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47510         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47511         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47512         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47513         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47514         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47515         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47516         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47518 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47520         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47521         page size instead of calling getpagesize.
47523         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47524         (LOCFILE_ALIGN_MASK): Likewise.
47525         (LOCFILE_ALIGN_UP): Likewise.
47526         (LOCFILE_ALIGNED_P): Likewise.
47527         * locale/programs/ld-collate.c (collate_output): Use the new
47528         macros instead of __alignof__ (int32_t).
47529         * locale/weight.h (findidx): Likewise.
47531 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47533         [BZ #431]
47534         * manual/string.texi: Fix strncat and wcsncat.
47536 2013-10-03  Brooks Moses  <bmoses@google.com>
47538         [BZ #15915]
47539         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47540         * Makerules: ...here, and adjust associated comments.
47542 2013-10-02  Will Newton  <will.newton@linaro.org>
47544         * malloc/Makefile: Add tst-pvalloc.
47545         * malloc/tst-pvalloc.c: New file.
47547 2013-10-02  Will Newton  <will.newton@linaro.org>
47549         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47550         improve test coverage.
47552 2013-10-02  Will Newton  <will.newton@linaro.org>
47554         * malloc/Makefile: Add tst-posix_memalign.
47555         * malloc/tst-posix_memalign.c: New file.
47557 2013-10-01  Eric Blake  <eblake@redhat.com>
47559         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47560         Use __THROWNL rather than __THROW on static functions.
47562 2013-09-30  Petr Machata  <pmachata@redhat.com>
47564         * elf/elf.h (R_AARCH64_ABS16): New macro.
47565         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47566         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47567         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47568         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47569         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47570         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47571         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47572         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47573         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47574         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47575         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47576         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47577         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47578         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47579         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47580         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47581         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47582         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47583         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47584         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47585         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47586         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47587         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47588         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47589         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47590         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47591         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47592         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47593         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47594         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47595         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47596         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47597         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47598         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47599         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47600         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47601         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47602         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47603         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47604         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47605         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47606         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47607         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47608         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47609         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47610         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47611         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47612         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47613         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47614         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47615         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47616         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47617         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47618         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47619         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47620         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47621         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47622         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47623         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47624         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47625         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47626         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47627         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47628         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47629         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47630         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47631         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47632         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47633         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47634         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47635         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47636         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47637         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47638         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47639         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47640         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47641         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47642         (R_AARCH64_TLSDESC_LDR): Likewise.
47643         (R_AARCH64_TLSDESC_ADD): Likewise.
47644         (R_AARCH64_TLSDESC_CALL): Likewise.
47646 2013-09-30  Andreas Schwab  <schwab@suse.de>
47648         [BZ #15048]
47649         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47650         the nss database lookup.
47651         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47654 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47656         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47658 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47660         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47661         ${Bash-specific parameter/pattern/string} parameter expansion.
47662         * sysdeps/unix/make-syscalls.sh: Likewise.
47664 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47666         * sysdeps/sh/stackguard-macros.h: New file.
47668 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47672         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47673         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47674         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47675         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47677 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47679         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47680         Fix thread ID register.
47682 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47684         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47685         [POSIX || UNIX98]: Require rather than permitting all symbols from
47686         <time.h>.
47687         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47688         element of struct sched_param.
47689         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47690         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47691         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47692         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47693         constant.
47695 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47697         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47698         argument calculation.
47700 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47702         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47703         Expect macro.
47704         [POSIX] (pthread_attr_t): Do not require type.
47705         [POSIX] (pthread_cond_t): Likewise.
47706         [POSIX] (pthread_condattr_t): Likewise.
47707         [POSIX] (pthread_key_t): Likewise.
47708         [POSIX] (pthread_mutex_t): Likewise.
47709         [POSIX] (pthread_mutexattr_t): Likewise.
47710         [POSIX] (pthread_once_t): Likewise.
47711         [POSIX] (pthread_t): Likewise.
47712         [POSIX-based standards] (pthread_atfork): Expect function.
47714 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47715             Richard Sandiford  <richard@codesourcery.com>
47717         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47718         (swap_endianness_p): New extern variable.
47719         (set_big_endian): New inline function.
47720         (maybe_swap_uint32): Likewise.
47721         (maybe_swap_uint32_array): Likewise.
47722         (maybe_swap_uint32_obstack): Likewise.
47723         * locale/programs/locfile.c: Include <stdbool.h>.
47724         (swap_endianness_p): New variable.
47725         (add_locale_uint32): Call maybe_swap_uint32.
47726         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47727         (write_locale_data): Call maybe_swap_uint32_array.
47728         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47729         maybe_swap_uint32.
47730         (obstack_int32_grow_fast): Likewise.
47731         (output_weightwc): Call maybe_swap_uint32_obstack.
47732         (collate_output): Likewise.
47733         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47734         (OPT_LITTLE_ENDIAN): Likewise.
47735         (options): Add --little-endian and --big-endian options.
47736         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47737         * locale/programs/locarchive.c: Include "locfile.h".
47738         (GET): New macro.
47739         (SET): Likewise.
47740         (INC): Likewise.
47741         (create_archive): Use the new macros to access fields of
47742         structures directly mapped from or written to locale archives.
47743         (oldlocrecentcmp): Likewise.
47744         (enlarge_archive): Likewise.
47745         (insert_name): Likewise.
47746         (add_alias): Likewise.
47747         (add_locale): Likewise.
47748         (delete_locales_from_archive): Likewise.
47749         (show_archive_content): Likewise.
47750         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47751         locale data.
47753 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47755         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47756         http://www.gnu.org/doc/freemanuals.texi.
47757         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47759 2013-09-24  Will Newton  <will.newton@linaro.org>
47761         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47762         macro.
47764 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47766         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47767         unsigned char.
47769 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47771         * manual/threads.texi (POSIX Threads): Fix a typo.
47773 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47775         [BZ #14547]
47776         * string/tst-strcoll-overflow.c: New test case.
47777         * string/Makefile (xtests): Add tst-strcoll-overflow.
47778         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47779         cache if string sizes may cause integer overflow.
47781         [BZ #14547]
47782         * string/strcoll_l.c (coll_seq): New members rule, idx,
47783         save_idx and back_us.
47784         (get_next_seq_nocache): New function.
47785         (do_compare_nocache): New function.
47786         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47787         when malloc fails.
47789 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47791         [BZ #15754]
47792         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47793         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47794         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47796         [BZ #15754]
47797         * elf/Makefile (tests): Add tst-ptrguard1.
47798         (tests-static): Add tst-ptrguard1-static.
47799         (tst-ptrguard1-ARGS): Define.
47800         (tst-ptrguard1-static-ARGS): Define.
47801         * elf/tst-ptrguard1.c: New file.
47802         * elf/tst-ptrguard1-static.c: New file.
47803         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47804         * sysdeps/i386/stackguard-macros.h: Likewise.
47805         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47806         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47807         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47808         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47809         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47810         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47812 2013-09-23  Hector Marco  <hecmargi@upv.es>
47813             Ismael Ripoll  <iripoll@disca.upv.es>
47814             Carlos O'Donell  <carlos@redhat.com>
47816         [BZ #15754]
47817         * sysdeps/generic/stackguard-macros.h: Define
47818         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47819         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47820         Define __pointer_chk_guard_local.
47821         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47822         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47824 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47826         [BZ #15859]
47827         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47829 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47831         * include/string.h (__ffs): Declare as hidden.
47832         * string/ffs.c (__ffs): Define as hidden.
47833         * sysdeps/i386/ffs.c (__ffs): Likewise.
47834         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47835         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47836         * sysdeps/s390/ffs.c (__ffs): Likewise.
47837         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47839 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47841         * NEWS: Mention malloc probes.
47843         * malloc/arena.c (new_heap): New memory_heap_new probe.
47844         (grow_heap): New memory_heap_more probe.
47845         (shrink_heap): New memory_heap_less probe.
47846         (heap_trim): New memory_heap_free probe.
47847         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47848         (systrim): New memory_sbrk_less probe.
47849         * manual/probes.texi: Document them.
47851         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47852         * manual/probes.texi: Document it.
47854         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47855         (__libc_realloc): Add memory_realloc_retry probe.
47856         (__libc_memalign): Add memory_memalign_retry probe.
47857         (__libc_valloc): Add memory_valloc_retry probe.
47858         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47859         (__libc_calloc): Add memory_calloc_retry probe.
47860         * manual/probes.texi: Document them.
47862         * malloc/arena.c (get_free_list): Add probe
47863         memory_arena_reuse_free_list.
47864         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47865         and memory_arena_reuse.
47866         (arena_get2) [!PER_THREAD]: Likewise.
47867         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47868         memory_arena_reuse_realloc.
47869         * manual/probes.texi: Document them.
47871         * malloc/malloc.c (__libc_free): Add
47872         memory_mallopt_free_dyn_thresholds probe.
47873         (__libc_mallopt): Add multiple memory_mallopt probes.
47874         * manual/probes.texi: Document them.
47876         * malloc/malloc.c: Include stap-probe.h.
47877         (__libc_mallopt): Add memory_mallopt probe.
47878         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47879         * manual/probes.texi: New.
47880         * manual/Makefile (chapters): Add probes.
47881         * manual/threads.texi: Set next node.
47883 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47885         [BZ #15963, #13985]
47886         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47887         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47888         Add `Chinese' to `nan' entry name.
47890 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47892         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47893         (POLYNOMIAL): Likewise.
47894         (TAYLOR_SINCOS): Likewise.
47895         (TAYLOR_SLOW): Likewise.
47896         (__sin): Use TAYLOR_SINCOS.
47897         (__cos): Likewise.
47898         (slow): Use TAYLOR_SLOW.
47899         (sloww): Likewise.
47900         (bsloww): Likewise.
47901         (csloww): Likewise.
47903 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47905         * stdlib/strtod_l.c: Fix buffer overrun.
47907 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47909         * benchtests/Makefile (bench): Add sincos.
47910         * benchtests/bench-sincos.c: New file.
47912         * math/libm-test.inc (cos_test_data): New test inputs.
47913         (sin_test_data): Likewise.
47915         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47916         macro.
47917         (__sin): Use it.
47918         (__cos): Likewise.
47919         (slow1): Likewise.
47920         (slow2): Likewise.
47921         (sloww1): Likewise.
47922         (sloww2): Likewise.
47923         (bsloww1): Likewise.
47924         (bsloww2): Likewise.
47925         (cslow2): Likewise.
47926         (csloww1): Likewise.
47927         (csloww2): Likewise.
47929         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47930         function.
47931         (__sin): Use it.
47932         (__cos): Likewise.
47934         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47935         gotos.
47936         (__cos): Likewise.
47938 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47940         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47941         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47942         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47943         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47944         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47945         * elf/cache.c (print_entry): Handle the new cache flags.
47947 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47948             Aldy Hernandez  <aldyh@redhat.com>
47950         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47951         Change condition to [_SOFT_FLOAT].
47952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47953         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47954         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47955         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47957         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47958         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47960         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47961         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47963         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47964         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47965         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47967         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47968         declaration.
47970 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47972         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47973         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47974         (__longjmp): Use LOAD_GP to load saved GPRs.
47975         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47976         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47977         (__sigsetjmp): Use SAVE_GP to save GPRs.
47979         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47980         Do not append -msoft-float.
47981         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47983 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47985         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47987 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47989         [BZ #15966]
47990         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47991         (_FPU_GETCW): Use initial "__" on variable and field names but not
47992         on macro parameter name.
47993         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47994         parentheses around reference to macro parameter.
47996 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47998         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47999         prototype.
48000         (ctype_startup): Use uint32_t in cast and sizeof for
48001         ctype->charnames.
48003 2013-09-11  Jia Liu  <proljc@gmail.com>
48005         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48006         __daddr_t_defined.
48007         [__FreeBSD__]: Likewise.
48009 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48011         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48012         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48013         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48014         (strchr): Remove __strchr_sse42 ifunc selection.
48015         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48016         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48018 2013-09-11  Will Newton  <will.newton@linaro.org>
48020         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48021         parameter to RES. Remove hardcoded 1000 value.
48022         * benchtests/bench-skeleton.c (main): Pass RES parameter
48023         to TIMING_INIT and multiply result by 1000.
48025 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48029 2013-09-11  Andreas Schwab  <schwab@suse.de>
48031         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48032         if not defined.
48033         (O_TMPFILE) [__USE_GNU]: Define.
48034         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48035         Define.
48037 2013-09-11  Will Newton  <will.newton@linaro.org>
48039         [BZ #15857]
48040         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48041         does not overflow.
48043 2013-09-11  Will Newton  <will.newton@linaro.org>
48045         [BZ #15856]
48046         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48047         does not overflow.
48049 2013-09-11  Will Newton  <will.newton@linaro.org>
48051         [BZ #15855]
48052         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48053         does not overflow.
48055 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48057         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48058         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48059         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48060         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48061         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48063 2013-09-10  Allan McRae  <allan@archlinux.org>
48065         [BZ #15748]
48066         * manual/arith.texi (Parsing of Floats): Clarify
48067         cross-reference.
48069         [BZ #15849]
48070         * manual/install.texi (Running make install): Mention
48071         --enable-pt-chown.
48072         * INSTALL: Regenerated.
48074 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48076         * csu/init-first.c (_init): Remove the !SHARED condition around
48077         FPU control word initialization.
48078         * elf/dl-support.c (_dl_fpu_control): New variable.
48079         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48080         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48081         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48082         * math/test-fpucw-static.c: New file.
48083         * math/test-fpucw-ieee.c: New file.
48084         * math/test-fpucw-ieee-static.c: New file.
48085         * math/Makefile (tests): Add `test-fpucw-ieee' and
48086         `$(tests-static)'.
48087         (tests-static): New variable.
48088         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48089         dependency to...
48090         [($(build-shared),yes)]
48091         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48092         ... this.
48093         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48094         New dependency.
48096 2013-09-09  Allan McRae  <allan@archlinux.org>
48098         [BZ #15939]
48099         * manual/string.texi (Collation Functions): Fix typo in
48100         strcoll example.
48101         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48103         [BZ #15893]
48104         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48106         [BZ #15892]
48107         * libio/memstream.c (open_memstream): Fix memory leak.
48108         * libio/wmemstream.c (open_wmemstream): Likewise.
48110         [BZ #15895]
48111         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48113 2013-09-09  Will Newton  <will.newton@linaro.org>
48115         * malloc/Makefile: Add tst-realloc to tests.
48116         * malloc/tst-realloc.c: New file.
48118 2013-09-09  Allan McRae  <allan@archlinux.org>
48120         [BZ #15844]
48121         * COPYING: Update from GNU website to fix FSF address.
48122         * COPYING.LIB: Likewise.
48124 2013-09-06  David S. Miller  <davem@davemloft.net>
48126         * po/zh_TW.po: Update Chinese (traditional) translation from
48127         translation project.
48129 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48130             Joseph Myers  <joseph@codesourcery.com>
48132         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48133         "localeinfo.h".
48134         (obstack_chunk_alloc): New macro.
48135         (obstack_chunk_free): Likewise.
48136         (record_offset): New function.
48137         (init_locale_data): Likewise.
48138         (align_locale_data): Likewise.
48139         (add_locale_empty): Likewise.
48140         (add_locale_raw_data): Likewise.
48141         (add_locale_raw_obstack): Likewise.
48142         (add_locale_string): Likewise.
48143         (add_locale_wstring): Likewise.
48144         (add_locale_uint32): Likewise.
48145         (add_locale_uint32_array): Likewise.
48146         (add_locale_char): Likewise.
48147         (start_locale_structure): Likewise.
48148         (end_locale_structure): Likewise.
48149         (start_locale_prelude): Likewise.
48150         (end_locale_prelude): Likewise.
48151         (write_locale_data): Take locale_file structure rather than an
48152         iovec.
48153         * locale/programs/locfile.h: Include "obstack.h".
48154         (struct locale_file): Change to store locale file contents instead
48155         of header.
48156         (init_locale_data): New prototype.
48157         (align_locale_data): Likewise.
48158         (add_locale_empty): Likewise.
48159         (add_locale_raw_data): Likewise.
48160         (add_locale_raw_obstack): Likewise.
48161         (add_locale_string): Likewise.
48162         (add_locale_wstring): Likewise.
48163         (add_locale_uint32): Likewise.
48164         (add_locale_uint32_array): Likewise.
48165         (add_locale_char): Likewise.
48166         (start_locale_structure): Likewise.
48167         (end_locale_structure): Likewise.
48168         (start_locale_prelude): Likewise.
48169         (end_locale_prelude): Likewise.
48170         (write_locale_data): Update prototype.
48171         * locale/programs/3level.h (struct TABLE): Remove result field.
48172         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48173         Use new locale_file interface.
48174         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48175         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48176         * locale/programs/ld-address.c (address_output): Use new
48177         locale_file interface.
48178         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48179         NO_ADD_LOCALE.
48180         (collate_finish): Don't call collseq_table_finalize.
48181         (collate_output): Use new locale_file interface.
48182         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48183         in file.
48184         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48185         (TABLE): Move defines earlier in file.
48186         (ELEMENT): Likewise.
48187         (DEFAULT): Likewise.
48188         (wctrans_table_add): Move macro and inline function earlier in
48189         file.
48190         (struct wctype_table): Move type earlier in file.
48191         (add_locale_wctype_table): New static prototype.
48192         (struct locale_ctype_t): Use logical types instead of struct iovec
48193         pointers for members.
48194         (ctype_output): Use new locale_file interface.
48195         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48196         new locale_file interface.
48197         (allocate_arrays): Update for use of new locale_file interface.
48198         * locale/programs/ld-identification.c (identification_output): Use
48199         new locale_file interface.
48200         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48201         * locale/programs/ld-messages.c (messages_output): Likewise.
48202         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48203         * locale/programs/ld-name.c (name_output): Likewise.
48204         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48205         * locale/programs/ld-paper.c (paper_output): Likewise.
48206         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48207         * locale/programs/ld-time.c (time_output): Likewise.
48209 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48211         * benchtests/Makefile: Add memrchr benchmark.
48212         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48213         benchmark as memrchr.
48214         * benchtests/bench-memrchr-ifunc.c: New file.
48215         * benchtests/bench-memrchr.c: New file.
48217 2013-09-06   Will Newton  <will.newton@linaro.org>
48219         * benchtests/Makefile (string-bench): Add memcpy.
48221 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48222             Cong Wang  <amwang@redhat.com>
48224         [BZ #15850]
48225         * sysdeps/unix/sysv/linux/bits/in.h
48226         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48227         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48228         before __USE_KERNEL_IPV6_DEFS uses.
48229         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48230         IPPROTO_BEETPH.
48231         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48232         sockaddr_in6, or ipv6_mreq.
48234 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48236         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48237         memory access for final bytes in some large inputs.
48238         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48240 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48242         * string/test-memrchr.c: New file.
48243         * string/test-memrchr-ifunc.c: New file.
48244         * string/Makefile: Add new memrchr testcase.
48246 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48248         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48249         fanotify_init returns EPERM.
48251 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48253         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48254         errors.
48255         (top level): Treat second token from macro or constant entries for
48256         allowed headers as allowed.
48257         * include/complex.h: Condition internal declarations on
48258         [!_ISOMAC].
48259         * include/fenv.h: Condition include of <stdbool.h> and internal
48260         declarations on [!_ISOMAC].
48262 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48264         [BZ #15923]
48265         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48267 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48269         * configure.in (--enable-versioning): Remove configure option.
48270         (libc_cv_asm_symver_directive): Remove configure test.
48271         (libc_cv_ld_version_script_option): Likewise.
48272         (VERSIONING): Remove variable and AC_SUBST.
48273         (DO_VERSIONING): Remove AC_DEFINE.
48274         * configure: Regenerated.
48275         * config.h.in (DO_VERSIONING): Remove macro.
48276         * Makerules [$(versioning) = yes]: Change conditionals to
48277         [$(build-shared) = yes].
48278         * config.make.in (versioning): Remove variable.
48279         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48280         [$(build-shared) = yes].
48281         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48282         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48283         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48284         [$(build-shared) = yes].
48285         * extra-lib.mk [$(versioning) = yes]: Likewise.
48286         * hurd/Makefile [$(versioning) = yes]: Likewise.
48287         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48288         [SHARED].
48289         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48290         [SHARED].
48291         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48292         [SHARED && !NO_HIDDEN].
48293         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48294         [SHARED].
48295         [SHARED && DO_VERSIONING]: Likewise..
48296         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48297         [$(build-shared) = yes].
48298         * manual/install.texi (--disable-versioning): Remove
48299         documentation.
48300         * INSTALL: Regenerated.
48301         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48302         to [SHARED].
48303         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48304         [$(build-shared) = yes].
48305         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48306         * sysdeps/i386/i686/multiarch/strstr-c.c
48307         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48308         [SHARED && !NO_HIDDEN].
48309         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48310         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48311         * sysdeps/powerpc/powerpc32/dl-machine.c
48312         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48313         * sysdeps/powerpc/powerpc32/sysdep.h
48314         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48315         to [SHARED && PIC && !NO_HIDDEN].
48316         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48317         conditional to [SHARED].
48319 2013-09-04   Will Newton  <will.newton@linaro.org>
48321         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48322         * benchtests/bench-string.h: Include bench-timing.h instead
48323         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48324         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48325         call to HP_TIMING_DIFF_INIT.
48326         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48327         instead of hp-timing.h macros.
48328         * benchtests/bench-memchr.c: Likewise.
48329         * benchtests/bench-memcmp.c: Likewise.
48330         * benchtests/bench-memcpy.c: Likewise.
48331         * benchtests/bench-memmem.c: Likewise.
48332         * benchtests/bench-memmove.c: Likewise.
48333         * benchtests/bench-memset.c: Likewise.
48334         * benchtests/bench-rawmemchr.c: Likewise.
48335         * benchtests/bench-strcasecmp.c: Likewise.
48336         * benchtests/bench-strcasestr.c: Likewise.
48337         * benchtests/bench-strcat.c: Likewise.
48338         * benchtests/bench-strchr.c: Likewise.
48339         * benchtests/bench-strcmp.c: Likewise.
48340         * benchtests/bench-strcpy.c: Likewise.
48341         * benchtests/bench-strcpy_chk.c: Likewise.
48342         * benchtests/bench-strlen.c: Likewise.
48343         * benchtests/bench-strncasecmp.c: Likewise.
48344         * benchtests/bench-strncat.c: Likewise.
48345         * benchtests/bench-strncmp.c: Likewise.
48346         * benchtests/bench-strncpy.c: Likewise.
48347         * benchtests/bench-strnlen.c: Likewise.
48348         * benchtests/bench-strpbrk.c: Likewise.
48349         * benchtests/bench-strrchr.c: Likewise.
48350         * benchtests/bench-strspn.c: Likewise.
48351         * benchtests/bench-strstr.c: Likewise.
48353 2013-09-04  Will Newton  <will.newton@linaro.org>
48355         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48357 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48359         [BZ #15427]
48360         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48361         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48362         * math/libm-test.inc (lgamma_test_data): Add more tests.
48363         * sysdeps/i386/fpu/libm-test-ulps: Update.
48364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48366 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48368         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48370         Add ifunc.
48371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48372         Add strcmp-sse2-unaligned
48373         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48375 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48377         * Versions.def (libc): Add GLIBC_2.19.
48379 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48381         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48382         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48384 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48386         [BZ #14155]
48387         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48388         intermediate calculations in recurrence.
48389         (__ieee754_ynf): Likewise.
48390         * math/libm-test.inc (jn_test_data): Do not allow spurious
48391         underflow exception.  Add more tests.
48392         (yn_test_data): Add more tests.
48393         * sysdeps/i386/fpu/libm-test-ulps: Update.
48394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48396 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48398         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48400 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48402         * csu/init-first.c: Fix then/than typos.
48403         * locale/programs/ld-collate.c: Likewise.
48404         * locale/programs/linereader.h: Likewise.
48405         * manual/charset.texi: Likewise.
48406         * manual/filesys.texi: Likewise.
48407         * manual/stdio.texi: Likewise.
48408         * manual/string.texi: Likewise.
48409         * stdlib/fmtmsg.c: Likewise.
48410         * sysdeps/i386/stpncpy.S: Likewise.
48411         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48412         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48413         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48414         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48416 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48418         * elf/dl-open.c: Fix typos.
48419         * iconvdata/gbbig5.c: Likewise.
48420         * iconvdata/iso-2022-jp.c: Likewise.
48421         * iconv/gconv_int.h: Likewise.
48422         * iconv/loop.c: Likewise.
48423         * nis/rpcsvc/nis.h: Likewise.
48424         * resolv/ns_name.c: Likewise.
48425         * stdio-common/vfscanf.c: Likewise.
48426         * streams/stropts.h: Likewise.
48427         * sunrpc/rpc_thread.c: Likewise.
48428         * sysdeps/i386/strpbrk.S: Likewise.
48429         * sysdeps/ieee754/k_standard.c: Likewise.
48430         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48431         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48432         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48433         * sysdeps/mach/hurd/profil.c: Likewise.
48434         * sysdeps/s390/dl-procinfo.h: Likewise.
48435         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48436         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48437         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48438         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48439         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48441 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48443         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48444         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48446 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48448         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48449         aix specific files.
48450         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48451         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48452         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48453         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48454         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48455         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48456         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48457         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48459 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48460             Roland McGrath  <roland@hack.frob.com>
48462         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48463         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48465 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48467         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48468         __executable_start symbol instead of _start.
48470 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48472         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48473         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48474         Move macros to...
48475         * sysdeps/gnu/ldsodefs.h: ... this new file.
48477         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48478         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48479         instead of ELFOSABI_LINUX.
48481         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48482         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48483         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48484         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48485         Likewise.
48486         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48487         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48488         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48489         Likewise.
48490         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48491         (ibm_extended_long_double): Add ieee_nan member.
48492         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48493         (do_test): New function.
48495         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48496         TEST_TRUNC.
48497         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48498         functions, renamed from truncdfsf_test, trunctfsf_test,
48499         trunctfdf_test.
48500         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48501         functions.
48502         (do_test): Run all these.
48504 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48506         * argp/argp-help.c: Fix typos.
48507         * argp/argp-parse.c: Likewise.
48508         * debug/backtracesyms.c: Likewise.
48509         * elf/elf.h: Likewise.
48510         * malloc/malloc.c: Likewise.
48511         * nis/nis_print.c: Likewise.
48512         * resolv/res_comp.c: Likewise.
48513         * stdlib/stdlib.h: Likewise.
48514         * sunrpc/clnt_tcp.c: Likewise.
48515         * sunrpc/clnt_udp.c: Likewise.
48516         * sunrpc/clnt_unix.c: Likewise.
48517         * sysdeps/unix/bsd/ptsname.c: Likewise.
48518         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48519         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48521         Likewise.
48522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48523         Likewise.
48524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48525         Likewise.
48526         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48528 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48530         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48533 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48535         [BZ #15897]
48536         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48537         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48538         ($(objpfx)bug-dl-leaf): New rule.
48539         ($(objpfx)bug-dl-leaf.so): Likewise.
48540         ($(objpfx)bug-dl-leaf.out): Likewise.
48541         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48542         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48543         * dlfcn/bug-dl-leaf.c: New test.
48544         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48545         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48546         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48547         (dlclose): Likewise.
48548         (dlmopen): Likewise.
48550 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48552         * include/netdb.h [!_ISOMAC]:
48553         Don't include <tls.h>.
48554         (h_errno, __libc_h_errno): Move declaration and macros out of
48555         [_LIBC_REENTRANT].
48557         * include/resolv.h [_RESOLV_H_]:
48558         Don't include <tls.h>.
48559         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48560         * resolv/res_libc.c: Don't include <tls.h>.
48561         (_res): Use __attribute__ ((nocommon)) in place of
48562         __attribute__ ((section (".bss"))).
48564         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48565         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48567         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48569         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48570         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48572         * resolv/res_mkquery.c: Include <sys/time.h>.
48574         * inet/ifreq.c: Moved to ...
48575         * sysdeps/unix/ifreq.c: ... here.
48576         * inet/ifreq.c: New file, true stub version.
48578         * socket/sa_len.c: New file.
48579         * socket/Makefile (aux): Add it.
48580         * sysdeps/unix/sysv/linux/Makefile
48581         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48582         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48583         and #include <socket/sa_len.c>.
48584         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48585         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48587         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48588         * bits/socket.h: ... here.
48590         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48591         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48592         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48594 2013-08-27  Andreas Schwab  <schwab@suse.de>
48596         [BZ #15736]
48597         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48598         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48599         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48600         * string/test-strcasecmp.c (test_main): Run tests in several
48601         locales.
48602         * string/test-strncasecmp.c (test_main): Likewise.
48604         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48605         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48606         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48608         (__strncasecmp_ssse3) [PIC]: Likewise.
48610 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48612         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48614         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48615         instead of explicitly declaring xdecrypt.
48616         * nis/nss_nis/nis-publickey.c: Likewise.
48618 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48620         [BZ #15890]
48621         * nscd/aicache.c: Include res_hconf.h.
48622         (addhstaiX): Initialize res_hconf.
48624 2013-08-26  Andreas Schwab  <schwab@suse.de>
48626         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48627         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48629 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48631         * nscd/aicache.c (addhstaiX): Fix indentation.
48633 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48635         * configure.ac: Quote $build_pt_chown test.
48636         * configure: Regenerated.
48638 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48640         [BZ #15532]
48641         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48642         * math/s_cexpf.c (__cexpf): Likewise.
48643         * math/s_cexpl.c (__cexpl): Likewise.
48644         * math/libm-test.inc (cexp_test_data): Correct expected return
48645         value for NaN + i0.  Add another test.
48647 2013-08-22  David S. Miller  <davem@davemloft.net>
48649         * po/ca.po: Update Catalan translation from translation project.
48650         * po/uk.po: Add Ukrainian translations from translation project.
48652 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48654         [BZ #15797]
48655         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48656         is infinite, not alongside NaN test.
48657         * math/s_fdimf.c (__fdimf): Likewise.
48658         * math/s_fdiml.c (__fdiml): Likewise.
48659         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48660         errno is unchanged.
48662 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48664         * argp/argp-help.c: Fix typos.
48665         * crypt/speeds.c: Likewise.
48666         * csu/check_fds.c: Likewise.
48667         * elf/dl-load.c: Likewise.
48668         * elf/dl-open.c: Likewise.
48669         * elf/reldep3.c: Likewise.
48670         * elf/reldep.c: Likewise.
48671         * elf/sprof.c: Likewise.
48672         * iconv/iconv_charmap.c: Likewise.
48673         * iconv/skeleton.c: Likewise.
48674         * iconv/strtab.c: Likewise.
48675         * io/lockf64.c: Likewise.
48676         * libio/libioP.h: Likewise.
48677         * resolv/gai_notify.c: Likewise.
48678         * resolv/ns_name.c: Likewise.
48679         * resolv/ns_samedomain.c: Likewise.
48680         * resolv/res_send.c: Likewise.
48681         * stdlib/random.c: Likewise.
48682         * sunrpc/rpc/xdr.h: Likewise.
48683         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48684         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48685         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48686         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48687         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48688         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48690         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48691         * sysdeps/mach/hurd/check_fds.c: Likewise.
48692         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48693         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48694         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48695         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48696         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48697         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48698         * sysdeps/pthread/aio_notify.c: Likewise.
48699         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48700         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48701         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48702         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48703         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48705 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48707         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48708         version if bit_Slow_SSE4_2 is set.
48709         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48710         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48712 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48714         [BZ #15867]
48715         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48716         trampoline stack frame information.
48717         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48718         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48719         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48720         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48721         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48722         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48723         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48724         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48725         sa_flags value.
48726         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48727         interrupting a syscall and set with option SA_SIGINFO.
48729 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48731         [BZ #15531]
48732         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48733         argument is infinite.
48734         * math/s_cprojf.c (__cprojf): Likewise.
48735         * math/s_cprojl.c (__cprojl): Likewise.
48736         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48737         * math/libm-test.inc (cproj_test_data): Add more tests.
48739         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48741         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48742         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48743         size.  Use __ffs to determine corresponding shift.
48745 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48746             Roland McGrath  <roland@hack.frob.com>
48748         * Makefile (INSTALL): Remove trailing blank lines from output of
48749         makeinfo.
48751 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48753         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48754         Align 32 bit compat elf_greg to 8 bytes.
48756 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48758         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48760 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48762         * string/strcoll_l.c (coll_seq): New structure.
48763         (get_next_seq_cached): New function.
48764         (get_next_seq): New function.
48765         (do_compare): New function.
48766         (STRCOLL): Use GNU style definition.  Simplify implementation
48767         by using get_next_seq, get_next_seq_cached and do_compare.
48769 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48771         [BZ #14699]
48772         CVE-2013-4237
48773         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48774         member.
48775         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48776         member.
48777         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48778         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48779         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48780         conditional.
48781         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48782         GETDENTS_64BIT_ALIGNED.
48783         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48784         * manual/filesys.texi (Reading/Closing Directory): Document
48785         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48786         strongly.
48787         * manual/conf.texi (Limits for Files): Add portability note to
48788         NAME_MAX, PATH_MAX.
48789         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48791 2013-08-13  Andreas Schwab  <schwab@suse.de>
48793         [BZ #15749]
48794         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48795         of fabs.
48796         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48797         LDBL_MAX_EXP >= 16384]: Add tests for it.
48799 2013-08-12  David S. Miller  <davem@davemloft.net>
48801         * version.h (RELEASE): Set to "development".
48802         (VERSION): Set to "2.18.90".
48803         * NEWS: Add 2.19 section.
48805 2013-08-03  David S. Miller  <davem@davemloft.net>
48807         * po/ko.po: Update Korean translation from translation project.
48809 2013-08-01  David S. Miller  <davem@davemloft.net>
48811         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48812         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48813         Bilka.
48815 2013-07-30  David S. Miller  <davem@davemloft.net>
48817         * po/fr.po: Update French translation from translation project.
48819 2013-07-28  David S. Miller  <davem@davemloft.net>
48821         * po/cs.po: Update Czech translation from translation project.
48823         * po/sv.po: Update Swedish translation from translation project.
48825 2013-07-27  David S. Miller  <davem@davemloft.net>
48827         * po/eo.po: Update Esperanto translation from translation project.
48829         * po/vi.po: Update Vietnamese translation from translation project.
48831         * po/de.po: Update German translation from translation project.
48833 2013-07-26  David S. Miller  <davem@davemloft.net>
48835         * po/bg.po: Update Bulgarian translation from translation project.
48837         * po/nl.po: Update Dutch translation from translation project.
48838         * po/pl.po: Update Polish translation from translation project.
48839         * po/ru.po: Update Russian translation from translation project.
48841 2013-07-24  David S. Miller  <davem@davemloft.net>
48843         * po/libc.pot: Update.
48845 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48847         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48848         variable page size.
48849         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48850         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48851         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48853 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48855         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48857 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48858             Andreas Schwab  <schwab@suse.de>
48859             Roland McGrath  <roland@hack.frob.com>
48860             Joseph Myers  <joseph@codesourcery.com>
48861             Carlos O'Donell  <carlos@redhat.com>
48863         [BZ #15755]
48864         * config.h.in: Define HAVE_PT_CHOWN.
48865         * config.make.in (build-pt-chown): New variable.
48866         * configure.in (--enable-pt_chown): New configure option.
48867         * configure: Regenerate.
48868         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48869         build-pt-chown is enabled.
48870         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48871         pt_chown to fix pty ownership.
48872         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48873         CLOSE_ALL_FDS.
48874         * manual/install.texi (Configuring and compiling): Mention
48875         --enable-pt_chown. Add @findex for grantpt.
48876         * INSTALL: Regenerate.
48878 2013-07-20  David S. Miller  <davem@davemloft.net>
48880         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48881         difference between 32-bit and 64-bit.
48883 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48885         [BZ #15711]
48886         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48887         Avoid system header dependency with -ffreestanding.
48888         ($(objpfx)bits/syscall%d): Likewise.
48890 2013-07-13  David S. Miller  <davem@davemloft.net>
48892         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48893         underflows from atanl/atan2l due to bug 15319.
48894         (casinh_test_data): Likewise.
48896 2013-07-07  David S. Miller  <davem@davemloft.net>
48898         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48900 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48902         * sysdeps/i386/fpu/libm-test-ulps: Update.
48903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48905 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48907         * configure.in (--enable-lock-elision): Fix message text.
48908         * INSTALL: Regenerate.
48909         * configure: Regenerate.
48911 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48915 2013-07-03  Andreas Jaeger  <aj@suse.de>
48917         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48918         define.
48919         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48920         (ptrace_peeksiginfo_args): Add.
48921         (__ptrace_peeksiginfo_flags): Add.
48922         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48923         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48924         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48926 2013-07-03  Allan McRae  <allan@archlinux.org>
48928         * sysdeps/i386/fpu/libm-test-ulps: Update.
48930 2013-07-02  David S. Miller  <davem@davemloft.net>
48932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48934 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48936         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48938 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48940         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48943 2013-07-02  Andi Kleen <ak@linux.intel.com>
48945         * config.h.in (ENABLE_LOCK_ELISION): Add.
48946         * configure.in (--enable-lock-elision): Add option.
48947         * manual/install.texi: Document --enable lock elision.
48948         * configure: Regenerate
48949         * INSTALL: Regenerate.
48951 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48953         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48954         SSE4.2 strcasecmp for libc.a.
48955         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48957 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48959         [BZ #13304]
48960         * soft-fp/op-common.h (_FP_FMA): New macro.
48961         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48962         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48963         (_FP_MUL_MEAT_1_imm): ... here.
48964         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48965         (_FP_MUL_MEAT_1_wide): ... here.
48966         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48967         (_FP_MUL_MEAT_1_hard): ... here.
48968         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48969         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48970         (_FP_MUL_MEAT_2_wide): ... here.
48971         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48972         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48973         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48974         (_FP_MUL_MEAT_2_gmp): ... here.
48975         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48976         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48977         (_FP_MUL_MEAT_4_wide): ... here.
48978         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48979         (_FP_MUL_MEAT_4_gmp): ... here.
48980         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48981         (_FP_WFRACBITS_DW_S): Likewise.
48982         (_FP_WFRACXBITS_DW_S): Likewise.
48983         (_FP_HIGHBIT_DW_S): Likewise.
48984         (FP_FMA_S): Likewise.
48985         (_FP_FRAC_HIGH_DW_S): Likewise.
48986         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48987         (_FP_WFRACBITS_DW_D): Likewise.
48988         (_FP_WFRACXBITS_DW_D): Likewise.
48989         (_FP_HIGHBIT_DW_D): Likewise.
48990         (FP_FMA_D): Likewise.
48991         (_FP_FRAC_HIGH_DW_D): Likewise.
48992         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48993         (_FP_WFRACBITS_DW_E): Likewise.
48994         (_FP_WFRACXBITS_DW_E): Likewise.
48995         (_FP_HIGHBIT_DW_E): Likewise.
48996         (FP_FMA_E): Likewise.
48997         (_FP_FRAC_HIGH_DW_E): Likewise.
48998         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48999         (_FP_WFRACBITS_DW_Q): Likewise.
49000         (_FP_WFRACXBITS_DW_Q): Likewise.
49001         (_FP_HIGHBIT_DW_Q): Likewise.
49002         (FP_FMA_Q): Likewise.
49003         (_FP_FRAC_HIGH_DW_Q): Likewise.
49004         * soft-fp/fmasf4.c: New file.
49005         * soft-fp/fmadf4.c: Likewise.
49006         * soft-fp/fmatf4.c: Likewise.
49008 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49011         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49012         Silvermont.
49013         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49014         macro.
49015         (index_Slow_SSE4_2): Likewise.
49016         (index_Prefer_PMINUB_for_stringop): Likewise.
49017         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49018         bit_Slow_SSE4_2 is set.
49019         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49020         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49022 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49024         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49025         rtld_global._dl_hwcap2.
49026         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49027         POWER8.
49028         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49029         POWER8 feature descriptions defined in _dl_hwcap2.
49030         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49031         string handling for POWER8 feature bits.
49032         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49033         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49034         _dl_powerpc_cap_flags.
49035         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49036         * sysdeps/powerpc/rtld-global-offsets.sym
49037         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49038         _dl_hwcap2 in the rtld_global_ro structure.
49040 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49042         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49043         hardware capabilities in support of AT_HWCAP2.
49044         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49045         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49046         GLRO(dl_hwcap2).
49047         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49048         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49049         explicitly the unknown a_type display mechanism is used.
49050         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49051         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49052         struct member.
49053         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49054         to macro prototype for AT_HWCAP2 support.
49055         * sysdeps/i386/dl-procinfo.h: Likewise.
49056         * sysdeps/s390/dl-procinfo.h: Likewise.
49057         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49058         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49059         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49060         return -1 for unknown a_type display fallback.
49061         * sysdeps/sparc/dl-procinfo.h: Likewise.
49062         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49063         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49065 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49067         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49068         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49070 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49072         [BZ #12492]
49073         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49074         mprotect making __stack_prot writable.
49076 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49077             Joseph Myers  <joseph@codesourcery.com>
49079         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49080         as being properly aligned.
49082 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49084         * dlfcn/modstatic5.c: New file.
49085         * dlfcn/tststatic5.c: New file.
49086         * dlfcn/Makefile (tests): Add tststatic5.
49087         (tests-static): Likewise.
49088         (modules-names): Add modstatic5.
49089         (tststatic5-ENV): New variable.
49090         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49092         [BZ #15022]
49093         * elf/dl-support.c (_dl_main_map): New variable.
49094         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49095         (_dl_nns, _dl_load_adds): Set to 1.
49096         (_dl_initial_searchlist): Refer to _dl_main_map.
49097         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49098         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49099         call to _dl_get_origin.
49100         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49101         around call_map.
49102         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49103         * dlfcn/modstatic3.c: New file.
49104         * dlfcn/tststatic3.c: New file.
49105         * dlfcn/tststatic4.c: New file.
49106         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49107         (tests-static): Likewise.
49108         (modules-names): Add modstatic3.
49109         (tststatic3-ENV, tststatic4-ENV): New variables.
49110         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49111         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49113 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49115         * configure.in (CC): Require GCC version 4.4 or later.
49116         * configure: Regenerated.
49117         * manual/install.texi (Tools for Compilation): Update GCC version
49118         requirement.
49119         * INSTALL: Regenerated.
49121 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49123         [BZ #15674]
49124         * string/test-memcmp.c (check2): New.
49125         (main): Call check2.
49127         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49129 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49131         [BZ #15022]
49132         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49133         over to...
49134         (dl_open_worker) [!SHARED]: ... here.
49136 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49138         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49140 2013-06-25  Richard Henderson  <rth@redhat.com>
49142         * locale/programs/locarchive.c: Include <libc-internal.h>
49144 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49146         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49147         trailing whitespace removed.
49149 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49151         [BZ #10283]
49152         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49153         * locale/programs/locarchive.c: Include libc-mmap.h.
49154         (prepare_address_space): Take two new outputs (the mmap base and len).
49155         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49156         values.
49157         (create_archive): Declare new mmap base and len values for
49158         prepare_address_space, and store the result in ah.
49159         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49160         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49161         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49162         Declare new mmap base and len values for
49163         prepare_address_space, and store the result in new_ah.
49164         (open_archive): Declare new mmap base and len values for
49165         prepare_address_space, and store the result in ah.
49166         (close_archive): If ah->mmap_base is not NULL, use that and
49167         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49168         * sysdeps/generic/libc-mmap.h: New file.
49170 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49172         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49173         (ALIGN_UP): Likewise.
49174         (PTR_ALIGN_DOWN): Likewise.
49175         (PTR_ALIGN_UP): Likewise.
49177 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49179         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49180         entry mapped to PPC_PLATFORM_POWER8.
49181         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49182         POWER8.
49183         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49184         (_dl_string_platform): Add case for exporting platform position for
49185         POWER8.
49186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49187         search path to sysdeps/powerpc/powerpc32/power8 directory.
49188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49189         search path to sysdeps/powerpc/powerpc64/power8 directory.
49190         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49191         power7 directories.
49192         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49193         power7 directories.
49195 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49197         * INSTALL: Regenerate.
49199         * nscd/connections.c (nscd_init): Fix comment.
49201 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49203         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49205         [BZ #15667]
49206         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49207         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49209 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49211         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49212         DL_DST_REQ_STATIC.
49213         (DL_DST_REQ_STATIC): Remove macro.
49215 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49217         [BZ #7006]
49218         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49219         with a shift of 0 bits.
49221 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49223         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49224         $(tststatic-ENV).
49226 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49228         [BZ #15655]
49229         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49231 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49233         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49234         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49235         accepts -fno-tree-loop-distribute-patterns.
49236         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49237         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49238         recursive call.
49239         * string/memset.c (memset): Likewise.
49240         * string/test-memmove.c (simple_memmove): Disable loop transformation
49241         to library calls.
49242         * string/test-memset.c (simple_memset): Likewise.
49243         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49244         * benchtests/bench-memset.c (simple_memset): Likewise.
49245         * configure: Regenerated.
49247 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49249         * math/test-misc.c (main): Ignore fesetround failure when failures
49250         of subsequent rounding tests would be ignored.
49252         [BZ #15654]
49253         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49254         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49255         * math/fegetenv.c (__fegetenv): Return 0.
49256         * math/fegetexcept.c (fegetexcept): Return 0.
49257         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49258         FE_TONEAREST.
49259         * math/feholdexcpt.c (feholdexcept): Return 0.
49260         * math/fesetenv.c (__fesetenv): Return 0.
49261         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49262         argument FE_TONEAREST.
49263         * math/feupdateenv.c (__feupdateenv): Return 0.
49264         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49266 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49268         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49269         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49270         ($(objpfx)rtld-%.os rules): Use them.
49272 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49274         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49275         fields.
49277 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49279         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49280         length of target pattern, then descending length of dependency pattern.
49281         * configure.in (AWK): Require gawk 3.1.2 or newer.
49282         * manual/install.texi (Tools for Compilation): Say that we do.
49283         * configure: Regenerated.
49285         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49286         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49287         * scripts/sysd-rules.awk: ... this new script.
49288         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49289         than a glob-style pattern.
49291 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49293         * math/test-misc.c (main): Do not treat incorrectly rounded
49294         conversions as failure unless ROUNDING_TESTS passes.
49296 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49298         [BZ #15631]
49299         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49300         restore exception state around main square root computation, then
49301         check for inexactness explicitly.
49303         * math/libm-test.inc (fma_test_data): Add another test.
49305 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49307         * manual/threads.texi (Non-POSIX Extensions): New document
49308         node.  Document pthread_getattr_default_np and
49309         pthread_setattr_default_np.
49311         * Versions.def (libpthread): Add GLIBC_2.18.
49312         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49314         Likewise.
49315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49316         Likewise.
49317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49318         Likewise.
49319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49320         Likewise.
49321         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49322         Likewise.
49323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49324         Likewise.
49325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49326         Likewise.
49327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49328         Likewise.
49329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49330         Likewise.
49332 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49335         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49337 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49338             H.J. Lu  <hjl.tools@gmail.com>
49340         [BZ #15627]
49341         * sysdeps/x86_64/rtld-memset.c: Remove file.
49342         * sysdeps/x86_64/rtld-memset.S: New file.
49344 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49346         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49347         (test_in_one_mode): Take arguments for whether the rounding mode
49348         is supported for each floating-point type.
49349         (do_test): Pass new arguments to test_in_one_mode using
49350         ROUNDING_TESTS.
49352 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49354         * posix/tst-waitid.c (do_test): Distinguish different instances of
49355         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49356         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49357         before entering the kernel for waitpid.
49359 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49361         * NEWS: Fix note on clock function precision.  Text by Roland
49362         McGrath.
49364 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49366         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49367         it into place only when and if the sanity check passes.
49369 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49371         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49372         output for whether conversion result is exact.  Take argument
49373         indicating whether type is IBM long double.
49374         (round_for_all): Change need_exact field to ibm_ld.
49375         * stdlib/tst-strtod-round.c (struct exactness): New type.
49376         (struct test): Change bool ld_ok field to struct exactness exact.
49377         (TEST): Update all definitions for change to field.
49378         (tests): Regenerate array contents.
49379         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49380         field value.  Check for IBM long double here.
49381         (do_test): Update calls to test_in_one_mode.
49383 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49385         [BZ #12515]
49386         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49387         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49389 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49391         [BZ #15605]
49392         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49393         generated by the compiler on loop optimizations.
49394         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49395         general definitions.
49397 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49399         * math/bug-nextafter.c: Include <math-tests.h>.
49400         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49401         the relevant type.
49402         * math/bug-nexttoward.c: Include <math-tests.h>.
49403         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49404         the relevant type.
49405         * math/test-misc.c: Include <math-tests.h>.
49406         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49407         the relevant type.
49409 2013-06-12  Andreas Jaeger  <aj@suse.de>
49411         * po/ia.po: Update Interlingua translation from translation
49412         project.
49414 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49416         * include/fenv.h: Include stdbool.h.
49417         (struct rm_ctx): New structure.
49418         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49419         Define macro.
49420         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49421         (SET_RESTORE_ROUNDF): Likewise.
49422         (SET_RESTORE_ROUNDL): Likewise.
49423         (SET_RESTORE_ROUND_NOEX): Likewise.
49424         (SET_RESTORE_ROUND_NOEXF): Likewise.
49425         (SET_RESTORE_ROUND_NOEXL): Likewise.
49426         (SET_RESTORE_ROUND_53BIT): Likewise.
49427         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49428         (libc_feresetround_noexf_ctx): Likewise.
49429         (libc_feresetround_noexl_ctx): Likewise.
49430         (libc_feholdsetround_53bit_ctx): Likewise.
49431         (libc_feresetround_53bit_ctx): Likewise.
49432         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49433         (libc_feholdexcept_setround_sse_ctx): New function.
49434         (libc_fesetenv_sse_ctx): Likewise.
49435         (libc_feupdateenv_sse_ctx): Likewise.
49436         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49437         (libc_feholdexcept_setround_387_ctx): Likewise.
49438         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49439         (libc_feholdsetround_387_prec_ctx): Likewise.
49440         (libc_feholdsetround_387_ctx): Likewise.
49441         (libc_feholdsetround_387_53bit_ctx): Likewise.
49442         (libc_feholdsetround_sse_ctx): Likewise.
49443         (libc_feresetround_sse_ctx): Likewise.
49444         (libc_feresetround_387_ctx): Likewise.
49445         (libc_feupdateenv_387_ctx): Likewise.
49446         (libc_feholdexcept_setroundf_ctx): Define macro.
49447         (libc_fesetenvf_ctx): Likewise.
49448         (libc_feupdateenvf_ctx): Likewise.
49449         (libc_feholdsetroundf_ctx): Likewise.
49450         (libc_feresetroundf_ctx): Likewise.
49451         (libc_feholdexcept_setround_ctx): Likewise.
49452         (libc_fesetenv_ctx): Likewise.
49453         (libc_feupdateenv_ctx): Likewise.
49454         (libc_feholdsetround_ctx): Likewise.
49455         (libc_feresetround_ctx): Likewise.
49456         (libc_feholdexcept_setroundl_ctx): Likewise.
49457         (libc_feupdateenvl_ctx): Likewise.
49458         (libc_feholdsetroundl_ctx): Likewise.
49459         (libc_feresetroundl_ctx): Likewise.
49460         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49461         (libc_feresetround_53bit_ctx): Likewise.
49463 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49465         * locale/iso-639.def: Convert to UTF-8.
49467 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49469         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49470         (EXCEPTION_TESTS_double): Likewise.
49471         (EXCEPTION_TESTS_long_double): Likewise.
49472         (EXCEPTION_TESTS): Likewise.
49473         * math/libm-test.inc (test_exceptions): Only test exceptions if
49474         EXCEPTION_TESTS (FLOAT).
49476 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49478         * benchtests/Makefile (string-bench): Add strcpy_chk and
49479         stpcpy_chk.
49480         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49481         * benchtests/bench-stpcpy_chk.c: New file.
49482         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49483         * benchtests/bench-strcpy_chk.c: New file.
49484         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49485         code.
49486         (do_test): Likewise.
49488 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49490         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49491         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49492         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49493         with tabs where appropriate.
49494         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49495         dl-procinfo.h.
49496         [PPC_PLATFORM_PPC440]: Likewise.
49497         [PPC_PLATFORM_PPC464]: Likewise.
49498         [PPC_PLATFORM_PPC476]: Likewise.
49499         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49500         ppc464, and ppc476 platform strings merging from ports/
49501         dl-procinfo.h.
49503 2013-06-11  Andreas Schwab  <schwab@suse.de>
49505         [BZ #14991]
49506         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49507         (from_ucs4_idx): Regenerate.
49508         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49509         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49510         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49511         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49512         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49513         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49514         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49515         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49516         from FROM_LOOP and TO_LOOP specific macros.
49517         (BODY): Handle combining characters.
49518         * iconvdata/BIG5HKSCS.irreversible: Update.
49519         * iconvdata/BIG5HKSCS.precomposed: New file.
49520         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49521         characters.
49522         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49524 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49526         * include/sys/time.h: Fix indentation and add copyright header.
49528         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49529         (do_test): Likewise.
49530         * string/test-memchr.c (do_one_test): Likewise.
49531         (do_test): Likewise.
49532         * string/test-memcmp.c (do_one_test): Likewise.
49533         (do_test): Likewise.
49534         * string/test-memcpy.c (do_one_test): Likewise.
49535         (do_test): Likewise.
49536         * string/test-memmem.c (do_one_test): Likewise.
49537         (do_test): Likewise.
49538         (do_random_tests): Likewise.
49539         * string/test-memmove.c (do_one_test): Likewise.
49540         (do_test): Likewise.
49541         * string/test-memset.c (do_one_test): Likewise.
49542         (do_test): Likewise.
49543         * string/test-rawmemchr.c (do_one_test): Likewise.
49544         (do_test): Likewise.
49545         * string/test-strcasecmp.c (do_one_test): Likewise.
49546         (do_test): Likewise.
49547         * string/test-strcasestr.c (do_one_test): Likewise.
49548         (do_test): Likewise.
49549         * string/test-strcat.c (do_one_test): Likewise.
49550         (do_test): Likewise.
49551         * string/test-strchr.c (do_one_test): Likewise.
49552         (do_test): Likewise.
49553         * string/test-strcmp.c (do_one_test): Likewise.
49554         (do_test): Likewise.
49555         * string/test-strcpy.c (do_one_test): Likewise.
49556         (do_test): Likewise.
49557         * string/test-string.h: Likewise.
49558         (test_init): Likewise.
49559         * string/test-strlen.c (do_one_test): Likewise.
49560         (do_test): Likewise.
49561         * string/test-strncasecmp.c (do_one_test): Likewise.
49562         (do_test): Likewise.
49563         * string/test-strncat.c (do_one_test): Likewise.
49564         (do_test): Likewise.
49565         * string/test-strncmp.c (do_one_test): Likewise.
49566         (do_test_limit): Likewise.
49567         (do_test): Likewise.
49568         * string/test-strncpy.c (do_one_test): Likewise.
49569         (do_test): Likewise.
49570         * string/test-strnlen.c (do_one_test): Likewise.
49571         (do_test): Likewise.
49572         * string/test-strpbrk.c (do_one_test): Likewise.
49573         (do_test): Likewise.
49574         * string/test-strrchr.c (do_one_test): Likewise.
49575         (do_test): Likewise.
49576         * string/test-strspn.c (do_one_test): Likewise.
49577         (do_test): Likewise.
49578         * string/test-strstr.c (do_one_test): Likewise.
49579         (do_test): Likewise.
49581         * benchtests/Makefile (string-bench): Add string benchmarks.
49582         * benchtests/bench-bcopy-ifunc.c: New file.
49583         * benchtests/bench-bcopy.c: New file.
49584         * benchtests/bench-bzero-ifunc.c: New file.
49585         * benchtests/bench-bzero.c: New file.
49586         * benchtests/bench-memccpy-ifunc.c: New file.
49587         * benchtests/bench-memccpy.c: New file.
49588         * benchtests/bench-memchr-ifunc.c: New file.
49589         * benchtests/bench-memchr.c: New file.
49590         * benchtests/bench-memcmp-ifunc.c: New file.
49591         * benchtests/bench-memcmp.c: New file.
49592         * benchtests/bench-memmem-ifunc.c: New file.
49593         * benchtests/bench-memmem.c: New file.
49594         * benchtests/bench-memmove-ifunc.c: New file.
49595         * benchtests/bench-memmove.c: New file.
49596         * benchtests/bench-mempcpy-ifunc.c: New file.
49597         * benchtests/bench-mempcpy.c: New file.
49598         * benchtests/bench-memset-ifunc.c: New file.
49599         * benchtests/bench-memset.c: New file.
49600         * benchtests/bench-rawmemchr-ifunc.c: New file.
49601         * benchtests/bench-rawmemchr.c: New file.
49602         * benchtests/bench-stpcpy-ifunc.c: New file.
49603         * benchtests/bench-stpcpy.c: New file.
49604         * benchtests/bench-stpncpy-ifunc.c: New file.
49605         * benchtests/bench-stpncpy.c: New file.
49606         * benchtests/bench-strcasecmp-ifunc.c: New file.
49607         * benchtests/bench-strcasecmp.c: New file.
49608         * benchtests/bench-strcasestr-ifunc.c: New file.
49609         * benchtests/bench-strcasestr.c: New file.
49610         * benchtests/bench-strcat-ifunc.c: New file.
49611         * benchtests/bench-strcat.c: New file.
49612         * benchtests/bench-strchr-ifunc.c: New file.
49613         * benchtests/bench-strchr.c: New file.
49614         * benchtests/bench-strchrnul-ifunc.c: New file.
49615         * benchtests/bench-strchrnul.c: New file.
49616         * benchtests/bench-strcmp-ifunc.c: New file.
49617         * benchtests/bench-strcmp.c: New file.
49618         * benchtests/bench-strcpy-ifunc.c: New file.
49619         * benchtests/bench-strcpy.c: New file.
49620         * benchtests/bench-strcspn-ifunc.c: New file.
49621         * benchtests/bench-strcspn.c: New file.
49622         * benchtests/bench-strlen-ifunc.c: New file.
49623         * benchtests/bench-strlen.c: New file.
49624         * benchtests/bench-strncasecmp-ifunc.c: New file.
49625         * benchtests/bench-strncasecmp.c: New file.
49626         * benchtests/bench-strncat-ifunc.c: New file.
49627         * benchtests/bench-strncat.c: New file.
49628         * benchtests/bench-strncmp-ifunc.c: New file.
49629         * benchtests/bench-strncmp.c: New file.
49630         * benchtests/bench-strncpy-ifunc.c: New file.
49631         * benchtests/bench-strncpy.c: New file.
49632         * benchtests/bench-strnlen-ifunc.c: New file.
49633         * benchtests/bench-strnlen.c: New file.
49634         * benchtests/bench-strpbrk-ifunc.c: New file.
49635         * benchtests/bench-strpbrk.c: New file.
49636         * benchtests/bench-strrchr-ifunc.c: New file.
49637         * benchtests/bench-strrchr.c: New file.
49638         * benchtests/bench-strspn-ifunc.c: New file.
49639         * benchtests/bench-strspn.c: New file.
49640         * benchtests/bench-strstr-ifunc.c: New file.
49641         * benchtests/bench-strstr.c: New file.
49643         * benchtests/Makefile: Disable parallel execution of targets.
49644         (string-bench): Add memcpy.
49645         (benchset): New variable to store a list of benchmark sets.
49646         (bench-func): Renamed from bench.
49647         (bench-set): New target.
49648         (bench): Depend on bench-func and bench-set.
49649         * benchtests/README: Add section on benchmark sets.
49650         * benchtests/bench-memcpy-ifunc.c: New file.
49651         * benchtests/bench-memcpy.c: New file.
49652         * benchtests/bench-string.h: New file.
49654 2013-06-11  Andreas Schwab  <schwab@suse.de>
49656         [BZ #15577]
49657         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49658         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49659         values in the triple.
49660         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49661         terminator in the group key.
49663 2013-06-11  Andreas Jaeger  <aj@suse.de>
49665         * po/zh_TW.po: Update Chinese (traditional) translation from
49666         translation project.
49668 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49670         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49671         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49672         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49673         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49674         (clock_getcpuclockid): Likewise.
49675         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49676         Add weak_alias and libc_hidden_def.
49677         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49678         * rt/clock_gettime.c (clock_gettime): Rename to
49679         __clock_gettime.  Add weak_alias and libc_hidden_def.
49680         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49681         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49682         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49683         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49684         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49685         Likewise.
49686         * rt/clock_settime.c (clock_settime): Rename to
49687         __clock_settime.  Add weak_alias and libc_hidden_def.
49688         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49690 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49692         * mach/err_boot.sub: Remove trailing whitespace.
49693         * mach/err_ipc.sub: Likewise.
49694         * mach/err_mach.sub: Likewise.
49696         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49697         (ROUNDING_TESTS_double): Likewise.
49698         (ROUNDING_TESTS_long_double): Likewise.
49699         (ROUNDING_TESTS): Likewise.
49700         * math/libm-test.inc: Include <math-tests.h>.
49701         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49702         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49703         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49704         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49706 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49708         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49709         of assigning.
49711 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49713         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49714         otherwise empty TRANS lines.
49715         * sysdeps/gnu/errlist.c: Regenerated.
49717         * catgets/gencat.c (error_print): Use (void) in function
49718         definition.
49719         * crypt/crypt_util.c (__init_des): Likewise.
49720         * crypt/speeds.c (Stop): Likewise.
49721         (main): Likewise.
49722         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49723         * inet/ruserpass.c (token): Likewise.
49724         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49725         * intl/localealias.c (extend_alias_table): Likewise.
49726         * intl/plural-exp.c (init_germanic_plural): Likewise.
49727         * libio/fcloseall.c (__fcloseall): Likewise.
49728         * libio/genops.c (_IO_flush_all): Likewise.
49729         (_IO_flush_all_linebuffered): Likewise.
49730         (_IO_cleanup): Likewise.
49731         (_IO_iter_begin): Likewise.
49732         (_IO_iter_end): Likewise.
49733         (_IO_list_lock): Likewise.
49734         (_IO_list_unlock): Likewise.
49735         (_IO_list_resetlock): Likewise.
49736         * libio/getchar.c (getchar): Likewise.
49737         * libio/getchar_u.c (getchar_unlocked): Likewise.
49738         * libio/getwchar.c (getwchar): Likewise.
49739         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49740         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49741         * login/getpt.c (__getpt): Likewise.
49742         * login/tst-utmp.c (main): Likewise.
49743         * malloc/hooks.c (__malloc_check_init): Likewise.
49744         * malloc/malloc.c (__malloc_stats): Likewise.
49745         * malloc/mtrace.c (tr_break): Likewise.
49746         (mtrace): Likewise.
49747         (muntrace): Likewise.
49748         * misc/fstab.c (endfsent): Likewise.
49749         * misc/getclktck.c (__getclktck): Likewise.
49750         * misc/getdtsz.c (__getdtablesize): Likewise.
49751         * misc/gethostid.c (gethostid): Likewise.
49752         * misc/getpagesize.c (__getpagesize): Likewise.
49753         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49754         (__get_nprocs): Likewise.
49755         (__get_phys_pages): Likewise.
49756         (__get_avphys_pages): Likewise.
49757         * misc/getttyent.c (getttyent): Likewise.
49758         (setttyent): Likewise.
49759         (endttyent): Likewise.
49760         * misc/getusershell.c (getusershell): Likewise.
49761         (endusershell): Likewise.
49762         (setusershell): Likewise.
49763         (initshells): Likewise.
49764         * misc/hsearch.c (__hdestroy): Likewise.
49765         * misc/sync.c (sync): Likewise.
49766         * misc/syslog.c (closelog_internal): Likewise.
49767         (closelog): Likewise.
49768         * misc/ttyslot.c (ttyslot): Likewise.
49769         * misc/vhangup.c (vhangup): Likewise.
49770         * posix/fork.c (__fork): Likewise.
49771         * posix/getegid.c (__getegid): Likewise.
49772         * posix/geteuid.c (__geteuid): Likewise.
49773         * posix/getgid.c (__getgid): Likewise.
49774         * posix/getpid.c (__getpid): Likewise.
49775         * posix/getppid.c (__getppid): Likewise.
49776         * posix/getuid.c (__getuid): Likewise.
49777         * posix/pause.c (pause): Likewise.
49778         * posix/setpgrp.c (setpgrp): Likewise.
49779         * posix/setsid.c (__setsid): Likewise.
49780         * posix/test-vfork.c (noop): Likewise.
49781         * resolv/gethnamaddr.c (_endhtent): Likewise.
49782         (_gethtent): Likewise.
49783         (ht_endhostent): Likewise.
49784         (gethostent): Likewise.
49785         (dns_service): Likewise.
49786         * stdlib/drand48.c (drand48): Likewise.
49787         * stdlib/lrand48.c (lrand48): Likewise.
49788         * stdlib/mrand48.c (mrand48): Likewise.
49789         * stdlib/rand.c (rand): Likewise.
49790         * stdlib/random.c (__random): Likewise.
49791         * stdlib/setenv.c (clearenv): Likewise.
49792         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49793         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49794         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49795         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49796         (__get_nprocs): Likewise.
49797         (__get_phys_pages): Likewise.
49798         (__get_avphys_pages): Likewise.
49799         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49800         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49801         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49802         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49803         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49804         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49805         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49806         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49807         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49808         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49809         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49810         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49811         * sysdeps/posix/clock.c (clock): Likewise.
49812         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49813         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49814         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49815         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49816         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49817         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49818         (__get_nprocs_conf): Likewise.
49819         (__get_phys_pages): Likewise.
49820         (__get_avphys_pages): Likewise.
49821         * time/clock.c (clock): Likewise.
49822         * time/tzset.c (__tzname_max): Likewise.
49824 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49826         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49827         (__bswap_32): Do not use "register".
49828         * crypt/crypt.c (_ufc_doit_r): Likewise.
49829         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49830         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49831         * gmon/gmon.c (__monstartup): Likewise.
49832         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49833         * hurd/hurdmalloc.c (more_memory): Likewise.
49834         (malloc): Likewise.
49835         (free): Likewise.
49836         (realloc): Likewise.
49837         (malloc_fork_prepare): Likewise.
49838         (malloc_fork_parent): Likewise.
49839         (malloc_fork_child): Likewise.
49840         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49841         (_svcauth_des): Likewise.
49842         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49843         * inet/inet_net.c (inet_network): Likewise.
49844         * inet/inet_netof.c (inet_netof): Likewise.
49845         * inet/rcmd.c (__validuser2_sa): Likewise.
49846         * io/fts.c (fts_open): Likewise.
49847         (fts_load): Likewise.
49848         (fts_close): Likewise.
49849         (fts_read): Likewise.
49850         (fts_children): Likewise.
49851         (fts_build): Likewise.
49852         (fts_stat): Likewise.
49853         (fts_sort): Likewise.
49854         (fts_alloc): Likewise.
49855         (fts_lfree): Likewise.
49856         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49857         (_IO_file_xsgetn): Likewise.
49858         (_IO_file_xsgetn_mmap): Likewise.
49859         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49860         (_IO_cookie_write): Likewise.
49861         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49862         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49863         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49864         * malloc/obstack.c (_obstack_begin): Likewise.
49865         (_obstack_begin_1): Likewise.
49866         (_obstack_newchunk): Likewise.
49867         (_obstack_allocated_p): Likewise.
49868         (obstack_free): Likewise.
49869         (_obstack_memory_used): Likewise.
49870         * misc/getttyent.c (getttynam): Likewise.
49871         (getttyent): Likewise.
49872         (skip): Likewise.
49873         (value): Likewise.
49874         * misc/getusershell.c (initshells): Likewise.
49875         * misc/syslog.c (__vsyslog_chk): Likewise.
49876         * misc/ttyslot.c (ttyslot): Likewise.
49877         * nis/nis_hash.c (__nis_hash): Likewise.
49878         * posix/fnmatch_loop.c (FCT): Likewise.
49879         * posix/getconf.c (print_all): Likewise.
49880         (main): Likewise.
49881         * posix/getopt.c (exchange): Likewise.
49882         * posix/glob.c (globfree): Likewise.
49883         (prefix_array): Likewise.
49884         (__glob_pattern_type): Likewise.
49885         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49886         (NS_GET32): Likewise.
49887         (NS_PUT16): Likewise.
49888         (NS_PUT32): Likewise.
49889         * resolv/gethnamaddr.c (getanswer): Likewise.
49890         (gethostbyname2): Likewise.
49891         (gethostbyaddr): Likewise.
49892         (_gethtent): Likewise.
49893         (_gethtbyname2): Likewise.
49894         (_gethtbyaddr): Likewise.
49895         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49896         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49897         * resolv/res_init.c (__res_vinit): Likewise.
49898         (net_mask): Likewise.
49899         * resolv/res_mkquery.c (outchar): Likewise.
49900         (PRINT): Likewise.
49901         * stdio-common/printf_fp.c (outchar): Likewise.
49902         (PRINT): Likewise.
49903         * stdio-common/printf_fphex.c (outchar): Likewise.
49904         (PRINT): Likewise.
49905         * stdio-common/printf_size.c (outchar): Likewise.
49906         (PRINT): Likewise.
49907         * stdio-common/test_rdwr.c (main): Likewise.
49908         * stdio-common/tfformat.c (matches): Likewise.
49909         * stdio-common/vfprintf.c (outchar): Likewise.
49910         (printf_unknown): Likewise.
49911         (buffered_vfprintf): Likewise.
49912         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49913         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49914         (ReadFile): Likewise.
49915         * stdlib/qsort.c (SWAP): Likewise.
49916         (_quicksort): Likewise.
49917         * stdlib/setenv.c (__add_to_environ): Likewise.
49918         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49919         * stdlib/strtol_l.c (__strtol_l): Likewise.
49920         * stdlib/tst-strtod.c (main): Likewise.
49921         * stdlib/tst-strtol.c (main): Likewise.
49922         * stdlib/tst-strtoll.c (main): Likewise.
49923         * string/bits/string2.h (__strcmp_cc): Likewise.
49924         (__strcmp_cg): Likewise.
49925         (__strcspn_c1): Likewise.
49926         (__strcspn_c2): Likewise.
49927         (__strcspn_c3): Likewise.
49928         (__strspn_c1): Likewise.
49929         (__strspn_c2): Likewise.
49930         (__strspn_c3): Likewise.
49931         (__strsep_1c): Likewise.
49932         (__strsep_2c): Likewise.
49933         (__strsep_3c): Likewise.
49934         * string/memccpy.c (__memccpy): Likewise.
49935         * string/stpcpy.c (__stpcpy): Likewise.
49936         * string/strcmp.c (strcmp): Likewise.
49937         * string/strrchr.c (strrchr): Likewise.
49938         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49939         Likewise.
49940         * sysdeps/mach/hurd/getcwd.c
49941         (_hurd_canonicalize_directory_name_internal): Likewise.
49942         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49943         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49944         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49945         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49946         Likewise, in both definitions.
49947         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49948         definitions.
49949         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49950         64] (__bswap_64): Likewise.
49951         * time/test_time.c (main): Likewise.
49952         * time/tzfile.c (__tzfile_read): Likewise.
49953         (__tzfile_compute): Likewise.
49954         * time/tzset.c (__tzset_parse_tz): Likewise.
49955         (tzset_internal): Likewise.
49956         (compute_change): Likewise.
49957         * wcsmbs/wcscat.c (__wcscat): Likewise.
49958         * wcsmbs/wcschr.c (wcschr): Likewise.
49959         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49960         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49961         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49962         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49963         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49964         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49965         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49966         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49967         * wcsmbs/wmemset.c (wmemset): Likewise.
49969 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49971         * scripts/config.guess: Update to version 2013-05-16.
49972         * scripts/config.sub: Update to version 2013-04-24.
49973         * scripts/install-sh: Update to version 2011-11-20.07.
49974         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49975         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49977 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49979         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49980         * elf/sln.c: Likewise.
49981         * hurd/hurd/ioctl.h: Likewise.
49982         * hurd/hurdmalloc.c: Likewise.
49983         * hurd/xattr.c: Likewise.
49984         * include/shlib-compat.h: Likewise.
49985         * inet/ruserpass.c: Likewise.
49986         * libio/iofgets_u.c: Likewise.
49987         * libio/iofgetws_u.c: Likewise.
49988         * locale/programs/ld-identification.c: Likewise.
49989         * locale/programs/ld-time.c: Likewise.
49990         * mach/msg-destroy.c: Likewise.
49991         * nss/nss_files/files-netgrp.c: Likewise.
49992         * resolv/res_data.c: Likewise.
49993         * soft-fp/op-1.h: Likewise.
49994         * soft-fp/op-2.h: Likewise.
49995         * soft-fp/op-4.h: Likewise.
49996         * soft-fp/op-common.h: Likewise.
49997         * stdio-common/printf_fphex.c: Likewise.
49998         * stdlib/strtod_l.c: Likewise.
49999         * sunrpc/rpc/clnt.h: Likewise.
50000         * sysdeps/generic/framestate.c: Likewise.
50001         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50002         * sysdeps/i386/bsd-setjmp.S: Likewise.
50003         * sysdeps/i386/__longjmp.S: Likewise.
50004         * sysdeps/i386/setjmp.S: Likewise.
50005         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50006         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50007         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50008         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50009         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50010         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50011         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50012         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50013         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50014         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50015         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50016         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50017         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50018         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50019         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50020         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50021         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50022         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50023         * sysdeps/ieee754/support.c: Likewise.
50024         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50025         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50026         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50027         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50028         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50029         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50030         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50031         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50032         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50033         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50034         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50035         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50036         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50037         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50038         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50039         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50040         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50043 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50045         * posix/transbug.c: Remove executable mode.
50047 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50049         * crypt/speeds.c: Remove trailing whitespace.
50050         * dlfcn/default.c: Likewise.
50051         * elf/ifuncdep2.c: Likewise.
50052         * elf/ifuncmain1.c: Likewise.
50053         * elf/ifuncmain1vis.c: Likewise.
50054         * elf/testobj.h: Likewise.
50055         * elf/tst-stackguard1.c: Likewise.
50056         * gmon/sys/gmon.h: Likewise.
50057         * hurd/hurdmsg.c: Likewise.
50058         * hurd/new-fd.c: Likewise.
50059         * hurd/ports-get.c: Likewise.
50060         * iconvdata/ibm1008_420.c: Likewise.
50061         * inet/tst-getni1.c: Likewise.
50062         * inet/tst-getni2.c: Likewise.
50063         * libio/ioungetc.c: Likewise.
50064         * libio/wfiledoalloc.c: Likewise.
50065         * manual/libm-err-tab.pl: Likewise.
50066         * math/w_dremf.c: Likewise.
50067         * misc/ftruncate.c: Likewise.
50068         * posix/bug-glob2.c: Likewise.
50069         * posix/tst-pcre.c: Likewise.
50070         * posix/wait4.c: Likewise.
50071         * resolv/README: Likewise.
50072         * resolv/res_debug.h: Likewise.
50073         * resolv/tst-inet_ntop.c: Likewise.
50074         * setjmp/bug269-setjmp.c: Likewise.
50075         * soft-fp/extended.h: Likewise.
50076         * soft-fp/op-1.h: Likewise.
50077         * soft-fp/op-2.h: Likewise.
50078         * soft-fp/op-4.h: Likewise.
50079         * soft-fp/op-8.h: Likewise.
50080         * soft-fp/testit.c: Likewise.
50081         * stdio-common/bug16.c: Likewise.
50082         * stdlib/random.c: Likewise.
50083         * sunrpc/rpcsvc/rquota.x: Likewise.
50084         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50085         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50086         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50087         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50088         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50089         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50090         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50091         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50092         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50093         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50094         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50095         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50096         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50097         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50098         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50099         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50100         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50101         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50102         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50103         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50104         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50105         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50106         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50107         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50108         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50109         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50110         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50111         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50112         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50113         * sysdeps/ieee754/s_lib_version.c: Likewise.
50114         * sysdeps/mach/hurd/check_fds.c: Likewise.
50115         * sysdeps/mach/hurd/getsockname.c: Likewise.
50116         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50117         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50118         * sysdeps/powerpc/bits/link.h: Likewise.
50119         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50120         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50121         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50122         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50123         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50124         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50125         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50126         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50127         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50128         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50129         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50130         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50131         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50132         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50133         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50134         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50135         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50136         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50137         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50138         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50139         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50140         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50141         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50142         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50143         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50144         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50145         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50146         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50147         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50148         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50149         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50150         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50151         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50152         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50153         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50154         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50155         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50156         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50157         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50158         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50159         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50160         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50161         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50162         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50163         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50164         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50165         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50166         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50167         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50168         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50169         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50170         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50171         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50172         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50173         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50174         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50175         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50176         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50177         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50178         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50179         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50180         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50181         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50182         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50183         * sysdeps/powerpc/sysdep.h: Likewise.
50184         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50185         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50186         * sysdeps/sh/dl-trampoline.S: Likewise.
50187         * sysdeps/sh/memset.S: Likewise.
50188         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50189         * sysdeps/sh/strlen.S: Likewise.
50190         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50191         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50192         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50193         * sysdeps/sparc/sparc32/rem.S: Likewise.
50194         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50195         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50196         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50197         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50198         * sysdeps/sparc/sparc32/urem.S: Likewise.
50199         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50200         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50201         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50202         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50203         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50204         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50205         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50206         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50207         * sysdeps/unix/bsd/times.c: Likewise.
50208         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50209         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50213         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50214         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50215         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50216         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50217         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50218         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50219         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50220         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50221         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50222         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50223         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50224         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50225         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50226         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50227         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50228         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50229         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50230         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50231         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50232         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50233         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50234         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50235         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50236         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50237         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50238         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50239         * sysdeps/x86_64/strcspn.S: Likewise.
50241 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50243         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50244         generated file.  Regenerate properly from gen-translit.pl.
50245         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50246         locale/C-translit.h.
50248 2013-06-05  Andreas Schwab  <schwab@suse.de>
50250         [BZ #15100]
50251         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50252         week as 6 instead of -1.
50253         * time/tst-strptime.c (day_tests): Add test case.
50255 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50257         * sysdeps/generic/math_private.h
50258         (libc_feholdexcept_setround_53bit): Replace with
50259         libc_feholdsetround_53bit.
50260         (libc_feupdateenv_53bit): Replace with
50261         libc_feresetround_53bit.
50262         (SET_RESTORE_ROUND_53BIT): Adjust.
50264 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50266         * string/test-strchrnul.c: Add copyright header.
50268         * posix/tst-getaddrinfo4.c: Increase test timeout.
50270 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50272         [BZ #15536]
50273         * math/libm-test.inc (MAX_EXP): Remove
50274         (MIN_EXP): Define.
50275         (ulp): Use MIN_EXP - MANT_DIG.
50276         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50278 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50280         * po/be.po: Revert last change.
50281         * po/zh_CN.po: Likewise.
50282         * po/header.pot: Likewise.
50284 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50286         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50287         link-libc-deps to empty as target-specific variable.
50288         * Makerules (link-libc-args): New variable.
50289         (libc-for-link): Likewise.
50290         (link-libc-deps): Likewise.
50291         (lib%.so): Depend on $(link-libc-deps).  Link with
50292         $(link-libc-args).
50293         (build-module): Link with $(link-libc-args).
50294         (build-module-asneeded): Likewise.
50295         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50296         list of objects.
50297         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50298         target-specific variable.
50299         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50300         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50301         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50302         libc.
50303         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50304         libc and ld.so.
50305         ($(objpfx)libpcprofile.so): Likewise.
50306         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50307         libc_nonshared.a.
50308         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50309         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50310         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50311         $(link-libc-deps).
50312         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50313         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50314         * login/Makefile ($(objpfx)libutil.so): Likewise.
50315         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50316         * math/Makefile ($(objpfx)libm.so): Likewise.
50317         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50318         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50319         variable instead of depending directly on libc.
50320         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50321         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50322         $(link-libc-deps).
50323         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50324         libc.
50325         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50326         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50327         ($(objpfx)libanl.so): Likewise.
50328         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50329         ld.so.
50330         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50331         $(link-libc-deps).
50332         * sysdeps/i386/fpu/Makefile: Remove file.
50333         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50334         ($(objpfx)libm.so): Remove dependency on ld.so.
50336 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50338         [BZ # 15553]
50339         * nis/yp_xdr.c (XDRMAXNAME): Define.
50340         (XDRMAXRECORD): Define.
50341         (xdr_domainname): Use XDRMAXNAME.
50342         (xdr_mapname): Likewise.
50343         (xdr_peername): Likewise.
50344         (xdr_keydat): Use XDRMAXRECORD.
50345         (xdr_valdat): Likewise.
50347 2013-05-30  Jeff Law  <law@redhat.com>
50349         [BZ #14256]
50350         * manual/errno.texi (ESTALE): Update to account for more than
50351         just NFS file systems.
50352         * sysdeps/gnu/errlist.c: Regenerated.
50354 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50356         [BZ #15465]
50357         * elf/Makefile (tests): Add tst-null-argv.
50358         (modules-names):  Add tst-null-argv-lib.
50359         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50360         (tst-null-argv-ENV): Set environment for tst-null-argv.
50361         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50362         (RTLD_PROGNAME): New macro.
50363         * elf/tst-null-argv.c: New test case.
50364         * elf/tst-null-argv-lib.c: Library for test case.
50365         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50366         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50367         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50368         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50369         * elf/dl-init.c (call_init): Likewise.
50370         (_dl_init): Likewise.
50371         * elf/dl-load.c (print_search_path): Likewise.
50372         (_dl_map_object): Likewise.
50373         * elf/dl-lookup.c (do_lookup_x): Likewise.
50374         (add_dependency): Likewise.
50375         (_dl_lookup_symbol_x): Likewise.
50376         (_dl_debug_bindings): Likewise.
50377         * elf/dl-open.c (_dl_show_scope): Likewise.
50378         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50379         * elf/dl-version.c (match_symbol): Likewise.
50380         (_dl_check_map_versions): Likewise.
50381         * elf/rtld.c (dl_main): Likewise.
50382         (print_unresolved): Use RTLD_PROGNAME.
50383         (print_missing_version): Likewise.
50384         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50385         (elf_machine_rela): Likewise.
50386         * sysdeps/powerpc/powerpc32/dl-machine.c
50387         (__process_machine_rela): Likewise.
50388         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50389         Likewise.
50390         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50391         Likewise.
50392         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50393         Likewise.
50394         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50395         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50396         Likewise.
50397         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50398         Likewise.
50399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50401 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50403         * po/be.po: Add descriptive title.
50404         * po/zh_CN.po: Likewise.
50405         * po/header.pot: Likewise.
50407 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50409         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50410         error message.
50411         (enlarge_archive): Likewise.
50413 2013-05-28  Ben North  <ben@redfrontdoor.org>
50415         * manual/arith.texi (frexp): It is the magnitude of the return
50416         value which lies in [0.5, 1), not the return value itself.
50418 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50422 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50424         * stdio-common/bug26.c (main): Correct fscanf template.
50426         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50427         declare _dl_skip_args.
50429         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50430         Don't declare.
50432         * manual/platform.texi: Add missing @end deftypefun.
50434 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50436         [BZ #15529]
50437         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50438         bit of mantissa of 2^16382.
50439         * math/libm-test.inc (hypot_test_data): Add more tests.
50441         * math/libm-test.inc: Add drem and pow10 to list of tested
50442         functions.
50443         (pow10_test): New function.
50444         (drem_test): Likewise.
50445         (drem_test_tonearest): Likewise.
50446         (drem_test_towardzero): Likewise.
50447         (drem_test_downward): Likewise.
50448         (drem_test_upward): Likewise.
50449         (main): Call the new functions.
50451         * math/libm-test.inc (finite_test_data): Remove.
50452         (finite_test): Run tests from isfinite_test_data.
50453         (gamma_test_data): Remove.
50454         (gamma_test): Run tests from lgamma_test_data.
50455         * sysdeps/i386/fpu/libm-test-ulps: Update.
50456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50458 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50460         * manual/platform.texi: Add PowerPC PPR function set documentation.
50461         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50462         implementation.
50464 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50466         * math/libm-test.inc (MAX_EXP): Define.
50467         (ULPDIFF): Define.
50468         (ulp): New function.
50469         (check_float_internal): Use ULPDIFF.
50470         (cpow_test): Disable failing test.
50471         (check_ulp): Test ulp() implemetnation.
50472         (main): Call check_ulp before starting tests.
50474 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50476         * math/gen-libm-test.pl (generate_testfile): Do not handle
50477         START_DATA and END_DATA.
50478         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50479         END_DATA.
50480         (acos_tonearest_test_data): Likewise.
50481         (acos_towardzero_test_data): Likewise.
50482         (acos_downward_test_data): Likewise.
50483         (acos_upward_test_data): Likewise.
50484         (acosh_test_data): Likewise.
50485         (asin_test_data): Likewise.
50486         (asin_tonearest_test_data): Likewise.
50487         (asin_towardzero_test_data): Likewise.
50488         (asin_downward_test_data): Likewise.
50489         (asin_upward_test_data): Likewise.
50490         (asinh_test_data): Likewise.
50491         (atan_test_data): Likewise.
50492         (atanh_test_data): Likewise.
50493         (atan2_test_data): Likewise.
50494         (cabs_test_data): Likewise.
50495         (cacos_test_data): Likewise.
50496         (cacosh_test_data): Likewise.
50497         (carg_test_data): Likewise.
50498         (casin_test_data): Likewise.
50499         (casinh_test_data): Likewise.
50500         (catan_test_data): Likewise.
50501         (catanh_test_data): Likewise.
50502         (cbrt_test_data): Likewise.
50503         (ccos_test_data): Likewise.
50504         (ccosh_test_data): Likewise.
50505         (ceil_test_data): Likewise.
50506         (cexp_test_data): Likewise.
50507         (cimag_test_data): Likewise.
50508         (clog_test_data): Likewise.
50509         (clog10_test_data): Likewise.
50510         (conj_test_data): Likewise.
50511         (copysign_test_data): Likewise.
50512         (cos_test_data): Likewise.
50513         (cos_tonearest_test_data): Likewise.
50514         (cos_towardzero_test_data): Likewise.
50515         (cos_downward_test_data): Likewise.
50516         (cos_upward_test_data): Likewise.
50517         (cosh_test_data): Likewise.
50518         (cosh_tonearest_test_data): Likewise.
50519         (cosh_towardzero_test_data): Likewise.
50520         (cosh_downward_test_data): Likewise.
50521         (cosh_upward_test_data): Likewise.
50522         (cpow_test_data): Likewise.
50523         (cproj_test_data): Likewise.
50524         (creal_test_data): Likewise.
50525         (csin_test_data): Likewise.
50526         (csinh_test_data): Likewise.
50527         (csqrt_test_data): Likewise.
50528         (ctan_test_data): Likewise.
50529         (ctan_tonearest_test_data): Likewise.
50530         (ctan_towardzero_test_data): Likewise.
50531         (ctan_downward_test_data): Likewise.
50532         (ctan_upward_test_data): Likewise.
50533         (ctanh_test_data): Likewise.
50534         (ctanh_tonearest_test_data): Likewise.
50535         (ctanh_towardzero_test_data): Likewise.
50536         (ctanh_downward_test_data): Likewise.
50537         (ctanh_upward_test_data): Likewise.
50538         (erf_test_data): Likewise.
50539         (erfc_test_data): Likewise.
50540         (exp_test_data): Likewise.
50541         (exp_tonearest_test_data): Likewise.
50542         (exp_towardzero_test_data): Likewise.
50543         (exp_downward_test_data): Likewise.
50544         (exp_upward_test_data): Likewise.
50545         (exp10_test_data): Likewise.
50546         (exp2_test_data): Likewise.
50547         (expm1_test_data): Likewise.
50548         (fabs_test_data): Likewise.
50549         (fdim_test_data): Likewise.
50550         (finite_test_data): Likewise.
50551         (floor_test_data): Likewise.
50552         (fma_test_data): Likewise.
50553         (fma_towardzero_test_data): Likewise.
50554         (fma_downward_test_data): Likewise.
50555         (fma_upward_test_data): Likewise.
50556         (fmax_test_data): Likewise.
50557         (fmin_test_data): Likewise.
50558         (fmod_test_data): Likewise.
50559         (fpclassify_test_data): Likewise.
50560         (frexp_test_data): Likewise.
50561         (gamma_test_data): Likewise.
50562         (hypot_test_data): Likewise.
50563         (ilogb_test_data): Likewise.
50564         (isfinite_test_data): Likewise.
50565         (isgreater_test_data): Likewise.
50566         (isgreaterequal_test_data): Likewise.
50567         (isinf_test_data): Likewise.
50568         (isless_test_data): Likewise.
50569         (islessequal_test_data): Likewise.
50570         (islessgreater_test_data): Likewise.
50571         (isnan_test_data): Likewise.
50572         (isnormal_test_data): Likewise.
50573         (issignaling_test_data): Likewise.
50574         (isunordered_test_data): Likewise.
50575         (j0_test_data): Likewise.
50576         (j1_test_data): Likewise.
50577         (jn_test_data): Likewise.
50578         (ldexp_test_data): Likewise.
50579         (lgamma_test_data): Likewise.
50580         (lrint_test_data): Likewise.
50581         (lrint_tonearest_test_data): Likewise.
50582         (lrint_towardzero_test_data): Likewise.
50583         (lrint_downward_test_data): Likewise.
50584         (lrint_upward_test_data): Likewise.
50585         (llrint_test_data): Likewise.
50586         (llrint_tonearest_test_data): Likewise.
50587         (llrint_towardzero_test_data): Likewise.
50588         (llrint_downward_test_data): Likewise.
50589         (llrint_upward_test_data): Likewise.
50590         (log_test_data): Likewise.
50591         (log10_test_data): Likewise.
50592         (log1p_test_data): Likewise.
50593         (log2_test_data): Likewise.
50594         (logb_test_data): Likewise.
50595         (logb_downward_test_data): Likewise.
50596         (lround_test_data): Likewise.
50597         (llround_test_data): Likewise.
50598         (modf_test_data): Likewise.
50599         (nearbyint_test_data): Likewise.
50600         (nextafter_test_data): Likewise.
50601         (nexttoward_test_data): Likewise.
50602         (pow_test_data): Likewise.
50603         (pow_tonearest_test_data): Likewise.
50604         (pow_towardzero_test_data): Likewise.
50605         (pow_downward_test_data): Likewise.
50606         (pow_upward_test_data): Likewise.
50607         (remainder_test_data): Likewise.
50608         (remainder_tonearest_test_data): Likewise.
50609         (remainder_towardzero_test_data): Likewise.
50610         (remainder_downward_test_data): Likewise.
50611         (remainder_upward_test_data): Likewise.
50612         (remquo_test_data): Likewise.
50613         (rint_test_data): Likewise.
50614         (rint_tonearest_test_data): Likewise.
50615         (rint_towardzero_test_data): Likewise.
50616         (rint_downward_test_data): Likewise.
50617         (rint_upward_test_data): Likewise.
50618         (round_test_data): Likewise.
50619         (scalb_test_data): Likewise.
50620         (scalbn_test_data): Likewise.
50621         (scalbln_test_data): Likewise.
50622         (signbit_test_data): Likewise.
50623         (sin_test_data): Likewise.
50624         (sin_tonearest_test_data): Likewise.
50625         (sin_towardzero_test_data): Likewise.
50626         (sin_downward_test_data): Likewise.
50627         (sin_upward_test_data): Likewise.
50628         (sincos_test_data): Likewise.
50629         (sinh_test_data): Likewise.
50630         (sinh_tonearest_test_data): Likewise.
50631         (sinh_towardzero_test_data): Likewise.
50632         (sinh_downward_test_data): Likewise.
50633         (sinh_upward_test_data): Likewise.
50634         (sqrt_test_data): Likewise.
50635         (tan_test_data): Likewise.
50636         (tan_tonearest_test_data): Likewise.
50637         (tan_towardzero_test_data): Likewise.
50638         (tan_downward_test_data): Likewise.
50639         (tan_upward_test_data): Likewise.
50640         (tanh_test_data): Likewise.
50641         (tgamma_test_data): Likewise.
50642         (trunc_test_data): Likewise.
50643         (y0_test_data): Likewise.
50644         (y1_test_data): Likewise.
50645         (yn_test_data): Likewise.
50646         (significand_test_data): Likewise.
50648         * math/gen-libm-test.pl (@functions): Remove variable.
50649         (generate_testfile): Don't handle START and END lines.
50650         * math/libm-test.inc (START): New macro.
50651         (END): Likewise.
50652         (END_COMPLEX): Likewise.
50653         (acos_test): Use END macro without arguments.
50654         (acos_test_tonearest): Likewise.
50655         (acos_test_towardzero): Likewise.
50656         (acos_test_downward): Likewise.
50657         (acos_test_upward): Likewise.
50658         (acosh_test): Likewise.
50659         (asin_test): Likewise.
50660         (asin_test_tonearest): Likewise.
50661         (asin_test_towardzero): Likewise.
50662         (asin_test_downward): Likewise.
50663         (asin_test_upward): Likewise.
50664         (asinh_test): Likewise.
50665         (atan_test): Likewise.
50666         (atanh_test): Likewise.
50667         (atan2_test): Likewise.
50668         (cabs_test): Likewise.
50669         (cacos_test): Use END_COMPLEX macro without arguments.
50670         (cacosh_test): Likewise.
50671         (carg_test): Use END macro without arguments.
50672         (casin_test): Use END_COMPLEX macro without arguments.
50673         (casinh_test): Likewise.
50674         (catan_test): Likewise.
50675         (catanh_test): Likewise.
50676         (cbrt_test): Use END macro without arguments.
50677         (ccos_test): Use END_COMPLEX macro without arguments.
50678         (ccosh_test): Likewise.
50679         (ceil_test): Use END macro without arguments.
50680         (cexp_test): Use END_COMPLEX macro without arguments.
50681         (cimag_test): Use END macro without arguments.
50682         (clog_test): Use END_COMPLEX macro without arguments.
50683         (clog10_test): Likewise.
50684         (conj_test): Likewise.
50685         (copysign_test): Use END macro without arguments.
50686         (cos_test): Likewise.
50687         (cos_test_tonearest): Likewise.
50688         (cos_test_towardzero): Likewise.
50689         (cos_test_downward): Likewise.
50690         (cos_test_upward): Likewise.
50691         (cosh_test): Likewise.
50692         (cosh_test_tonearest): Likewise.
50693         (cosh_test_towardzero): Likewise.
50694         (cosh_test_downward): Likewise.
50695         (cosh_test_upward): Likewise.
50696         (cpow_test): Use END_COMPLEX macro without arguments.
50697         (cproj_test): Likewise.
50698         (creal_test): Use END macro without arguments.
50699         (csin_test): Use END_COMPLEX macro without arguments.
50700         (csinh_test): Likewise.
50701         (csqrt_test): Likewise.
50702         (ctan_test): Likewise.
50703         (ctan_test_tonearest): Likewise.
50704         (ctan_test_towardzero): Likewise.
50705         (ctan_test_downward): Likewise.
50706         (ctan_test_upward): Likewise.
50707         (ctanh_test): Likewise.
50708         (ctanh_test_tonearest): Likewise.
50709         (ctanh_test_towardzero): Likewise.
50710         (ctanh_test_downward): Likewise.
50711         (ctanh_test_upward): Likewise.
50712         (erf_test): Use END macro without arguments.
50713         (erfc_test): Likewise.
50714         (exp_test): Likewise.
50715         (exp_test_tonearest): Likewise.
50716         (exp_test_towardzero): Likewise.
50717         (exp_test_downward): Likewise.
50718         (exp_test_upward): Likewise.
50719         (exp10_test): Likewise.
50720         (exp2_test): Likewise.
50721         (expm1_test): Likewise.
50722         (fabs_test): Likewise.
50723         (fdim_test): Likewise.
50724         (finite_test): Likewise.
50725         (floor_test): Likewise.
50726         (fma_test): Likewise.
50727         (fma_test_towardzero): Likewise.
50728         (fma_test_downward): Likewise.
50729         (fma_test_upward): Likewise.
50730         (fmax_test): Likewise.
50731         (fmin_test): Likewise.
50732         (fmod_test): Likewise.
50733         (fpclassify_test): Likewise.
50734         (frexp_test): Likewise.
50735         (gamma_test): Likewise.
50736         (hypot_test): Likewise.
50737         (ilogb_test): Likewise.
50738         (isfinite_test): Likewise.
50739         (isgreater_test): Likewise.
50740         (isgreaterequal_test): Likewise.
50741         (isinf_test): Likewise.
50742         (isless_test): Likewise.
50743         (islessequal_test): Likewise.
50744         (islessgreater_test): Likewise.
50745         (isnan_test): Likewise.
50746         (isnormal_test): Likewise.
50747         (issignaling_test): Likewise.
50748         (isunordered_test): Likewise.
50749         (j0_test): Likewise.
50750         (j1_test): Likewise.
50751         (jn_test): Likewise.
50752         (ldexp_test): Likewise.
50753         (lgamma_test): Likewise.
50754         (lrint_test): Likewise.
50755         (lrint_test_tonearest): Likewise.
50756         (lrint_test_towardzero): Likewise.
50757         (lrint_test_downward): Likewise.
50758         (lrint_test_upward): Likewise.
50759         (llrint_test): Likewise.
50760         (llrint_test_tonearest): Likewise.
50761         (llrint_test_towardzero): Likewise.
50762         (llrint_test_downward): Likewise.
50763         (llrint_test_upward): Likewise.
50764         (log_test): Likewise.
50765         (log10_test): Likewise.
50766         (log1p_test): Likewise.
50767         (log2_test): Likewise.
50768         (logb_test): Likewise.
50769         (logb_test_downward): Likewise.
50770         (lround_test): Likewise.
50771         (llround_test): Likewise.
50772         (modf_test): Likewise.
50773         (nearbyint_test): Likewise.
50774         (nextafter_test): Likewise.
50775         (nexttoward_test): Likewise.
50776         (pow_test): Likewise.
50777         (pow_test_tonearest): Likewise.
50778         (pow_test_towardzero): Likewise.
50779         (pow_test_downward): Likewise.
50780         (pow_test_upward): Likewise.
50781         (remainder_test): Likewise.
50782         (remainder_test_tonearest): Likewise.
50783         (remainder_test_towardzero): Likewise.
50784         (remainder_test_downward): Likewise.
50785         (remainder_test_upward): Likewise.
50786         (remquo_test): Likewise.
50787         (rint_test): Likewise.
50788         (rint_test_tonearest): Likewise.
50789         (rint_test_towardzero): Likewise.
50790         (rint_test_downward): Likewise.
50791         (rint_test_upward): Likewise.
50792         (round_test): Likewise.
50793         (scalb_test): Likewise.
50794         (scalbn_test): Likewise.
50795         (scalbln_test): Likewise.
50796         (signbit_test): Likewise.
50797         (sin_test): Likewise.
50798         (sin_test_tonearest): Likewise.
50799         (sin_test_towardzero): Likewise.
50800         (sin_test_downward): Likewise.
50801         (sin_test_upward): Likewise.
50802         (sincos_test): Likewise.
50803         (sinh_test): Likewise.
50804         (sinh_test_tonearest): Likewise.
50805         (sinh_test_towardzero): Likewise.
50806         (sinh_test_downward): Likewise.
50807         (sinh_test_upward): Likewise.
50808         (sqrt_test): Likewise.
50809         (tan_test): Likewise.
50810         (tan_test_tonearest): Likewise.
50811         (tan_test_towardzero): Likewise.
50812         (tan_test_downward): Likewise.
50813         (tan_test_upward): Likewise.
50814         (tanh_test): Likewise.
50815         (tgamma_test): Likewise.
50816         (trunc_test): Likewise.
50817         (y0_test): Likewise.
50818         (y1_test): Likewise.
50819         (yn_test): Likewise.
50820         (significand_test): Likewise.
50822 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50824         [BZ #15381]
50825         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50827 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50829         [BZ #14894]
50830         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50831         __ppc_mdoio and __ppc_mdoom.
50832         * manual/platform.texi: Document new functions __ppc_yield,
50833         __ppc_mdoio and __ppc_mdoom.
50835 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50837         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50838         (main): Mention "tls" pseudo-hwcap is legacy.
50839         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50841 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50843         * math/gen-libm-test.pl (parse_args): Output only string of
50844         arguments as text for test name, not full call or descriptions of
50845         tests for extra outputs.
50846         (generate_testfile): Do not pass function name to parse_args.
50847         Generate this_func variable from START.
50848         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50849         field to arg_str.
50850         (struct test_ff_f_data): Likewise.
50851         (test_ff_f_data_nexttoward): Likewise.
50852         (struct test_fi_f_data): Likewise.
50853         (struct test_fl_f_data): Likewise.
50854         (struct test_if_f_data): Likewise.
50855         (struct test_fff_f_data): Likewise.
50856         (struct test_c_f_data): Likewise.
50857         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50858         (struct test_fF_f1_data): Likewise.
50859         (struct test_ffI_f1_data): Likewise.
50860         (struct test_c_c_data): Rename test_name field to arg_str.
50861         (struct test_cc_c_data): Likewise.
50862         (struct test_f_i_data): Likewise.
50863         (struct test_ff_i_data): Likewise.
50864         (struct test_f_l_data): Likewise.
50865         (struct test_f_L_data): Likewise.
50866         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50867         and extra2_name.
50868         (COMMON_TEST_SETUP): New macro.
50869         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50870         (COMMON_TEST_CLEANUP): Likewise.
50871         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50872         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50873         macros.
50874         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50875         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50876         macros.
50877         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50878         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50879         cleanup macros.
50880         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50881         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50882         macros.
50883         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50884         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50885         macros.
50886         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50887         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50888         cleanup macros.
50889         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50890         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50891         cleanup macros.
50892         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50893         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50894         cleanup macros.
50895         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50896         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50897         macros.
50898         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50899         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50900         macros.
50901         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50902         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50903         macros.
50904         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50905         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50906         cleanup macros.
50907         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50908         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50909         cleanup macros.
50910         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50911         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50912         macros.
50913         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50914         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50915         cleanup macros.
50916         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50917         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50918         macros.
50919         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50920         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50921         macros.
50922         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50923         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50924         cleanup macros.
50925         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50927 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50929         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50930         to _sifields.sigfault.
50931         (si_addr_lsb): Define new macro.
50932         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50933         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50934         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50936 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50938         [BZ #15441]
50939         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50940         returns -1.
50941         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50942         null return -1.
50943         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50944         loading the domain.
50946 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50948         * math/gen-libm-test.pl (parse_args): Do not include expected
50949         result in test name.
50950         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50951         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50952         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50953         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50954         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50957 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50959         * benchtests/Makefile: Sort function entries.
50961         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50962         tanh, asinh, acosh, atanh.
50963         * benchtests/acos-inputs: New file.
50964         * benchtests/acosh-inputs: New file.
50965         * benchtests/asin-inputs: New file.
50966         * benchtests/asinh-inputs: New file.
50967         * benchtests/atanh-inputs: New file.
50968         * benchtests/cosh-inputs: New file.
50969         * benchtests/log-inputs: New file.
50970         * benchtests/sinh-inputs: New file.
50971         * benchtests/tanh-inputs: New file.
50973 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50975         [BZ #15339]
50976         * posix/tst-getaddrinfo4.c: New test.
50977         * posix/Makefile (tests): Add it.
50979 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50981         [BZ #15339]
50982         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50983         when no services were used.
50984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50985         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50987 2013-05-21  Andreas Schwab  <schwab@suse.de>
50989         [BZ #15014]
50990         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50991         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50992         successful.
50993         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50994         redundant variable declarations and reallocation of buffer when
50995         parsing as IPv6 address.  Always set NSS status when called from
50996         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50997         buffer too small.  Correct computation of needed size.
50998         * nss/Makefile (tests): Add test-digits-dots.
50999         * nss/test-digits-dots.c: New test.
51001 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51003         * benchtests/Makefile: Remove instructions for adding
51004         benchmark tests.
51005         * benchtests/README: New file to explain how to execute and
51006         enhance the benchmark tests.
51008 2013-05-21  Andreas Schwab  <schwab@suse.de>
51010         [BZ #15493]
51011         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51012         * setjmp/tst-sigsetjmp.c: New test.
51014 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51016         * sysdeps/x86_64/memset.S (memset): New implementation.
51017         (__bzero): Likewise.
51018         (__memset_tail): New function.
51020 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51022         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51023         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51024         __memcpy_sse2_unaligned ifunc selection.
51025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51026         Add memcpy-sse2-unaligned.S.
51027         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51028         Add: __memcpy_sse2_unaligned.
51030 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51032         [BZ #15490]
51033         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51034         math_force_eval before restoring floating-point envrionment.
51035         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51036         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51037         Likewise.
51038         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51039         <math_private.h>.
51040         (__nearbyintl): Use math_force_eval before restoring
51041         floating-point environment.
51042         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51044         * math/gen-libm-test.pl (special_functions): Remove.
51045         (parse_args): Don't handle TEST_extra.  Handle functions with no
51046         return value.
51047         * math/libm-test.inc (struct test_sincos_data): Replace with
51048         struct test_fFF_11_data.
51049         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51050         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51051         (sincos_test_data): Change element type to struct
51052         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51053         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51054         RUN_TEST_LOOP_sincos.
51055         * math/README.libm-test: Don't mention special handling of
51056         individual functions.
51057         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51058         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51059         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51060         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51061         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51064         * math/gen-libm-test.pl (get_variable): Remove function.
51065         (parse_args): Don't show pointer parameters to call in test
51066         names.  Use "extra output N" in test names for extra outputs
51067         rather than naming variables.
51069 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51071         [BZ #15488]
51072         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51073         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51074         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51075         double tests.
51076         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51077         disable.
51078         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51079         check_long_double.
51081         * math/gen-libm-test.pl (@tests): Remove variable.
51082         ($count): Likewise.
51083         (new_test): Remove function.
51084         (show_exceptions): New function.
51085         (special_functions): Use show_exceptions instead of new_test.
51086         (parse_args): Likewise.
51087         (generate_testfile): Pass only function name in generated call to
51088         print_max_error or print_complex_max_error.
51089         (get_ulps): Do not handle complex tests specially.
51090         (output_test): Rename to ...
51091         (get_all_ulps_for_test): ... this.  Return a string rather than
51092         printing to a file.  Require ulps to be present.
51093         (output_ulps): Generate arrays rather than #defines.
51094         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51095         (struct ulp_data): New type.
51096         (BUILD_COMPLEX_ULP): Remove macro.
51097         (compare_ulp_data): New function.
51098         (find_ulps): Likewise.
51099         (find_test_ulps): Likewise.
51100         (find_function_ulps): Likewise.
51101         (find_complex_function_ulps): Likewise.
51102         (print_max_error): Determine allowed ulps using
51103         find_function_ulps.
51104         (print_complex_max_error): Determine allowed ulps using
51105         find_complex_function_ulps.
51106         (check_float_internal): Determine max ulps using find_test_ulps.
51107         (check_float): Do not take max_ulp parameter.  Update call to
51108         check_float_internal.
51109         (check_complex): Likewise.
51110         (check_int): Do not take max_ulp parameter.
51111         (check_long): Likewise.
51112         (check_bool): Likewise.
51113         (check_longlong): Likewise.
51114         (struct test_f_f_data): Remove max_ulp field.
51115         (struct test_ff_f_data): Likewise.
51116         (struct test_ff_f_data_nexttoward): Likewise.
51117         (struct test_fi_f_data): Likewise.
51118         (struct test_fl_f_data): Likewise.
51119         (struct test_if_f_data): Likewise.
51120         (struct test_fff_f_data): Likewise.
51121         (struct test_c_f_data): Likewise.
51122         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51123         (struct test_fF_f1_data): Likewise.
51124         (struct test_ffI_f1_data): Likewise.
51125         (struct test_c_c_data): Remove max_ulp field.
51126         (struct test_cc_c_data): Likewise.
51127         (struct test_f_i_data): Likewise.
51128         (struct test_ff_i_data): Likewise.
51129         (struct test_f_l_data): Likewise.
51130         (struct test_f_L_data): Likewise.
51131         (struct test_sincos_data): Likewise.
51132         (RUN_TEST_f_f): Do not handle ulps.
51133         (RUN_TEST_LOOP_f_f): Likewise.
51134         (RUN_TEST_2_f): Likewise.
51135         (RUN_TEST_LOOP_2_f): Likewise.
51136         (RUN_TEST_fff_f): Likewise.
51137         (RUN_TEST_LOOP_fff_f): Likewise.
51138         (RUN_TEST_c_f): Likewise.
51139         (RUN_TEST_LOOP_c_f): Likewise.
51140         (RUN_TEST_f_f1): Likewise.
51141         (RUN_TEST_LOOP_f_f1): Likewise.
51142         (RUN_TEST_fF_f1): Likewise.
51143         (RUN_TEST_LOOP_fF_f1): Likewise.
51144         (RUN_TEST_fI_f1): Likewise.
51145         (RUN_TEST_LOOP_fI_f1): Likewise.
51146         (RUN_TEST_ffI_f1): Likewise.
51147         (RUN_TEST_LOOP_ffI_f1): Likewise.
51148         (RUN_TEST_c_c): Likewise.
51149         (RUN_TEST_LOOP_c_c): Likewise.
51150         (RUN_TEST_cc_c): Likewise.
51151         (RUN_TEST_LOOP_cc_c): Likewise.
51152         (RUN_TEST_f_i): Likewise.
51153         (RUN_TEST_LOOP_f_i): Likewise.
51154         (RUN_TEST_f_i_tg): Likewise.
51155         (RUN_TEST_LOOP_f_i_tg): Likewise.
51156         (RUN_TEST_ff_i_tg): Likewise.
51157         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51158         (RUN_TEST_f_b): Likewise.
51159         (RUN_TEST_LOOP_f_b): Likewise.
51160         (RUN_TEST_f_b_tg): Likewise.
51161         (RUN_TEST_LOOP_f_b_tg): Likewise.
51162         (RUN_TEST_f_l): Likewise.
51163         (RUN_TEST_LOOP_f_l): Likewise.
51164         (RUN_TEST_f_L): Likewise.
51165         (RUN_TEST_LOOP_f_L): Likewise.
51166         (RUN_TEST_sincos): Likewise.
51167         (RUN_TEST_LOOP_sincos): Likewise.
51169 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51171         [BZ #15480]
51172         [BZ #15485]
51173         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51174         main case of finite arguments, set rounding mode to FE_TONEAREST
51175         and discard exceptions.
51176         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51177         exceptions.
51178         (remainder_tonearest_test_data): New variable.
51179         (remainder_test_tonearest): New function.
51180         (remainder_towardzero_test_data): New variable.
51181         (remainder_test_towardzero): New function.
51182         (remainder_downward_test_data): New variable.
51183         (remainder_test_downward): New function.
51184         (remainder_upward_test_data): New variable.
51185         (remainder_test_upward): New function.
51186         (main): Call the new test functions.
51188         * math/libm-test.inc (struct test_f_f1_data): Remove field
51189         extra_init.
51190         (struct test_fF_f1_data): Likewise.
51191         (struct test_ffI_f1_data): Likewise.
51192         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51193         based on value of EXTRA_EXPECTED.
51194         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51195         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51196         EXTRA_VAR based on value of EXTRA_EXPECTED.
51197         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51198         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51199         EXTRA_VAR based on value of EXTRA_EXPECTED.
51200         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51201         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51202         EXTRA_VAR based on value of EXTRA_EXPECTED.
51203         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51204         * math/gen-libm-test.pl (parse_args): Don't output initializers
51205         for extra output values.
51207         * math/libm-test.inc (check_int): Expect result to be exactly
51208         equal to expected value and do not handle ulps.
51209         (check_long): Likewise.
51210         (check_longlong): Likewise.
51212         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51213         exceptions.
51214         (cimag_test_data): Likewise.
51215         (conj_test_data): Likewise.
51216         (copysign_test_data): Likewise.
51217         (cproj_test_data): Likewise.
51218         (creal_test_data): Likewise.
51219         (fabs_test_data): Likewise.
51220         (fdim_test_data): Likewise.
51221         (finite_test_data): Likewise.
51222         (floor_test_data): Likewise.
51223         (fmax_test_data): Likewise.
51224         (fmin_test_data): Likewise.
51225         (fmod_test_data): Likewise.
51226         (fpclassify_test_data): Likewise.
51227         (frexp_test_data): Likewise.
51228         (ilogb_test_data): Likewise.
51229         (isfinite_test_data): Likewise.
51230         (isgreater_test_data): Likewise.
51231         (isgreaterequal_test_data): Likewise.
51232         (isinf_test_data): Likewise.
51233         (isless_test_data): Likewise.
51234         (islessequal_test_data): Likewise.
51235         (islessgreater_test_data): Likewise.
51236         (isnan_test_data): Likewise.
51237         (isnormal_test_data): Likewise.
51238         (issignaling_test_data): Likewise.
51239         (isunordered_test_data): Likewise.
51240         (ldexp_test_data): Likewise.
51241         (lrint_test_data): Likewise.
51242         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51243         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51244         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51245         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51246         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51247         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51248         test input.
51249         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51250         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51251         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51252         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51253         that test input.
51254         (lrint_downward_test_data): Test for "inexact" exceptions.
51255         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51256         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51257         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51258         test input.
51259         (lrint_upward_test_data): Test for "inexact" exceptions.
51260         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51261         test input.
51262         (llrint_test_data): Test for "inexact" exceptions.
51263         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51264         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51265         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51266         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51267         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51268         (llrint_downward_test_data): Test for "inexact" exceptions.
51269         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51270         (llrint_upward_test_data): Test for "inexact" exceptions.
51271         (logb_test_data): Likewise.
51272         (logb_downward_test_data): Likewise.
51273         (nextafter_test_data): Likewise.
51274         (nexttoward_test_data): Likewise.
51275         (remainder_test_data): Likewise.
51276         (remquo_test_data): Likewise.
51277         (scalbn_test_data): Likewise.
51278         (scalbln_test_data): Likewise.
51279         (signbit_test_data): Likewise.
51280         (sqrt_test_data): Likewise.
51281         (significand_test_data): Likewise.
51283 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51285         [BZ #15424]
51286         * benchtests/bench-modf.c (struct args): Mark arg0 as
51287         volatile.
51288         * scripts/bench.pl: Mark members of struct args as volatile.
51290 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51292         [BZ # 15497]
51293         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51294         negative infinity on POWER6 or lower.
51295         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51297 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51299         [BZ #15442]
51300         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51301         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51302         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51303         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51304         (_FP_SETQNAN): New macro.
51305         (_FP_SETQNAN_SEMIRAW): Likewise.
51306         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51307         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51308         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51309         (FP_EXTEND): Use _FP_FRAC_SNANP.
51310         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51311         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51312         into account.
51313         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51314         New macro.
51315         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51316         Likewise.
51318 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51320         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51321         with DIVIDE_BY_ZERO_EXCEPTION.
51322         (gamma_test_data): Likewise.
51323         (lgamma_test_data): Likewise.
51324         (log_test_data): Likewise.
51325         (log10_test_data): Likewise.
51326         (log2_test_data): Likewise.
51327         (tgamma_test_data): Likewise.
51329         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51330         (acos_test_tonearest): Likewise.
51331         (acos_test_towardzero): Likewise.
51332         (acos_test_downward): Likewise.
51333         (acos_test_upward): Likewise.
51334         (acosh_test): Likewise.
51335         (asin_test): Likewise.
51336         (asin_test_tonearest): Likewise.
51337         (asin_test_towardzero): Likewise.
51338         (asin_test_downward): Likewise.
51339         (asin_test_upward): Likewise.
51340         (asinh_test): Likewise.
51341         (atan_test): Likewise.
51342         (atanh_test): Likewise.
51343         (atan2_test): Likewise.
51344         (cabs_test): Likewise.
51345         (cacos_test): Likewise.
51346         (cacosh_test): Likewise.
51347         (casin_test): Likewise.
51348         (casinh_test): Likewise.
51349         (catan_test): Likewise.
51350         (catanh_test): Likewise.
51351         (cbrt_test): Likewise.
51352         (ccos_test): Likewise.
51353         (ccosh_test): Likewise.
51354         (cexp_test): Likewise.
51355         (clog_test): Likewise.
51356         (clog10_test): Likewise.
51357         (cos_test): Likewise.
51358         (cos_test_tonearest): Likewise.
51359         (cos_test_towardzero): Likewise.
51360         (cos_test_downward): Likewise.
51361         (cos_test_upward): Likewise.
51362         (cosh_test): Likewise.
51363         (cosh_test_tonearest): Likewise.
51364         (cosh_test_towardzero): Likewise.
51365         (cosh_test_downward): Likewise.
51366         (cosh_test_upward): Likewise.
51367         (cpow_test): Likewise.
51368         (csin_test): Likewise.
51369         (csinh_test): Likewise.
51370         (csqrt_test): Likewise.
51371         (ctan_test): Likewise.
51372         (ctan_test_tonearest): Likewise.
51373         (ctan_test_towardzero): Likewise.
51374         (ctan_test_downward): Likewise.
51375         (ctan_test_upward): Likewise.
51376         (ctanh_test): Likewise.
51377         (ctanh_test_tonearest): Likewise.
51378         (ctanh_test_towardzero): Likewise.
51379         (ctanh_test_downward): Likewise.
51380         (ctanh_test_upward): Likewise.
51381         (erf_test): Likewise.
51382         (erfc_test): Likewise.
51383         (exp_test): Likewise.
51384         (exp_test_tonearest): Likewise.
51385         (exp_test_towardzero): Likewise.
51386         (exp_test_downward): Likewise.
51387         (exp_test_upward): Likewise.
51388         (exp10_test): Likewise.
51389         (exp2_test): Likewise.
51390         (expm1_test): Likewise.
51391         (fmod_test): Likewise.
51392         (gamma_test): Likewise.
51393         (hypot_test): Likewise.
51394         (j0_test): Likewise.
51395         (j1_test): Likewise.
51396         (jn_test): Likewise.
51397         (lgamma_test): Likewise.
51398         (log_test): Likewise.
51399         (log10_test): Likewise.
51400         (log1p_test): Likewise.
51401         (log2_test): Likewise.
51402         (logb_test_downward): Likewise.
51403         (pow_test): Likewise.
51404         (pow_test_tonearest): Likewise.
51405         (pow_test_towardzero): Likewise.
51406         (pow_test_downward): Likewise.
51407         (pow_test_upward): Likewise.
51408         (remainder_test): Likewise.
51409         (remquo_test): Likewise.
51410         (sin_test): Likewise.
51411         (sin_test_tonearest): Likewise.
51412         (sin_test_towardzero): Likewise.
51413         (sin_test_downward): Likewise.
51414         (sin_test_upward): Likewise.
51415         (sincos_test): Likewise.
51416         (sinh_test): Likewise.
51417         (sinh_test_tonearest): Likewise.
51418         (sinh_test_towardzero): Likewise.
51419         (sinh_test_downward): Likewise.
51420         (sinh_test_upward): Likewise.
51421         (sqrt_test): Likewise.
51422         (tan_test): Likewise.
51423         (tan_test_tonearest): Likewise.
51424         (tan_test_towardzero): Likewise.
51425         (tan_test_downward): Likewise.
51426         (tan_test_upward): Likewise.
51427         (tanh_test): Likewise.
51428         (tgamma_test): Likewise.
51429         (y0_test): Likewise.
51430         (y1_test): Likewise.
51431         (yn_test): Likewise.
51433         * math/gen-libm-test.pl (adjust_arg): Remove function.
51434         (special_function): Remove argument $in_func.  Only handle
51435         generating output for tables of tests, not inside functions.
51436         (parse_args): Likewise.
51437         (generate_testfile): Remove variable $in_func.  Update call to
51438         parse_args.
51439         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51440         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51441         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51442         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51443         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51444         (MAX_VALUE_INIT): Rename macro to max_value.
51445         (MIN_VALUE_INIT): Rename macro to min_value.
51446         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51447         (plus_zero): Remove variable.
51448         (minus_zero): Likewise.
51449         (plus_infty): Likewise.
51450         (minus_infty): Likewise.
51451         (qnan_value): Likewise.
51452         (max_value): Likewise.
51453         (min_value): Likewise.
51454         (min_subnorm_value): Likewise.
51456 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51458         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51459         uint64_t or uint32_t usage.
51460         * crypt/sha256-block.c: Likewise.
51461         * crypt/sha256-crypt.c: Likewise.
51462         * crypt/sha256.c: Likewise.
51463         * crypt/sha512-block.c: Likewise.
51464         * crypt/sha512-crypt.c: Likewise.
51465         * crypt/sha512.c: Likewise.
51466         * debug/backtrace-tst.c: Likewise.
51467         * debug/pcprofiledump.c: Likewise.
51468         * elf/cache.c: Likewise.
51469         * elf/dl-cache.c: Likewise.
51470         * elf/dl-misc.c: Likewise.
51471         * elf/dl-profile.c: Likewise.
51472         * elf/dl-support.c: Likewise.
51473         * elf/ldconfig.c: Likewise.
51474         * elf/sprof.c: Likewise.
51475         * iconv/dummy-repertoire.c: Likewise.
51476         * iconv/iconv_charmap.c: Likewise.
51477         * iconv/skeleton.c: Likewise.
51478         * iconvdata/8bit-generic.c: Likewise.
51479         * iconvdata/cp737.h: Likewise.
51480         * iconvdata/cp775.h: Likewise.
51481         * iconvdata/ibm1008.h: Likewise.
51482         * iconvdata/ibm1025.h: Likewise.
51483         * iconvdata/ibm1046.h: Likewise.
51484         * iconvdata/ibm1097.h: Likewise.
51485         * iconvdata/ibm1112.h: Likewise.
51486         * iconvdata/ibm1122.h: Likewise.
51487         * iconvdata/ibm1123.h: Likewise.
51488         * iconvdata/ibm1124.h: Likewise.
51489         * iconvdata/ibm1129.h: Likewise.
51490         * iconvdata/ibm1130.h: Likewise.
51491         * iconvdata/ibm1132.h: Likewise.
51492         * iconvdata/ibm1133.h: Likewise.
51493         * iconvdata/ibm1137.h: Likewise.
51494         * iconvdata/ibm1140.h: Likewise.
51495         * iconvdata/ibm1141.h: Likewise.
51496         * iconvdata/ibm1142.h: Likewise.
51497         * iconvdata/ibm1143.h: Likewise.
51498         * iconvdata/ibm1144.h: Likewise.
51499         * iconvdata/ibm1145.h: Likewise.
51500         * iconvdata/ibm1146.h: Likewise.
51501         * iconvdata/ibm1147.h: Likewise.
51502         * iconvdata/ibm1148.h: Likewise.
51503         * iconvdata/ibm1149.h: Likewise.
51504         * iconvdata/ibm1153.h: Likewise.
51505         * iconvdata/ibm1154.h: Likewise.
51506         * iconvdata/ibm1155.h: Likewise.
51507         * iconvdata/ibm1156.h: Likewise.
51508         * iconvdata/ibm1157.h: Likewise.
51509         * iconvdata/ibm1158.h: Likewise.
51510         * iconvdata/ibm1160.h: Likewise.
51511         * iconvdata/ibm1161.h: Likewise.
51512         * iconvdata/ibm1162.h: Likewise.
51513         * iconvdata/ibm1163.h: Likewise.
51514         * iconvdata/ibm1164.h: Likewise.
51515         * iconvdata/ibm1166.h: Likewise.
51516         * iconvdata/ibm1167.h: Likewise.
51517         * iconvdata/ibm12712.h: Likewise.
51518         * iconvdata/ibm1390.h: Likewise.
51519         * iconvdata/ibm1399.h: Likewise.
51520         * iconvdata/ibm16804.h: Likewise.
51521         * iconvdata/ibm4517.h: Likewise.
51522         * iconvdata/ibm4899.h: Likewise.
51523         * iconvdata/ibm4909.h: Likewise.
51524         * iconvdata/ibm4971.h: Likewise.
51525         * iconvdata/ibm5347.h: Likewise.
51526         * iconvdata/ibm803.h: Likewise.
51527         * iconvdata/ibm856.h: Likewise.
51528         * iconvdata/ibm901.h: Likewise.
51529         * iconvdata/ibm902.h: Likewise.
51530         * iconvdata/ibm9030.h: Likewise.
51531         * iconvdata/ibm9066.h: Likewise.
51532         * iconvdata/ibm921.h: Likewise.
51533         * iconvdata/ibm922.h: Likewise.
51534         * iconvdata/ibm9448.h: Likewise.
51535         * iconvdata/isiri-3342.h: Likewise.
51536         * iconvdata/jis0201.h: Likewise.
51537         * include/link.h: Likewise.
51538         * include/netdb.h: Likewise.
51539         * inet/check_native.c: Likewise.
51540         * inet/check_pf.c: Likewise.
51541         * inet/getipv4sourcefilter.c: Likewise.
51542         * inet/getnameinfo.c: Likewise.
51543         * inet/getsourcefilter.c: Likewise.
51544         * inet/htonl.c: Likewise.
51545         * inet/setipv4sourcefilter.c: Likewise.
51546         * inet/setsourcefilter.c: Likewise.
51547         * inet/test-inet6_opt.c: Likewise.
51548         * inet/tst-network.c: Likewise.
51549         * locale/C-collate.c: Likewise.
51550         * locale/C-ctype.c: Likewise.
51551         * locale/C-time.c: Likewise.
51552         * locale/C-translit.h: Likewise.
51553         * locale/loadarchive.c: Likewise.
51554         * locale/programs/3level.h: Likewise.
51555         * locale/programs/charmap.c: Likewise.
51556         * locale/programs/charmap.h: Likewise.
51557         * locale/programs/ld-address.c: Likewise.
51558         * locale/programs/ld-collate.c: Likewise.
51559         * locale/programs/ld-ctype.c: Likewise.
51560         * locale/programs/ld-identification.c: Likewise.
51561         * locale/programs/ld-measurement.c: Likewise.
51562         * locale/programs/ld-messages.c: Likewise.
51563         * locale/programs/ld-monetary.c: Likewise.
51564         * locale/programs/ld-name.c: Likewise.
51565         * locale/programs/ld-numeric.c: Likewise.
51566         * locale/programs/ld-paper.c: Likewise.
51567         * locale/programs/ld-telephone.c: Likewise.
51568         * locale/programs/ld-time.c: Likewise.
51569         * locale/programs/linereader.c: Likewise.
51570         * locale/programs/locale.c: Likewise.
51571         * locale/programs/locarchive.c: Likewise.
51572         * locale/programs/locfile.h: Likewise.
51573         * locale/programs/repertoire.c: Likewise.
51574         * locale/programs/simple-hash.c: Likewise.
51575         * locale/programs/simple-hash.h: Likewise.
51576         * malloc/memusage.c: Likewise.
51577         * malloc/memusagestat.c: Likewise.
51578         * nis/nis_defaults.c: Likewise.
51579         * nis/nis_hash.c: Likewise.
51580         * nis/nis_print.c: Likewise.
51581         * nis/nis_xdr.c: Likewise.
51582         * nscd/connections.c: Likewise.
51583         * nscd/hstcache.c: Likewise.
51584         * nscd/nscd_gethst_r.c: Likewise.
51585         * nscd/nscd_getserv_r.c: Likewise.
51586         * nscd/nscd_helper.c: Likewise.
51587         * nscd/servicescache.c: Likewise.
51588         * nss/makedb.c: Likewise.
51589         * nss/nss_db/db-XXX.c: Likewise.
51590         * nss/nss_db/db-initgroups.c: Likewise.
51591         * nss/nss_db/db-netgrp.c: Likewise.
51592         * nss/nss_files/files-network.c: Likewise.
51593         * nss/nss_files/files-parse.c: Likewise.
51594         * posix/bug-regex5.c: Likewise.
51595         * posix/fnmatch_loop.c: Likewise.
51596         * posix/regcomp.c: Likewise.
51597         * posix/regexec.c: Likewise.
51598         * posix/tst-rfc3484-2.c: Likewise.
51599         * posix/tst-rfc3484-3.c: Likewise.
51600         * posix/tst-rfc3484.c: Likewise.
51601         * resolv/nss_dns/dns-canon.c: Likewise.
51602         * resolv/nss_dns/dns-network.c: Likewise.
51603         * resolv/res_init.c: Likewise.
51604         * resolv/res_mkquery.c: Likewise.
51605         * resolv/tst-aton.c: Likewise.
51606         * stdlib/cxa_atexit.c: Likewise.
51607         * stdlib/cxa_finalize.c: Likewise.
51608         * stdlib/gen-fpioconst.c: Likewise.
51609         * stdlib/strtol_l.c: Likewise.
51610         * string/tst-endian.c: Likewise.
51611         * sunrpc/auth_des.c: Likewise.
51612         * sunrpc/clnt_udp.c: Likewise.
51613         * sunrpc/rtime.c: Likewise.
51614         * sunrpc/svcauth_des.c: Likewise.
51615         * sunrpc/xdr.c: Likewise.
51616         * sunrpc/xdr_intXX_t.c: Likewise.
51617         * sunrpc/xdr_rec.c: Likewise.
51618         * sysdeps/generic/ldconfig.h: Likewise.
51619         * sysdeps/generic/ldsodefs.h: Likewise.
51620         * sysdeps/generic/memusage.h: Likewise.
51621         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51622         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51623         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51624         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51625         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51627         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51628         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51629         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51630         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51631         * sysdeps/posix/getaddrinfo.c: Likewise.
51632         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51633         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51634         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51635         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51636         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51637         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51638         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51639         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51640         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51641         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51642         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51643         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51644         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51645         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51646         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51647         * sysdeps/x86_64/dl-tls.h: Likewise.
51648         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51649         * time/alt_digit.c: Likewise.
51650         * time/era.c: Likewise.
51651         * wcsmbs/tst-c16c32-1.c: Likewise.
51653 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51655         * math/libm-test.inc (struct test_sincos_data): New type.
51656         (RUN_TEST_LOOP_sincos): New macro.
51657         (sincos_test_data): New variable.
51658         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51660 2013-05-16  Richard Henderson  <rth@redhat.com>
51662         * math/atest-exp2.c (LIMB64): New macro.
51663         (CONSTSZ): New macro.
51664         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51665         (hexdig): Move ...
51666         (print_mpn_fp): ... to function scope.
51667         (read_mpn_hex): Remove.
51668         (get_log2): Remove.
51669         (exp2_mpn): Use mp_log2.
51670         (main): Use mp_exp1.
51672 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51674         * math/libm-test.inc: Remove comment about not testing "inexact"
51675         exceptions.
51676         (INEXACT_EXCEPTION): New macro.
51677         (NO_INEXACT_EXCEPTION): Likewise.
51678         (INVALID_EXCEPTION_OK): Update value.
51679         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51680         (OVERFLOW_EXCEPTION_OK): Likewise.
51681         (UNDERFLOW_EXCEPTION_OK): Likewise.
51682         (IGNORE_ZERO_INF_SIGN): Likewise.
51683         (ERRNO_UNCHANGED): Likewise.
51684         (ERRNO_EDOM): Likewise.
51685         (ERRNO_ERANGE): Likewise.
51686         (test_exceptions): Handle testing "inexact" exceptions.
51687         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51688         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51689         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51690         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51691         INEXACT_EXCEPTION.
51692         (rint_towardzero_test_data): Likewise.
51693         (rint_downward_test_data): Likewise.
51694         (rint_upward_test_data): Likewise.
51696         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51697         with OVERFLOW_EXCEPTION.
51698         (exp10_test_data): Likewise.
51699         (exp2_test_data): Likewise.
51700         (expm1_test_data): Likewise.
51701         (lgamma_test_data): Likewise.
51702         (pow_test_data): Likewise.
51703         (tgamma_test_data): Likewise.
51704         (yn_test_data): Remove duplicate test of overflow.
51706         * math/libm-test.inc (struct test_cc_c_data): New type.
51707         (RUN_TEST_LOOP_cc_c): New macro.
51708         (cpow_test_data): New variable.
51709         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51711         * math/libm-test.inc (struct test_f_L_data): New type.
51712         (RUN_TEST_LOOP_f_L): New macro.
51713         (llrint_test_data): New variable.
51714         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51715         (llrint_tonearest_test_data): New variable.
51716         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51717         (llrint_towardzero_test_data): New variable.
51718         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51719         (llrint_downward_test_data): New variable.
51720         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51721         (llrint_upward_test_data): New variable.
51722         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51723         (llround_test_data): New variable.
51724         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51726 2013-05-13  Peter Collingbourne  <pcc@google.com>
51728         * math/atest-exp2.c (get_log2): Remove const attribute.
51730 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51732         * math/libm-test.inc (struct test_f_l_data): New type.
51733         (RUN_TEST_LOOP_f_l): New macro.
51734         (lrint_test_data): New variable.
51735         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51736         (lrint_tonearest_test_data): New variable.
51737         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51738         (lrint_towardzero_test_data): New variable.
51739         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51740         (lrint_downward_test_data): New variable.
51741         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51742         (lrint_upward_test_data): New variable.
51743         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51744         (lround_test_data): New variable.
51745         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51747 2013-05-15  Peter Collingbourne  <pcc@google.com>
51749         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51750         (EXTRACT_WORDS64) Use where appropriate.
51751         (INSERT_WORDS64) Likewise.
51753         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51754         constraints with x constraints.
51755         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51757         * malloc/obstack.c (_obstack_compat): Add initializer.
51759 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51761         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51762         si_trapno and add si_addr_lsb to _sifields.sigfault.
51763         (si_trapno): Remove macro.
51764         (si_addr_lsb): Define new macro.
51765         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51767 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51769         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51770         instead of TEST_f_l.
51771         (llrint_test_tonearest): Likewise.
51772         (llrint_test_towardzero): Likewise.
51773         (llrint_test_downward): Likewise.
51774         (llrint_test_upward): Likewise.
51775         (llround_test): Likewise.
51777         * math/libm-test.inc (struct test_f_i_data): Add comment.
51778         (RUN_TEST_LOOP_f_b): New macro.
51779         (RUN_TEST_LOOP_f_b_tg): Likewise.
51780         (finite_test_data): New variable.
51781         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51782         (isfinite_test_data): New variable.
51783         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51784         (isinf_test_data): New variable.
51785         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51786         (isnan_test_data): New variable.
51787         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51788         (isnormal_test_data): New variable.
51789         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51790         (issignaling_test_data): New variable.
51791         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51792         (signbit_test_data): New variable.
51793         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51795         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51796         with INVALID_EXCEPTION.
51797         (acosh_test_data): Likewise.
51798         (asin_test_data): Likewise.
51799         (atanh_test_data): Likewise.
51800         (fmod_test_data): Likewise.
51801         (log_test_data): Likewise.
51802         (log10_test_data): Likewise.
51803         (log2_test_data): Likewise.
51804         (pow_test_data): Likewise.
51805         (sqrt_test_data): Likewise.
51806         (y0_test_data): Likewise.
51807         (y1_test_data): Likewise.
51808         (yn_test_data): Likewise.
51810         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51811         function contents.
51813         * math/libm-test.inc (struct test_ff_i_data): New type.
51814         (RUN_TEST_LOOP_ff_i_tg): New macro.
51815         (isgreater_test_data): New variable.
51816         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51817         (isgreaterequal_test_data): New variable.
51818         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51819         (isless_test_data): New variable.
51820         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51821         (islessequal_test_data): New variable.
51822         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51823         (islessgreater_test_data): New variable.
51824         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51825         (isunordered_test_data): New variable.
51826         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51828 2013-05-14  David S. Miller  <davem@davemloft.net>
51830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51832 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51834         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51836         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51837         extra_test to int.
51838         (struct test_f_i_data): Change type of max_ulp to int.
51840         * math/libm-test.inc (test_ffI_f1_data): New type.
51841         (RUN_TEST_LOOP_ffI_f1): New macro.
51842         (remquo_test_data): New variable.
51843         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51845         * setjmp/tst-setjmp-fp.c: New file.
51846         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51847         (link-libm): New variable.
51848         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51850         * math/libm-test.inc (struct test_f_i_data): New type.
51851         (RUN_TEST_LOOP_f_i): New macro.
51852         (RUN_TEST_LOOP_f_i_tg): Likewise.
51853         (fpclassify_test_data): New variable.
51854         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51855         (ilogb_test_data): New variable.
51856         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51858         * math/libm-test.inc (scalbln_test): Correct function name in END
51859         call.
51861         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51862         (RUN_TEST_LOOP_fI_f1): New macro.
51863         (frexp_test_data): New variable.
51864         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51866         * math/libm-test.inc (struct test_fF_f1_data): New type.
51867         (RUN_TEST_LOOP_fF_f1): New macro.
51868         (modf_test_data): New variable.
51869         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51871         * math/libm-test.inc (struct test_f_f1_data): New type.
51872         (RUN_TEST_LOOP_f_f1): New macro.
51873         (gamma_test_data): New variable.
51874         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51875         (lgamma_test_data): New variable.
51876         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51878 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51880         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51881         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51882         (main): Comment "tls" pseudo-hwcap.
51884 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51886         * math/libm-test.inc (struct test_fl_f_data): New type.
51887         (RUN_TEST_LOOP_fl_f): New variable.
51888         (scalbln_test_data): New variable.
51889         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51891         * math/libm-test.inc (struct test_fi_f_data): New type.
51892         (RUN_TEST_LOOP_fi_f): New macro.
51893         (ldexp_test_data): New variable.
51894         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51895         (scalbn_test_data): New variable.
51896         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51898         * math/libm-test.inc (struct test_c_f_data): New type.
51899         (RUN_TEST_LOOP_c_f): New macro.
51900         (cabs_test_data): New variable.
51901         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51902         (carg_test_data): New variable.
51903         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51904         (cimag_test_data): New variable.
51905         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51906         (creal_test_data): New variable.
51907         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51909         * math/libm-test.inc (struct test_if_f_data): New type.
51910         (RUN_TEST_LOOP_if_f): New macro.
51911         (jn_test_data): New variable.
51912         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51913         (yn_test_data): New variable.
51914         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51916         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51918 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51920         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51921         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51923 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51925         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51926         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51927         (bench-deps): Add bench-timing.h.
51928         * benchtests-bench-skeleton.c: Include bench-timing.h.
51929         (main): Use TIMING_* macros instead of clock_gettime.
51930         * benchtests/bench-timing.h: New file.
51932         [BZ #14582]
51933         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51934         Renamed from _LIB_VERSION.
51935         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51937 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51939         * math/libm-test.inc (struct test_fff_f_data): New type.
51940         (RUN_TEST_LOOP_fff_f): New macro.
51941         (fma_test_data): New variable.
51942         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51943         (fma_towardzero_test_data): New variable.
51944         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51945         (fma_downward_test_data): New variable.
51946         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51947         (fma_upward_test_data): New variable.
51948         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51950         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51951         (struct test_c_c_data): New type.
51952         (RUN_TEST_LOOP_c_c): New macro.
51953         (cacos_test_data): New variable.
51954         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51955         (cacosh_test_data): New variable.
51956         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51957         (casin_test_data): New variable.
51958         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51959         (casinh_test_data): New variable.
51960         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51961         (catan_test_data): New variable.
51962         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51963         (catanh_test_data): New variable.
51964         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51965         (ccos_test_data): New variable.
51966         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51967         (ccosh_test_data): New variable.
51968         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51969         (cexp_test_data): New variable.
51970         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51971         (clog_test_data): New variable.
51972         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51973         (clog10_test_data): New variable.
51974         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51975         (conj_test_data): New variable.
51976         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51977         (cproj_test_data): New variable.
51978         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51979         (csin_test_data): New variable.
51980         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51981         (csinh_test_data): New variable.
51982         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51983         (csqrt_test_data): New variable.
51984         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51985         (ctan_test_data): New variable.
51986         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51987         (ctan_tonearest_test_data): New variable.
51988         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51989         (ctan_towardzero_test_data): New variable.
51990         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51991         (ctan_downward_test_data): New variable.
51992         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51993         (ctan_upward_test_data): New variable.
51994         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51995         (ctanh_test_data): New variable.
51996         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51997         (ctanh_tonearest_test_data): New variable.
51998         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51999         (ctanh_towardzero_test_data): New variable.
52000         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52001         (ctanh_downward_test_data): New variable.
52002         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52003         (ctanh_upward_test_data): New variable.
52004         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52005         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52006         of BUILD_COMPLEX.
52008         * math/libm-test.inc (struct test_ff_f_data): New type.
52009         (struct test_ff_f_data_nexttoward): Likewise.
52010         (RUN_TEST_LOOP_2_f): New macro.
52011         (RUN_TEST_LOOP_ff_f): Likewise.
52012         (atan2_test_data): New variable.
52013         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52014         (copysign_test_data): New variable.
52015         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52016         (fdim_test_data): New variable.
52017         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52018         (fmax_test_data): New variable.
52019         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52020         (fmin_test_data): New variable.
52021         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52022         (fmod_test_data): New variable.
52023         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52024         (hypot_test_data): New variable.
52025         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52026         (nextafter_test_data): New variable.
52027         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52028         (nexttoward_test_data): New variable.
52029         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52030         (pow_test_data): New variable.
52031         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52032         (pow_tonearest_test_data): New variable.
52033         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52034         (pow_towardzero_test_data): New variable.
52035         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52036         (pow_downward_test_data): New variable.
52037         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52038         (pow_upward_test_data): New variable.
52039         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52040         (remainder_test_data): New variable.
52041         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52042         (scalb_test_data): New variable.
52043         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52044         * sysdeps/i386/fpu/libm-test-ulps: Update.
52046 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52048         * math/libm-test.inc (fma_test): Use max_value instead of local
52049         variable fltmax.
52050         (nextafter_test): Likewise.
52052         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52053         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52054         (acos_downward_test_data): New variable.
52055         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52056         (acos_upward_test_data): New variable.
52057         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52058         (acosh_test_data): New variable.
52059         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52060         (asin_test_data): New variable.
52061         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52062         (asin_tonearest_test_data): New variable.
52063         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52064         (asin_towardzero_test_data): New variable.
52065         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52066         (asin_downward_test_data): New variable.
52067         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52068         (asin_upward_test_data): New variable.
52069         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52070         (asinh_test_data): New variable.
52071         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52072         (atan_test_data): New variable.
52073         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52074         (atanh_test_data): New variable.
52075         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52076         (cbrt_test_data): New variable.
52077         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52078         (ceil_test_data): New variable.
52079         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52080         (cos_test_data): New variable.
52081         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52082         (cos_tonearest_test_data): New variable.
52083         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52084         (cos_towardzero_test_data): New variable.
52085         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52086         (cos_downward_test_data): New variable.
52087         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52088         (cos_upward_test_data): New variable.
52089         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52090         (cosh_test_data): New variable.
52091         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52092         (cosh_tonearest_test_data): New variable.
52093         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52094         (cosh_towardzero_test_data): New variable.
52095         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52096         (cosh_downward_test_data): New variable.
52097         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52098         (cosh_upward_test_data): New variable.
52099         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52100         (erf_test_data): New variable.
52101         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52102         (erfc_test_data): New variable.
52103         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52104         (exp_test_data): New variable.
52105         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52106         (exp_tonearest_test_data): New variable.
52107         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52108         (exp_towardzero_test_data): New variable.
52109         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52110         (exp_downward_test_data): New variable.
52111         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52112         (exp_upward_test_data): New variable.
52113         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52114         (exp10_test_data): New variable.
52115         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52116         (exp2_test_data): New variable.
52117         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52118         (expm1_test_data): New variable.
52119         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52120         (fabs_test_data): New variable.
52121         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52122         (floor_test_data): New variable.
52123         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52124         (j0_test_data): New variable.
52125         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52126         (j1_test_data): New variable.
52127         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52128         (log_test_data): New variable.
52129         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52130         (log10_test_data): New variable.
52131         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52132         (log1p_test_data): New variable.
52133         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52134         (log2_test_data): New variable.
52135         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52136         (logb_test_data): New variable.
52137         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52138         (logb_downward_test_data): New variable.
52139         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52140         (nearbyint_test_data): New variable.
52141         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52142         (rint_test_data): New variable.
52143         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52144         (rint_tonearest_test_data): New variable.
52145         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52146         (rint_towardzero_test_data): New variable.
52147         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52148         (rint_downward_test_data): New variable.
52149         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52150         (rint_upward_test_data): New variable.
52151         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52152         (round_test_data): New variable.
52153         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52154         (sin_test_data): New variable.
52155         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52156         (sin_tonearest_test_data): New variable.
52157         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52158         (sin_towardzero_test_data): New variable.
52159         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52160         (sin_downward_test_data): New variable.
52161         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52162         (sin_upward_test_data): New variable.
52163         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52164         (sinh_test_data): New variable.
52165         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52166         (sinh_tonearest_test_data): New variable.
52167         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52168         (sinh_towardzero_test_data): New variable.
52169         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52170         (sinh_downward_test_data): New variable.
52171         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52172         (sinh_upward_test_data): New variable.
52173         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52174         (sqrt_test_data): New variable.
52175         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52176         (tan_test_data): New variable.
52177         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52178         (tan_tonearest_test_data): New variable.
52179         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52180         (tan_towardzero_test_data): New variable.
52181         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52182         (tan_downward_test_data): New variable.
52183         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52184         (tan_upward_test_data): New variable.
52185         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52186         (tanh_test_data): New variable.
52187         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52188         (tgamma_test_data): New variable.
52189         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52190         (trunc_test_data): New variable.
52191         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52192         (y0_test_data): New variable.
52193         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52194         (y1_test_data): New variable.
52195         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52196         (significand_test_data): New variable.
52197         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52199 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52201         [BZ #12387]
52202         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52204 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52206         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52208 2013-05-10  Andreas Jaeger  <aj@suse.de>
52210         [BZ #15448]
52211         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52212         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52214 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52216         * math/gen-libm-test.pl (adjust_arg): New function.
52217         (special_functions): Handle generating output in both functions
52218         and arrays.
52219         (parse_args): Likewise.
52220         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52221         $in_func argument to parse_args.
52222         * math/libm-test.inc (struct test_f_f_data): New type.
52223         (IF_ROUND_INIT_): New macro.
52224         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52225         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52226         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52227         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52228         (ROUND_RESTORE_): Likewise.
52229         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52230         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52231         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52232         (ROUND_RESTORE_FE_UPWARD): Likewise.
52233         (RUN_TEST_LOOP_f_f): New macro.
52234         (acos_test_data): New variable.
52235         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52236         (acos_tonearest_test_data): New variable.
52237         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52239 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52241         * benchtests/bench-skeleton.c (startup): Fix coding style.
52243 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52245         [BZ #6809]
52246         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52247         negative infinity argument.
52248         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52249         negative infinity argument.
52250         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52251         negative infinity argument.
52252         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52253         domain errors.
52255 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52257         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52258         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52259         * iconv/iconv_prog.c (main): Likewise.
52260         * locale/programs/charmap-dir.c (charmap_readdir)
52261         (fopen_uncompressed): Likewise.
52262         * locale/programs/locfile.c (siblings_uncached)
52263         (write_locale_data): Use lstat64 instead of lstat.
52264         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52265         stat.
52267 2013-05-10  Andreas Jaeger  <aj@suse.de>
52269         [BZ #15395]
52270         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52271         localization.
52272         Include <locale.h>.
52274 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52276         * elf/dl-close.c (_dl_close_worker): Add comments.
52278 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52280         [BZ #15359]
52281         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52282         high part of pi/2.
52283         (__ieee754_rem_pio2l): Update comments.
52285         [BZ #15429]
52286         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52287         high part of pi/2.
52288         (__ieee754_rem_pio2l): Update comments.
52290         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52291         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52293         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52294         M_PI_4l.
52296         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52297         (M_PI_34_LOG10El): Likewise.
52298         (M_PI2_LOG10El): Likewise.
52299         (M_PI4_LOG10El): Likewise.
52300         (M_PI_LOG10El): Likewise.
52302 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52306 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52308         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52309         (MINUS_ZERO_INIT): Likewise.
52310         (PLUS_INFTY_INIT): Likewise.
52311         (MINUS_INFTY_INIT): Likewise.
52312         (QNAN_VALUE_INIT): Likewise.
52313         (MAX_VALUE_INIT): Likewise.
52314         (MIN_VALUE_INIT): Likewise.
52315         (MIN_SUBNORM_VALUE_INIT): Likewise.
52316         (plus_zero): Initialize with PLUS_ZERO_INIT.
52317         (minus_zero): Initialize with MINUS_ZERO_INIT.
52318         (plus_infty): Initialize with PLUS_INFTY_INIT.
52319         (minus_infty): Initialize with MINUS_INFTY_INIT.
52320         (qnan_value): Initialize with QNAN_VALUE_INIT.
52321         (max_value): Initialize with MAX_VALUE_INIT.
52322         (min_value): Initialize with MIN_VALUE_INIT.
52323         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52325         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52326         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52327         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52328         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52330         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52331         (RUN_TEST_2_f): Likewise.
52332         (RUN_TEST_ff_f): Likewise.
52333         (RUN_TEST_fi_f): Likewise.
52334         (RUN_TEST_fl_f): Likewise.
52335         (RUN_TEST_fff_f): Likewise.
52336         (RUN_TEST_c_f): Likewise.
52337         (RUN_TEST_f_f1): Likewise.
52338         (RUN_TEST_fF_f1): Likewise.
52339         (RUN_TEST_fI_f1): Likewise.
52340         (RUN_TEST_ffI_f1): Likewise.
52341         (RUN_TEST_c_c): Likewise.
52342         (RUN_TEST_cc_c): Likewise.
52343         (RUN_TEST_f_i): Likewise.
52344         (RUN_TEST_f_i_tg): Likewise.
52345         (RUN_TEST_ff_i_tg): Likewise.
52346         (RUN_TEST_f_b): Likewise.
52347         (RUN_TEST_f_b_tg): Likewise.
52348         (RUN_TEST_f_l): Likewise.
52349         (RUN_TEST_f_L): Likewise.
52350         (RUN_TEST_sincos): Likewise.
52351         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52352         whether to show exceptions.  Do not include ");\n" in return
52353         value.
52354         (special_functions): Output call to RUN_TEST_sincos instead of
52355         check_float calls.  Update calls to new_test.
52356         (parse_args): Output call to single RUN_TEST_* macro instead of
52357         check_* calls and other assignments.  Update calls to new_test.
52359         [BZ #2546]
52360         [BZ #2560]
52361         [BZ #5159]
52362         [BZ #15426]
52363         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52364         input to result for tgamma overflow.
52365         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52366         (gamma_coeff): New variable.
52367         (NCOEFF): New macro.
52368         (gamma_positive): New function.
52369         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52370         underflow here.  Use gamma_positive instead of exp (lgamma) for
52371         other arguments.
52372         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52373         (gamma_coeff): New variable.
52374         (NCOEFF): New macro.
52375         (gammaf_positive): New function.
52376         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52377         underflow here.  Use gamma_positive instead of exp (lgamma) for
52378         other arguments.
52379         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52380         (gamma_coeff): New variable.
52381         (NCOEFF): New macro.
52382         (gammal_positive): New function.
52383         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52384         underflow here.  Use gamma_positive instead of exp (lgamma) for
52385         other arguments.
52386         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52387         (gamma_coeff): New variable.
52388         (NCOEFF): New macro.
52389         (gammal_positive): New function.
52390         (__ieee754_gammal_r): Handle positive infinity, overflow and
52391         underflow here.  Handle NaN the same as positive infinity.  Remove
52392         check x < 0xffffffff for negative integers.  Use gamma_positive
52393         instead of exp (lgamma) for other arguments.
52394         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52395         (gamma_coeff): New variable.
52396         (NCOEFF): New macro.
52397         (gammal_positive): New function.
52398         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52399         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52400         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52401         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52402         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52403         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52404         * sysdeps/generic/math_private.h (__gamma_productf): New
52405         prototype.
52406         (__gamma_product): Likewise.
52407         (__gamma_productl): Likewise.
52408         * math/Makefile (libm-calls): Add gamma_product.
52409         * math/libm-test.inc (tgamma_test): Add more tests.
52410         * sysdeps/i386/fpu/libm-test-ulps: Update.
52411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52413 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52415         * benchtests/bench-skeleton.c (main): Preheat CPU.
52417 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52419         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52421 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52423         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52424         and _dl_skip_args_internal.
52426 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52428         * manual/message.texi (Message Translation): Talk about users.
52429         Message to key mapping impacts design.
52431 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52433         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52435         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52437         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52438         * sysdeps/wordsize-64/glob64.c: ... here.
52440         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52441         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52442         New macros.
52444         * debug/getlogin_r_chk.c: Moved to ...
52445         * login/getlogin_r_chk.c: ... here.
52446         * debug/Makefile (routines): Move getlogin_r_chk to ...
52447         * login/Makefile (routines): ... here.
52448         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52449         * login/Versions (libc: GLIBC_2.4): ... here.
52451         * io/poll.c (__poll): Renamed from poll.
52452         Add libc_hidden_def.
52453         (poll): Define as weak alias.
52455         * debug/ptsname_r_chk.c: Moved to ...
52456         * login/ptsname_r_chk.c: ... here.
52457         * debug/Makefile (routines): Move ptsname_r_chk to ...
52458         * login/Makefile (routines): ... here.
52459         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52460         * login/Versions (libc: GLIBC_2.4): ... here.
52462         * posix/getlogin.c: Moved to ...
52463         * login/getlogin.c: ... here.
52464         * posix/getlogin_r.c: Moved to ...
52465         * login/getlogin_r.c: ... here.
52466         * posix/getlogin_r.c: Moved to ...
52467         * login/getlogin_r.c: ... here.
52468         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52469         * login/Makefile (routines): ... here.
52470         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52471         * login/Versions (libc: GLIBC_2.0): ... here.
52473         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52474         (setrlimit): Define as weak alias.
52476         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52477         Call __ names for open, ftruncate, and close.
52478         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52479         (truncate): Define as weak alias.
52481 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52483         * math/gen-libm-test.pl (parse_args): Initialize x before each
52484         test of frexp, modf and remquo.
52486         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52487         test signgam value.
52489 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52491         [BZ #15418]
52492         [BZ #15419]
52493         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52494         internal tests.
52495         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52497 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52499         * elf/dl-writev.h: New file.
52500         * elf/dl-misc.c: Include it.
52501         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52502         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52504 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52506         * math/libm-test.inc (noXFails): Remove variable.
52507         (noXPasses): Likewise.
52508         (BUILD_COMPLEX_INT): Remove macro.
52509         (print_screen): Remove xfail argument.
52510         (print_screen_max_error): Likewise.
52511         (update_stats): Likewise.
52512         (print_max_error): Likewise.  Update calls to other affected
52513         functions.
52514         (print_complex_max_error): Likewise.
52515         (test_single_exception): Update calls to print_screen.
52516         (test_single_errno): Likewise.
52517         (check_float_internal): Remove xfail argument.  Update calls to
52518         other affected functions.
52519         (check_float): Likewise.
52520         (check_complex): Likewise.
52521         (check_int): Likewise.
52522         (check_long): Likewise.
52523         (check_bool): Likewise.
52524         (check_longlong): Likewise.
52525         (main): Don't print noXFails and noXPasses.
52526         * math/gen-libm-test.pl (top level): Don't mention expected
52527         failure handling in comment.
52528         (new_test): Don't handle expected failures.
52529         (parse_args): Don't mention expected failure handling in comment.
52530         (generate_testfile): Don't handle expected failures.
52531         (parse_ulps): Likewise.
52532         (print_ulps_file): Likewise.
52533         (get_failure): Remove function.
52534         (output_test): Don't handle expected failures.
52535         * make/README.libm-test: Don't mention expected failure handling.
52537         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52538         (minus_zero): Likewise.
52539         (plus_infty): Likewise.
52540         (minus_infty): Likewise.
52541         (qnan_value): Likewise.
52542         (max_value): Likewise.
52543         (min_value): Likewise.
52544         (min_subnorm_value): Likewise.
52545         (initialize): Do not initialize those variables dynamically.
52547 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52549         * io/open.c (__open_2): Moved to ...
52550         * io/open_2.c: ... this new file.
52551         * io/open64.c (__open64_2): Moved to ...
52552         * io/open64_2.c: ... this new file.
52553         * io/openat.c (__openat_2): Moved to ...
52554         * io/openat_2.c: ... this new file.
52555         * io/openat64.c (__openat64_2): Moved to ...
52556         * io/openat64_2.c: ... this new file.
52557         * io/Makefile (routines): Add them.
52558         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52559         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52560         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52561         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52562         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52563         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52564         (__openat64): Add hidden_ver.
52565         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52566         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52568         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52569         Separately conditionalize setting of GLRO(dl_sysinfo) so
52570         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52571         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52573 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52575         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52576         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52577         definition.
52578         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52579         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52580         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52581         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52582         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52584 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52586         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52587         test signgam value.
52589         * math/libm-test.inc (hypot_test): Do not use
52590         IGNORE_ZERO_INF_SIGN.
52592 2013-05-03  Andreas Jaeger  <aj@suse.de>
52594         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52595         Linux 3.9.
52596         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52597         (PF_MAX): Adjust for VSOCK change.
52599 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52603 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52605         [BZ #15264]
52606         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52607         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52608         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52610 2013-05-02  David S. Miller  <davem@davemloft.net>
52612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52614 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52616         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52618 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52620         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52622 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52624         [BZ #14952]
52625         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52626         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52627         Use __attribute__ ((__gnu_inline__)).
52628         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52629         Don't use __attribute__ ((__gnu_inline__)).
52631 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52633         [BZ #15423]
52634         * math/s_catan.c (__catan): Handle small real or imaginary part of
52635         input specially to avoid spurious underflow.
52636         * math/s_catanf.c (__catanf): Likewise.
52637         * math/s_catanh.c (__catanh): Likewise.
52638         * math/s_catanhf.c (__catanhf): Likewise.
52639         * math/s_catanhl.c (__catanhl): Likewise.
52640         * math/s_catanl.c (__catanl): Likewise.
52641         * math/libm-test.inc (catan_test): Add more tests.
52642         (catanh_test): Likewise.
52643         * sysdeps/i386/fpu/libm-test-ulps: Update.
52644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52646 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52650 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52652         [BZ #15416]
52653         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52654         accurately for denominator in atan2.
52655         * math/s_catanf.c (__catanf): Likewise.
52656         * math/s_catanh.c (__catanh): Likewise.
52657         * math/s_catanhf.c (__catanhf): Likewise.
52658         * math/s_catanhl.c (__catanhl): Likewise.
52659         * math/s_catanl.c (__catanl): Likewise.
52660         * math/libm-test.inc (catan_test): Add more tests.
52661         (catanh_test): Likewise.
52662         * sysdeps/i386/fpu/libm-test-ulps: Update.
52663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52665 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52667         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52669         * benchtests/Makefile (bench): Remove slow benchmarks.
52670         * benchtests/atan-inputs: Add slow benchmark inputs.
52671         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52672         (BENCH_FUNC): Accept variant offset.
52673         (VARIANT): Define.
52674         * benchtests/bench-skeleton.c (main): Run benchmark for each
52675         variant.
52676         * benchtests/cos-inputs: Add slow benchmark inputs.
52677         * benchtests/exp-inputs: Likewise.
52678         * benchtests/pow-inputs: Likewise.
52679         * benchtests/sin-inputs: Likewise.
52680         * benchtests/slowatan-inputs: Remove.
52681         * benchtests/slowatan.c: Remove.
52682         * benchtests/slowcos-inputs: Remove.
52683         * benchtests/slowcos.c: Remove.
52684         * benchtests/slowexp-inputs: Remove.
52685         * benchtests/slowexp.c: Remove.
52686         * benchtests/slowpow-inputs: Remove.
52687         * benchtests/slowpow.c: Remove.
52688         * benchtests/slowsin-inputs: Remove.
52689         * benchtests/slowsin.c: Remove.
52690         * benchtests/slowtan-inputs: Remove.
52691         * benchtests/slowtan.c: Remove.
52692         * benchtests/tan-inputs: Add slow benchmark inputs.
52693         * scripts/bench.pl: Parse comments and directives.
52695         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52696         in CPPFLAGS.
52697         ($(objpfx)bench-%.c): Remove *-ITER.
52698         * benchtests/bench-modf.c: Remove definition of ITER.
52699         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52700         (main): Loop for DURATION seconds instead of fixed number of
52701         iterations.
52702         * scripts/bench.pl: Don't expect iterations in parameters.
52704 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52706         * io/fchdir.c (__fchdir): Renamed from fchdir.
52707         (fchdir): Define as weak alias.
52709 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52711         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52712         (ERRNO_EDOM): Likewise.
52713         (ERRNO_ERANGE): Likewise.
52714         (noErrnoTests): New variable.
52715         (init_max_error): Set errno to 0.
52716         (test_single_errno): New function.
52717         (test_errno): Likewise.
52718         (check_float_internal): Call test_errno.  Set errno to 0.
52719         (check_complex): Refer to errno tests in comment.
52720         (check_int): Call test_errno.  Set errno to 0.
52721         (check_long): Likewise.
52722         (check_bool): Likewise.
52723         (check_longlong): Likewise.
52724         (cos_test): Use ERRNO_* flags for errno tests instead of
52725         check_int.
52726         (expm1_test): Likewise.
52727         (fmod_test): Likewise.
52728         (ilogb_test): Likewise.
52729         (lgamma_test): Likewise.
52730         (pow_test): Likewise.
52731         (remainder_test): Likewise.
52732         (sin_test): Likewise.
52733         (tan_test): Likewise.
52734         (yn_test): Likewise.
52735         (initialize): Set errno to 0.
52736         (main): Print number of errno tests.
52737         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52739 2013-04-29  Andreas Jaeger  <aj@suse.de>
52741         [BZ #15084]
52742         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52743         and RES_USEVC.
52745         [BZ #15085]
52746         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52747         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52748         unimplemented.
52750         [BZ #15380]
52751         * stdlib/random.c (__initstate): Return NULL if
52752         __initstate fails.
52754         [BZ #15086]
52755         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52756         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52757         RES_SNGLKUPREOP.
52759 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52763 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52765         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52766         of individual tests.
52767         (casin_test): Likewise.
52768         (casinh_test): Likewise.
52770 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52772         [BZ #15409]
52773         * math/s_catan.c (__catan): Handle arguments with large real or
52774         imaginary part separately without squaring.
52775         * math/s_catanf.c (__catanf): Likewise.
52776         * math/s_catanh.c (__catanh): Likewise.
52777         * math/s_catanhf.c (__catanhf): Likewise.
52778         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52779         and redefine.
52780         (__catanhl): Handle arguments with large real or imaginary part
52781         separately without squaring.
52782         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52783         and redefine.
52784         (__catanl): Handle arguments with large real or imaginary part
52785         separately without squaring.
52786         * math/libm-test.inc (catan_test): Add more tests.
52787         (catanh_test): Likewise.
52788         * sysdeps/i386/fpu/libm-test-ulps: Update.
52789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52791 2013-04-27  Andreas Jaeger  <aj@suse.de>
52793         [BZ #15007]
52794         * stdlib/stdlib.h: Update guards for qecvt.
52795         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52796         <stdlib.h>.
52798 2013-04-27  Allan McRae  <allan@archlinux.org>
52800         * sysdeps/i386/fpu/libm-test-ulps: Update.
52802 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52804         [BZ #15406]
52805         * math/s_catan.c: Include <float.h>.
52806         (__catan): Ensure underflow exception occurs for underflowed
52807         result.
52808         * math/s_catanf.c: Include <float.h>.
52809         (__catanf): Ensure underflow exception occurs for underflowed
52810         result.
52811         * math/s_catanh.c: Include <float.h>.
52812         (__catanh): Ensure underflow exception occurs for underflowed
52813         result.
52814         * math/s_catanhf.c: Include <float.h>.
52815         (__catanhf): Ensure underflow exception occurs for underflowed
52816         result.
52817         * math/s_catanhl.c: Include <float.h>.
52818         (__catanhl): Ensure underflow exception occurs for underflowed
52819         result.
52820         * math/s_catanl.c: Include <float.h>.
52821         (__catanl): Ensure underflow exception occurs for underflowed
52822         result.
52823         * math/libm-test.inc (catan_test): Add more tests.
52824         (catanh_test): Likewise.
52826         [BZ #15405]
52827         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52828         underflowed result.
52829         * math/s_ccoshf.c (__ccoshf): Likewise.
52830         * math/s_ccoshl.c (__ccoshl): Likewise.
52831         * math/s_csin.c (__csin): Likewise.
52832         * math/s_csinf.c (__csinf): Likewise.
52833         * math/s_csinh.c (__csinh): Likewise.
52834         * math/s_csinhf.c (__csinhf): Likewise.
52835         * math/s_csinhl.c (__csinhl): Likewise.
52836         * math/s_csinl.c (__csinl): Likewise.
52837         * math/libm-test.inc (ccos_test): Add more tests.
52838         (ccosh_test): Likewise.
52839         (csin_test): Likewise.
52840         (csinh_test): Likewise.
52842 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52844         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52845         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52846         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52847         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52848         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52849         powerpc/power5+/fpu folders.
52850         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52853 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52857 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52859         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52860         additions to variable.
52861         [$(config-machine) = x86_64] (modules-names): Likewise.
52862         ($(objpfx)tst-audit3): Remove dependency.
52863         ($(objpfx)tst-audit3.out): Likewise.
52864         ($(objpfx)tst-audit4): Likewise.
52865         ($(objpfx)tst-audit4.out): Likewise.
52866         ($(objpfx)tst-audit5): Likewise.
52867         ($(objpfx)tst-audit5.out): Likewise.
52868         ($(objpfx)tst-audit6): Likewise.
52869         ($(objpfx)tst-audit6.out): Likewise.
52870         ($(objpfx)tst-audit7): Likewise.
52871         ($(objpfx)tst-audit7.out): Likewise.
52872         (tst-audit3-ENV): Remove variable.
52873         (tst-audit4-ENV): Likewise.
52874         (tst-audit5-ENV): Likewise.
52875         (tst-audit6-ENV): Likewise.
52876         (tst-audit7-ENV): Likewise.
52877         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52878         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52879         addition to variable.
52880         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52881         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52882         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52883         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52884         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52885         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52886         tst-audit3, tst-audit4 and tst-audit5.
52887         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52888         tst-audit6 and tst-audit7.
52889         [$(subdir) = elf] (modules-names): Add audit modules for those
52890         tests.
52891         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52892         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52893         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52894         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52895         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52896         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52897         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52898         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52899         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52900         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52901         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52902         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52903         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52904         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52905         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52906         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52907         Likewise.
52908         [$(subdir) = elf && $(config-cflags-avx) = yes]
52909         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52910         [$(subdir) = elf && $(config-cflags-avx) = yes]
52911         (CFLAGS-tst-auditmod4a.c): Likewise.
52912         [$(subdir) = elf && $(config-cflags-avx) = yes]
52913         (CFLAGS-tst-auditmod4b.c): Likewise.
52914         [$(subdir) = elf && $(config-cflags-avx) = yes]
52915         (CFLAGS-tst-auditmod6b.c): Likewise.
52916         [$(subdir) = elf && $(config-cflags-avx) = yes]
52917         (CFLAGS-tst-auditmod6c.c): Likewise.
52918         [$(subdir) = elf && $(config-cflags-avx) = yes]
52919         (CFLAGS-tst-auditmod7b.c): Likewise.
52920         * elf/tst-audit3.c: Move to ...
52921         * sysdeps/x86_64/tst-audit3.c: ... here.
52922         * elf/tst-audit4.c: Move to ...
52923         * sysdeps/x86_64/tst-audit4.c: ... here.
52924         * elf/tst-audit5.c: Move to ...
52925         * sysdeps/x86_64/tst-audit5.c: ... here.
52926         * elf/tst-audit6.c: Move to ...
52927         * sysdeps/x86_64/tst-audit6.c: ... here.
52928         * elf/tst-audit7.c: Move to ...
52929         * sysdeps/x86_64/tst-audit7.c: ... here.
52930         * elf/tst-auditmod3a.c: Move to ...
52931         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52932         * elf/tst-auditmod3b.c: Move to ...
52933         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52934         * elf/tst-auditmod4a.c: Move to ...
52935         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52936         * elf/tst-auditmod4b.c: Move to ...
52937         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52938         * elf/tst-auditmod5a.c: Move to ...
52939         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52940         * elf/tst-auditmod5b.c: Move to ...
52941         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52942         * elf/tst-auditmod6a.c: Move to ...
52943         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52944         * elf/tst-auditmod6b.c: Move to ...
52945         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52946         * elf/tst-auditmod6c.c: Move to ...
52947         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52948         * elf/tst-auditmod7a.c: Move to ...
52949         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52950         * elf/tst-auditmod7b.c: Move to ...
52951         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52953 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52955         [BZ #15366]
52956         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52957         define unconditionally.
52958         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52959         define unconditionally.
52960         (INT8_C, INT16_C, etc.): Likewise.
52962 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52964         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52965         __ehdr_start with hidden visibility.
52967         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52969 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52971         * math/libm-test.inc (cos_test): Use accurate hex constants.
52972         (sincost_test): Likewise.
52974 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52976         * math/libm-test.inc (catan_test): Add more tests.
52977         (catanh_test): Likewise.
52979         * math/s_catanf.c (__catanf): Use suffixed floating-point
52980         constants.
52981         * math/s_catanhf.c (__catanhf): Likewise.
52982         * math/s_catanhl.c (__catanhl): Likewise.
52983         * math/s_catanl.c (__catanl): Likewise.
52985         [BZ #15394]
52986         * math/s_catan.c (__catan): Calculate imaginary part of result
52987         with log1p not log unless computing log of number close to 0.
52988         * math/s_catanf.c (__catanf): Likewise.
52989         * math/s_catanl.c (__catanl): Likewise.
52990         * math/s_catanh.c (__catanh): Calculate real part of result with
52991         log1p not log unless computing log of number close to 0.
52992         * math/s_catanhf.c (__catanhf): Likewise.
52993         * math/s_catanhl.c (__catanhl): Likewise.
52994         * math/libm-test.inc (catan_test): Add more tests.
52995         (catanh_test): Likewise.
52996         * sysdeps/i386/fpu/libm-test-ulps: Update.
52997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52999 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53001         * benchtests/Makefile: Mention files in which fast and slow
53002         paths of math functions are implemented.
53004 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53006         * sysdeps/posix/timespec_get.c: New file.
53008 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53010         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53011         POWER.
53012         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53013         for POWER.
53014         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53015         powerpc/power5/fpu folders.
53016         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53017         * benchtests/Makefile: Add modf testcase.
53018         * benchtests/bench-modf.c: New file: Benchmark test for mo
53020 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53022         [BZ #14888]
53023         * time/Makefile (tests): Add tst-strptime-whitespace.
53024         * time/strptime_l.c (get_number): Use ISSPACE.
53025         (__strptime_internal): Likewise.
53026         * time/tst-strptime-whitespace.c: New test case.
53028 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53030         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53031         member.
53032         (_nss_files_init): Set it here.
53034 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53036         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53037         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53038         unsigned.
53040 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53042         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53044 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53046         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53047         size just once.
53049 2013-04-21  David S. Miller  <davem@davemloft.net>
53051         * po/ru.po: Update Russion translation from translation project.
53053 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53055         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53056         and setfsgid.
53058 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53060         * configure.in: Remove i386 configure warning. Remove i386 case.
53061         * configure: Regenerate.
53062         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53063         Add example to error message.
53064         * sysdeps/i386/configure: Regenerate.
53066 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53068         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53069         slowtan.
53070         * benchtests/cos-inputs: New file.
53071         * benchtests/slowcos-inputs: New file.
53072         * benchtests/slowcos.c: New file.
53073         * benchtests/slowtan-inputs: New file.
53074         * benchtests/slowtan.c: New file.
53075         * benchtests/tan-inputs: New file.
53077 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53079         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53080         considered kosher.
53082 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53084         * benchtests/Makefile: Include cppflags-iterator.mk to add
53085         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53087         * Makefile.in (bench-clean): New target.
53088         * benchtests/Makefile (bench-clean): Likewise.
53090 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53092         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53094 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53096         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53098 2013-04-15  Andreas Schwab  <schwab@suse.de>
53100         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53101         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53102         * nscd/pwdcache.c (cache_addpw): Likewise.
53103         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53104         more than recsize.
53106 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53108         * benchtests/Makefile (bench): Write all output to
53109         bench-out.tmp together.
53111 2013-04-15  Andreas Schwab  <schwab@suse.de>
53113         * nscd/nscd.c (main): Don't fork again after closing files.
53115 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53117         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53119         * benchtests/Rules (bench-deps): Collect dependencies into a
53120         single variable.  Add Makefile to dependencies.
53121         ($(objpfx)bench-%.c): Depend on bench-deps.
53123 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53124             Xavier Roche  <roche+kml2@exalead.com>
53126         [BZ #15361]
53127         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53128         just that it's a file descriptor.
53129         * manual/llio.texi (Synchronizing AIO Operations): Update description
53130         for EBADF error from aio_fsync.
53132 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53134         * Rules (bench): Move target definition...
53135         * benchtests/Makefile: ... here.
53137 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53139         * math/libm-test.inc (cos_test): Fix PI/2 test.
53140         (sincos_test): Likewise.
53141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53142         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53144 2013-04-11  Andreas Schwab  <schwab@suse.de>
53146         [BZ #13988]
53147         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53148         accept exponent character only when digits were seen.
53149         * stdio-common/Makefile (tests): Add bug26.
53150         * stdio-common/bug26.c: New file.
53152         [BZ #14293]
53153         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53154         non-freeable.
53156 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53158         * Makeconfig (rtld-prefix): Define built linker prefix.
53159         * Rules (run-bench): Use it.
53160         * math/Makefile (run-regen-ulps): Likewise.
53162         * Rules (bench): Remove eval.
53164 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53165             Roland McGrath  <roland@hack.frob.com>
53166             Ondrej Bilka  <neleai@seznam.cz>
53168         [BZ #15346]
53169         * time/getdate.c: Include ctype.h and alloca.h.
53170         (__getdate_r): Trim leading and trailing spaces of input.
53171         * time/tst-getdate.c (tests): Add tests with leading and
53172         trailing spaces.
53174 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53176         [BZ #14280]
53177         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53178         when computing value.
53180 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53182         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53183         Use testrun.sh to run libm tests.
53185         [BZ #15309]
53186         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53188 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53190         [BZ #15264]
53191         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53193 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53195         * Makefile.in (regen-ulps): New target.
53196         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53197         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53198         [ifneq (no,$(PERL)] (regen-ulps): New target.
53199         [ifeq (no,$(PERL)] (regen-ulps): New target.
53200         * math/libm-test.inc (ulps_file_name): Define.
53201         (output_dir): New variable.
53202         (options): Add "output-dir" option.
53203         (parse_opt): Handle 'o' case.
53204         (main): If output_dir is non-NULL use it as a prefix
53205         otherwise use "".
53206         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53208 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53210         [BZ #10060, #10062]
53211         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53212         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53213         fail configure if __sync_val_compare_and_swap is not inlined.
53214         * sysdeps/i386/configure: Regenerate.
53215         * configure.in: Build for i686 when configured for i386.
53216         * configure: Regenerate.
53217         * README: Remove i386 reference.
53219 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53221         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53222         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53224 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53226         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53227         (lmsnanval): New variables.
53228         (F): Add conversion tests.
53229         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53230         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53232         * stdio-common/tstdiomisc.c (F): Properly collect individual
53233         tests' results.
53235         [BZ #14686, #15336]
53236         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53237         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53238         Instead, use input NaN values or generate a qNaN by arithmetic
53239         operation.  Also fix bugs to comply with the standard.
53240         * math/libm-test.inc (remainder_test): Add more tests.
53242         [BZ #15335, #15342]
53243         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53245         input NaN values or generate a qNaN by arithmetic operation.
53247         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53248         unreachable code.
53250         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53251         definitions.
53253 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53255         [BZ #14478]
53256         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53257         underflowed result.
53258         * math/s_cexpf.c (__cexpf): Likewise.
53259         * math/s_cexpl.c (__cexpl): Likewise.
53260         * math/libm-test.inc (cexp_test): Add more tests.
53262 2013-04-03  Andreas Schwab  <schwab@suse.de>
53264         [BZ #15330]
53265         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53266         order arrays from heap if bigger than alloca cutoff.
53268 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53270         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53271         (SNAN_TESTS_double): Refer to GCC PR56831.
53272         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53273         GCC PR56828.
53275 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53277         * Rules (bench): Move bench.out after the run is complete.
53279         * Rules (bench): Echo currently running benchmark.
53281         * benchtests/Makefile (bench): Add atan and slowatan.
53282         * benchtests/atan-inputs: New file.
53283         * benchtests/slowatan-inputs: New file.
53284         * benchtests/slowatan.c: New file.
53286         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53287         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53288         its value.
53290         [BZ #15305]
53291         * sysdeps/unix/sysv/linux/kernel-features.h
53292         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53293         __ASSUME_XFS_RESTRICTED_CHOWN.
53294         * sysdeps/unix/sysv/linux/pathconf.c
53295         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53296         Save and restore errno.
53298 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53300         [BZ #15327]
53301         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53302         arguments using __kernel_casinh.
53303         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53304         arguments using __kernel_casinhf.
53305         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53306         arguments using __kernel_casinhl.
53307         * math/libm-test.inc (cacosh_test): Add more tests.
53308         * sysdeps/i386/fpu/libm-test-ulps: Update.
53309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53311 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53313         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53316         * bench/Makefile (bench): Add sin and slowsin.
53317         * benchtests/sin-inputs: New file.
53318         * benchtests/slowsin-inputs: New file.
53319         * benchtests/slowsin.c: New file.
53321         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53322         (bench): Add slowexp and slowpow.
53323         (exp-ITER): Increase iterations.
53324         (pow-ITER): Likewise.
53325         * benchtests/exp-inputs: Change input.
53326         * benchtests/pow-inputs: Likewise.
53327         * benchtests/slowexp-inputs: New file.
53328         * benchtests/slowexp.c: New file.
53329         * benchtests/slowpow-inputs: New file.
53330         * benchtests/slowpow.c: New file.
53332 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53334         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53335         instructions.
53336         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53337         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53338         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53339         * benchtests/Makefile: Add rint benchtest.
53340         * benchtests/rint-inputs: Input for rint benchtest.
53342 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53344         * Versions.def (libm): Add GLIBC_2.18.
53345         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53346         hidden libm prototypes.
53347         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53348         * math/Makefile (libm-calls): Add s_issignaling.
53349         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53350         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53351         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53352         declaration.
53353         * math/math.h [__USE_GNU] (issignaling): New macro.
53354         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53355         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53356         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53357         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53358         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53359         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53360         * manual/arith.texi (issignaling): New section.
53361         * manual/libm-err-tab.pl (@all_functions): Update comment.
53362         * math/gen-libm-test.pl (parse_args): Apply special handling for
53363         issignaling.
53364         * math/libm-test.inc (print_float, issignaling_test): New
53365         functions.
53366         (check_float_internal): Add issignaling checks.
53367         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53368         default definition.
53369         * sysdeps/powerpc/math-tests.h: New file.
53370         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53371         tests.
53372         * math/test-snan.c (TEST_FUNC): Likewise.
53374 2013-03-30  David S. Miller  <davem@davemloft.net>
53376         * po/de.po: Update from translation team.
53378 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53380         [BZ #10357]
53381         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53382         imaginary part less than 1.0 and real part less than 0.5
53383         specially.
53384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53386         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53387         (cacos_test): Add more tests.
53388         (casin_test): Likewise.
53389         (casinh_test): Likewise.
53390         * sysdeps/i386/fpu/libm-test-ulps: Update.
53391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53393 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53395         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53396         ONE with its value.
53398         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53399         (__pow_mp): Replace ONE and MONE with their values.
53400         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53401         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53402         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53403         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53404         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53405         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53407         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53409         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53410         (__pow_mp): Replace ZERO and MZERO with their values.
53411         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53412         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53413         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53414         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53415         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53416         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53417         (__sqr): Likewise.
53419         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53421         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53423 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53425         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53426         Declare with __attribute__ ((weak)).
53427         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53428         Call __call_tls_dtors only if it's not NULL.
53430 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53432         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53433         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53434         magic __ehdr_start linker symbol if it's defined.
53435         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53436         them up here if it was already done.
53438         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53439         (_dl_aux_init): Use const in cast when setting it.
53440         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53441         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53442         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53444         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53445         Declare them here.
53446         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53447         * csu/libc-tls.c: Nor here.
53448         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53450         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53451         (__libc_message): Never call vsyslog.
53453 2013-03-28  Alan Modra  <amodra@gmail.com>
53455         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53456         Define as empty.
53457         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53458         Likewise.
53460 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53462         [BZ #15214]
53463         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53464         underflow.
53465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53467 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53469         [BZ #15304]
53470         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53471         Don't add gid passed as argument.
53473         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53475 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53477         [BZ #15307]
53478         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53479         imaginary part between 1.0 and 1.5 and real part less than 0.5
53480         specially.
53481         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53482         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53483         * math/libm-test.inc (cacos_test): Add more tests.
53484         (casin_test): Likewise.
53485         (casinh_test): Likewise.
53486         * sysdeps/i386/fpu/libm-test-ulps: Update.
53487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53489 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53491         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53492         constants.
53493         (norm): Likewise.
53494         (denorm): Likewise.
53495         (__dbl_mp): Likewise.
53496         (add_magnitudes): Likewise.
53497         (sub_magnitudes): Likewise.
53498         (__add): Likewise.
53499         (__sub): Likewise.
53500         (__mul): Likewise.
53501         (__sqr): Likewise.
53502         (__inv): Likewise.
53503         (__dvd): Likewise.
53505         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53506         commented code.
53507         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53508         (__dubcos): Likewise.
53509         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53510         (__ieee754_acos): Likewise.
53511         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53512         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53513         (__exp1): Likewise.
53514         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53515         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53516         (log1): Likewise.
53517         (my_log2): Likewise.
53518         (checkint): Likewise.
53519         * sysdeps/ieee754/dbl-64/e_remainder.c
53520         (__ieee754_remainder): Likewise.
53521         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53522         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53523         (bsloww): Likewise.
53524         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53526         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53527         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53528         MANTISSA_STORE_T to store computations on mantissa.  Use
53529         macros for rounding and division.
53530         (denorm): Likewise.
53531         (__dbl_mp): Likewise.
53532         (add_magnitudes): Likewise.
53533         (sub_magnitudes): Likewise.
53534         (__mul): Likewise.
53535         (__sqr): Likewise.
53536         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53537         powers of two in terms of TWOPOW macro.
53538         (mp_no): Make type of mantissa as MANTISSA_T.
53539         [!RADIXI]: Define RADIXI.
53540         [!TWO52]: Define TWO52.
53541         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53543 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53545         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53546         llroundl symbol when building for PPC32.
53548 2013-03-24  Mark H Weaver  <mhw@netris.org>
53550         * manual/arith.texi (Normalization Functions): Fix prototypes for
53551         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53553 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53555         [BZ #13889]
53556         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53557         high value to check if expl overflow.
53558         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53559         to check for underflow and overflow.
53560         * math/libm-test.inc: Add exp test.
53562 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53564         [BZ #11120]
53565         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53566         with NOT_IN_libc.
53568 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53570         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53571         symbol.
53573 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53575         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53576         wrap blocks consisting of several statements.
53578         * sysdeps/generic/math-tests.h: New file.
53579         * sysdeps/i386/fpu/math-tests.h: Likewise.
53580         * math/test-snan.c: Include it.
53581         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53583 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53585         [BZ #15285]
53586         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53587         (__ieee754_j0l): Do not improve calculations using cos of twice
53588         input for inputs above LDBL_MAX / 2.0L.
53589         (__ieee754_y0l): Likewise.
53590         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53591         (__ieee754_j1l): Do not improve calculations using cos of twice
53592         input for inputs above LDBL_MAX / 2.0L.
53593         (__ieee754_y1l): Likewise.
53594         * math/libm-test.inc (j0_test): Add another test.
53595         (j1_test): Likewise.
53596         (y0_test): Likewise.
53597         (y1_test): Likewise.
53598         * sysdeps/i386/fpu/libm-test-ulps: Update.
53600 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53602         * Rules ($(objpfx)bench-%.c): Include code from a C source
53603         file.
53605 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53607         [BZ #15287]
53608         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53609         imaginary part 1.0 and real part less than 0.5 specially.
53610         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53611         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53612         * math/libm-test.inc (cacos_test): Add more tests.
53613         (casin_test): Likewise.
53614         (casinh_test): Likewise.
53615         * sysdeps/i386/fpu/libm-test-ulps: Update.
53616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53618 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53620         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53621         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53623 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53625         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53626         * config.make.in (config-cflags-sse4): Remove variable.
53627         (config-cflags-avx): Likewise.
53628         (config-cflags-sse2avx): Likewise.
53629         (config-cflags-novzeroupper): Likewise.
53630         (config-asflags-i686): Likewise.
53631         (have-mfma4): Likewise.
53632         (have-as-vis3): Likewise.
53633         (MIG): Likewise.
53634         * configure.in (MIG): Do not AC_SUBST.
53635         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53636         (libc_cv_cc_sse4): Do not AC_SUBST.
53637         (libc_cv_cc_avx): Likewise.
53638         (libc_cv_cc_sse2avx): Likewise.
53639         (libc_cv_cc_novzeroupper): Likewise.
53640         (libc_cv_cc_fma4): Likewise.
53641         (libc_cv_as_i686): Likewise.
53642         (libc_cv_sparc_as_vis3): Likewise.
53643         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53644         LIBC_CONFIG_VAR.
53645         (config-asflags-i686): Likewise.
53646         (config-cflags-avx): Likewise.
53647         (config-cflags-sse2avx): Likewise.
53648         (have-mfma4): Likewise.
53649         (config-cflags-novzeroupper): Likewise.
53650         * sysdeps/mach/configure.in (MIG): Likewise.
53651         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53652         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53653         LIBC_CONFIG_VAR.
53654         (config-cflags-avx): Likewise.
53655         (config-cflags-sse2avx): Likewise.
53656         (have-mfma4): Likewise.
53657         (config-cflags-novzeroupper): Likewise.
53658         * configure: Regenerated.
53659         * sysdeps/i386/configure: Likewise.
53660         * sysdeps/mach/configure: Likewise.
53661         * sysdeps/sparc/configure: Likewise.
53662         * sysdeps/x86_64/configure: Likewise.
53664 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53666         [BZ #14812]
53667         * locale/programs/localedef.c (options): Put N_ translation marker
53668         on argument names, not just descriptions.
53670 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53672         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53674 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53676         [BZ #14176]
53677         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53679 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53681         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53682         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53683         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53684         [!BEFORE_ABORT] (before_abort): New function.
53685         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53686         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53687         (writev_for_fatal): New function.
53688         (WRITEV_FOR_FATAL): New macro; call that.
53689         (backtrace_and_maps): New function.
53690         (BEFORE_ABORT): New macro; call that.
53691         (struct str_list): Type removed.
53692         (__libc_message, __libc_fatal): Functions removed.
53693         Include <sysdeps/posix/libc_fatal.c> instead.
53695 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53697         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53698         constants.
53699         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53700         double constants.
53702 2013-03-19  Andreas Schwab  <schwab@suse.de>
53704         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53705         * sysdeps/gnu/configure: Regenerate.
53707         * configure.in: Substitute libc_cv_rtlddir.
53708         * configure: Regenerate.
53709         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53710         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53711         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53712         * elf/Makefile (install-others, CFLAGS-interp.c)
53713         (ldso_install, common-ldd-rewrite): Likewise.
53714         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53715         $(inst_slibdir)/$(rtld-installed-name).
53716         * scripts/rellns-sh: Add -p option.
53717         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53718         for source.
53720 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53722         * manual/nptl.texi: Renamed to ...
53723         * manual/threads.texi: ... this.
53724         * manual/Makefile (chapters): Update.
53726 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53728         [BZ #14812]
53729         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53730         on argument names, not just descriptions.
53731         * malloc/memusagestat.c (options): Likewise.
53732         * nss/getent.c (options): Likewise.
53734 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53736         [BZ #14812]
53737         * iconv/iconv_prog.c (options): Put N_ translation marker
53738         on argument names, not just descriptions.
53739         * iconv/iconvconfig.c (options): Likewise.
53741 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53743         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53744         implementation which is faster on all x86_64 architectures.
53745         Tested on AMD, Intel Nehalem, SNB, IVB.
53746         * sysdeps/x86_64/strnlen.S: Likewise.
53748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53749         Remove all multiarch strlen and strnlen versions.
53750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53751         Remove strlen and strnlen related parts.
53753         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53754         Inline strlen part.
53755         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53757         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53758         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53759         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53760         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53761         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53762         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53764 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53766         * manual/memory.texi (Malloc Tunable Parameters):
53767         Sort parameters alphabetically. Add comments for missing entries.
53769 2013-03-17  David S. Miller  <davem@davemloft.net>
53771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53773 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53775         [BZ #15283]
53776         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53777         for arguments at most half maximum finite value.
53778         * math/libm-test.inc (j0_test): Add more tests.
53779         (j1_test): Likewise.
53780         (y0_test): Likewise.
53781         (y1_test): Likewise.
53782         * sysdeps/i386/fpu/libm-test-ulps: Update.
53783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53785         [BZ #14155]
53786         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53787         1 / x and functions P and Q for arguments above 0x1p256L.
53788         (__ieee754_y0l): Likewise.
53789         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53790         (__ieee754_y1l): Likewise.
53791         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53792         (j1_test): Likewise.
53793         (y0_test): Likewise.
53794         (y1_test): Likewise.
53796 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53798         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53799         variable.
53801 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53803         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53804         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53805         zero since it's initialized to EXEC_PAGESIZE.
53807         * sysdeps/unix/sysv/linux/ldsodefs.h
53808         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53809         * sysdeps/generic/ldsodefs.h: ... here.
53811 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53813         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53815         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53816         math/test-snan.c.
53817         * math/test-snan.c: Renamed from
53818         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53819         * math/Makefile (tests): Add test-snan.
53820         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53821         test-powerpc-snan.
53823         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53824         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53825         functions.
53826         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53827         __builtin_nan family of functions.
53828         * math/libm-test.inc (initialize): Initialize qnan_value with
53829         __builtin_nan family of functions.
53830         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53831         Remove variables.
53832         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53833         Remove functions.
53834         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53835         storage class.  Initialize qNaN_var and sNaN_var with
53836         __builtin_nan and __builtin_nans families of functions,
53837         respectively.
53839         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53840         (sqrt_test): Remove duplicate test with qNaN input.
53841         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53842         (round_test, signbit_test, significand_test): Note missing +/-Inf
53843         as well as qNaN tests.
53845         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53846         qNaN_var.  Fix a few strings, too.
53847         * math/libm-test.inc (nan_value): Rename to qnan_value.
53848         * math/gen-libm-test.pl (%beautify): Adjust to that.
53849         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53850         * math/test-misc.c (main): Likewise.
53851         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53852         to __qnan_bytes, and __qnan_union, respectively.
53853         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53854         Likewise.
53855         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53856         and lqnanval, respectively.
53857         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53858         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53859         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53860         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53862         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53863         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53864         doubles.
53866         * math/test-misc.c (main): Fix copy'n'pastos.
53867         * misc/tst-efgcvt.c (special): Likewise.
53869         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53870         Remove declarations.
53872 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53874         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53875         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53876         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53877         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53879 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53881         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53882         macro to return vdso values correctly in IFUNC implementations.
53883         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53884         Optimization by using IFUNC.
53886 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53887             Richard Henderson  <rth@redhat.com>
53888             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53890         * Makefile.in (bench): New target.
53891         * NEWS: Mention the benchmark framework.
53892         * Rules (bench): Likewise.
53893         (binaries-bench): Generate binaries for functions to
53894         benchmark.
53895         * benchtests/Makefile: New makefile for benchmark tests.
53896         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53897         programs.
53898         * benchtests/exp-inputs: New input file for EXP function.
53899         * benchtests/pow-inputs: New input file for POW function.
53900         * scripts/bench.pl: New script to generate source files for
53901         benchmark programs.
53903 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53905         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53906         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53907         computations on mantissa.  Use macros for rounding and
53908         division.
53909         (denorm): Likewise.
53910         (__dbl_mp): Likewise.
53911         (add_magnitudes): Likewise.
53912         (sub_magnitudes): Likewise.
53913         (__mul): Likewise.
53914         (__sqr): Likewise.
53915         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53916         powers of two in terms of TWOPOW macro.
53917         (mp_no): Make type of mantissa as MANTISSA_T.
53918         [!RADIXI]: Define RADIXI.
53919         [!TWO52]: Define TWO52.
53920         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53922         * manual/nptl.texi (cindex): Modify threads to pthreads.
53924 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53926         * sysdeps/x86_64/preconfigure: Regenerated.
53928 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53930         [BZ #14155]
53931         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53932         0x1p28 and above.
53933         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53934         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53935         0x1p28 and above.
53936         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53937         * math/libm-test.inc (j0_test): Do not allow one spurious
53938         underflow exception.
53939         (y1_test): Likewise.
53941 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53943         * manual/Makefile (chapters): Add nptl.
53944         * manual/debug.texi (Debugging Support): Add link to Threads
53945         chapter.
53946         * manual/nptl.texi: New file.
53948         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53950 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53952         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53953         for non-NULL pointer before the memory validity test. Pointed
53954         out by Holger Brunck <holger.brunck@keymile.com>.
53956 2013-03-13  Andreas Schwab  <schwab@suse.de>
53958         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53959         instead of .os.
53961 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53963         * timezone/zic.c: Update from tzcode 2013b.
53965 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53967         * manual/install.texi (Configuring and compiling):
53968         Mention i686 and i586.
53969         * INSTALL: Regenerate.
53971 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53973         * sysdeps/init_array/elf-init.c: New file.
53974         * csu/elf-init.c
53975         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53976         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53978         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53979         __gmon_start__ as global, but as static with a .preinit_array pointer.
53980         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53981         * sysdeps/init_array/crti.S: New file, empty except for comments.
53982         * sysdeps/init_array/crtn.S: Likewise.
53984 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53986         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53987         definining bcopy.
53988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53989         Remove Prefer_SSE_for_memop.
53990         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53991         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53992         HAS_PREFER_SSE_FOR_MEMOP.
53993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53994         memset-x86-64.
53995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53996         Remove bzero, memset ifunc support.
53997         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53998         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53999         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54000         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54002 2013-03-11  Andreas Schwab  <schwab@suse.de>
54004         [BZ #15234]
54005         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54006         by SHLIB_COMPAT.
54007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54008         (GLIBC_2.16): Remove pthread_atfork.
54010 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54012         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54013         (ptestcases.h): Likewise.
54015 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54017         * Makeconfig ($(common-objpfx)config.status): Depend on
54018         sysdeps/*/preconfigure{,.in} too.
54020 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54022         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54023         (__free_hook): Use void * instead of __malloc_ptr_t.
54024         (__malloc_hook): Likewise.
54025         (__realloc_hook): Likewise.
54026         (__memalign_hook): Likewise.
54027         (__after_morecore_hook): Likewise.
54028         * malloc/arena.c (save_malloc_hook): Likewise.
54029         (save_free_hook): Likewise.
54030         * malloc/hooks.c (malloc_hook_ini): Likewise.
54031         (realloc_hook_ini): Likewise.
54032         (memalign_hook_ini): Likewise.
54033         * malloc/malloc.c (malloc_hook_ini): Likewise.
54034         (realloc_hook_ini): Likewise.
54035         (memalign_hook_ini): Likewise.
54036         (__free_hook): Likewise.
54037         (__malloc_hook): Likewise.
54038         (__realloc_hook): Likewise.
54039         (__memalign_hook): Likewise.
54040         (__libc_malloc): Likewise.
54041         (__libc_free): Likewise.
54042         (__libc_realloc): Likewise.
54043         (__libc_memalign): Likewise.
54044         (__libc_valloc): Likewise.
54045         (__libc_pvalloc): Likewise.
54046         (__libc_calloc): Likewise.
54047         (__posix_memalign): Likewise.
54048         * malloc/morecore.c (__sbrk): Likewise.
54049         (__default_morecore): Likewise.
54051         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54053         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54054         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54055         __malloc_ptrdiff_t.
54057         * malloc/malloc.h (__malloc_size_t): Remove macro.
54058         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54059         __malloc_size_t.
54060         (old_memalign_hook): Likewise.
54061         (old_realloc_hook): Likewise.
54062         (struct hdr): Likewise.
54063         (flood): Likewise.
54064         (mallochook): Likewise.
54065         (memalignhook): Likewise.
54066         (reallochook): Likewise.
54067         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54068         (tr_old_realloc_hook): Likewise.
54069         (tr_old_memalign_hook): Likewise.
54070         (tr_mallochook): Likewise.
54071         (tr_reallochook): Likewise.
54072         (tr_memalignhook): Likewise.
54074 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54077         default_ldbl_pack and using as default implementation.
54078         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54079         implementation.
54080         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54081         redundant definition.
54082         (ldbl_insert_mantissa): Likewise.
54083         (ldbl_canonicalize): Likewise.
54084         (ldbl_nearbyint): Likewise.
54085         (ldbl_pack): Rename to ldbl_pack_ppc.
54086         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54087         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54088         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54090 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54093         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54094         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54095         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54097         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54098         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54099         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54101 2013-03-07  Andreas Jaeger  <aj@suse.de>
54103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54104         bits/mman-linux.h.
54106 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54108         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54109         Include mpa.h and declare __MPEXP.
54110         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54111         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54112         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54113         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54114         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54115         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54116         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54118         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54119         (__slowpow): Use long double EXPL and LOGL functions to
54120         compute POW.
54121         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54122         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54123         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54124         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54125         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54126         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54129         intermediate variable to calculate exponent.
54130         (__sqr): Likewise.
54131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54132         Likewise.
54133         (__sqr): Likewise.
54135         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54136         [!NO__SQR]: Define __sqr.
54137         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54138         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54139         sysdeps/ieee754/dbl-64/mpa.c.
54140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54142         [BZ #12723]
54143         * posix/Makefile (tests): Add tst-pathconf.
54144         * posix/tst-pathconf.c: New test case.
54145         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54146         _PC_PIPE_BUF.
54147         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54149 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54151         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54153 2013-03-06  Andreas Jaeger  <aj@suse.de>
54155         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54156         definition via __MAP_ANONYMOUS.
54158         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54159         it's not part of Linux headers.
54161         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54162         (MAP_HUGE_MASK): Define.
54164         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54165         Define.
54166         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54167         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54168         Define.
54169         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54170         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54171         Define.
54172         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54173         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54174         Define.
54175         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54177         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54178         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54179         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54180         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54181         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54182         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54184         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54185         Handle f2fs.
54187         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54188         Handle f2fs and efivarfs.
54190         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54191         f2fs.
54193         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54194         (EFIVARFS_MAGIC): Add.
54195         (F2FS_LINK_MAX): Add.
54197 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54199         * stdio-common/vfprintf.c: Replace __builtin_expect with
54200         __glibc_unlikely.
54202 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54204         [BZ #13550]
54205         * sysdeps/generic/bp-sym.h: Remove file.
54206         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54207         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54208         <bp-sym.h> and <bp-asm.h>.
54209         (__longjmp): Don't use BP_SYM.
54210         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54211         and <bp-asm.h>.
54212         (memcpy): Don't use BP_SYM.
54213         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54214         <bp-sym.h> and <bp-asm.h>.
54215         (memcpy): Don't use BP_SYM.
54216         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54217         <bp-asm.h>.
54218         (memcpy): Don't use BP_SYM.
54219         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54220         <bp-asm.h>.
54221         (memset): Don't use BP_SYM.
54222         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54223         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54224         (__bzero): Don't use BP_SYM.
54225         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54226         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54227         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54228         <bp-sym.h> and <bp-asm.h>.
54229         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54230         pointers.
54231         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54232         <bp-sym.h> and <bp-asm.h>.
54233         (memcpy): Don't use BP_SYM.
54234         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54235         <bp-sym.h> and <bp-asm.h>.
54236         (memset): Don't use BP_SYM.
54237         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54238         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54239         (__bzero): Don't use BP_SYM.
54240         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54241         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54242         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54243         <bp-sym.h> and <bp-asm.h>.
54244         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54245         pointers.
54246         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54247         <bp-sym.h> and <bp-asm.h>.
54248         (memcpy): Don't use BP_SYM.
54249         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54250         <bp-sym.h> and <bp-asm.h>.
54251         (memset): Don't use BP_SYM.
54252         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54253         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54254         (__bzero): Don't use BP_SYM.
54255         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54256         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54257         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54258         <bp-sym.h> and <bp-asm.h>.
54259         (__memchr): Don't use BP_SYM.
54260         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54261         <bp-sym.h> and <bp-asm.h>.
54262         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54263         pointers.
54264         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54265         <bp-sym.h> and <bp-asm.h>.
54266         (memcpy): Don't use BP_SYM.
54267         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54268         <bp-sym.h> and <bp-asm.h>.
54269         (__mempcpy): Don't use BP_SYM.
54270         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54271         <bp-sym.h> and <bp-asm.h>.
54272         (__memrchr): Don't use BP_SYM.
54273         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54274         <bp-sym.h> and <bp-asm.h>.
54275         (memset): Don't use BP_SYM.
54276         (__bzero): Likewise.
54277         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54278         <bp-sym.h> and <bp-asm.h>.
54279         (__rawmemchr): Don't use BP_SYM.
54280         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54281         <bp-sym.h> and <bp-asm.h>.
54282         (__STRCMP): Don't use BP_SYM.
54283         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54284         <bp-sym.h> and <bp-asm.h>.
54285         (strchr): Don't use BP_SYM.
54286         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54287         <bp-sym.h> and <bp-asm.h>.
54288         (__strchrnul): Don't use BP_SYM.
54289         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54290         <bp-sym.h> and <bp-asm.h>.
54291         (strlen): Don't use BP_SYM.
54292         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54293         <bp-sym.h> and <bp-asm.h>.
54294         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54295         pointers.
54296         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54297         <bp-sym.h> and <bp-asm.h>.
54298         (__strnlen): Don't use BP_SYM.
54299         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54300         <bp-sym.h> and <bp-asm.h>.
54301         (__GI__setjmp): Don't use BP_SYM.
54302         (_setjmp): Likewise.
54303         (__sigsetjmp): Likewise.
54304         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54305         (L(start_addresses)): Don't use BP_SYM.
54306         (_start): Likewise.
54307         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54308         <bp-asm.h>.
54309         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54310         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54311         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54312         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54313         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54314         <bp-asm.h>.
54315         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54316         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54317         about bounded pointers.
54318         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54319         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54320         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54321         <bp-asm.h>.
54322         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54323         about bounded pointers.  Remove GKM FIXME comments.
54324         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54325         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54326         <bp-asm.h>.
54327         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54328         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54329         Remove GKM FIXME comments.
54330         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54331         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54332         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54333         <bp-asm.h>.
54334         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54335         about bounded pointers.  Remove GKM FIXME comment.
54336         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54337         and <bp-asm.h>.
54338         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54339         pointers.
54340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54341         <bp-sym.h> and <bp-asm.h>.
54342         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54344         <bp-sym.h> and <bp-asm.h>.
54345         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54346         comment.
54348 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54350         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54351         call free(NULL).
54353 2013-03-05  David S. Miller  <davem@davemloft.net>
54355         * po/es.po: Update from translation team.
54357 2013-03-05  Andreas Jaeger  <aj@suse.de>
54359         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54360         <bits/mman-linux.h>.
54361         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54362         is fine.
54363         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54364         <bits/mman-linux.h> to end of file.
54365         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54366         is fine.
54367         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54368         <bits/mman-linux.h> to end of file.
54369         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54370         is fine.
54371         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54372         <bits/mman-linux.h> to end of file.
54374         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54375         (MCL_CURRENT, MCL_FUTURE): Define here.
54377 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54379         [BZ #15232]
54380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54381         attribute_hidden.
54382         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54384 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54386         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54387         fourth parameter needed for rt_sigprocmask syscall.
54388         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54389         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54390         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54391         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54392         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54393         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54395 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54397         [BZ #13550]
54398         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54399         comment about bounded pointers.
54400         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54401         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54403 2013-03-04  Andreas Jaeger  <aj@suse.de>
54405         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54406         common definitions.
54408         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54409         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54410         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54411         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54412         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54413         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54415 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54417         [BZ #15055]
54418         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54419         __ieee754_sqrl instead of __sqrl.
54421 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54423         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54424         * sysdeps/powerpc/fpu_control.h: ... here.
54425         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54426         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54427         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54428         * sysdeps/powerpc/bits/mathinline.h: ... here.
54430 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54432         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54433         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54434         to just [NEED_DL_SYSINFO_DSO].
54435         * elf/dl-support.c: Likewise.
54436         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54437         * elf/rtld.c (dl_main): Likewise.
54438         * elf/setup-vdso.h (setup_vdso): Likewise.
54439         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54440         * sysdeps/unix/sysv/linux/dl-sysdep.c
54441         (_dl_discover_osversion): Likewise.
54443 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54445         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54446         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54448 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54450         * NEWS: Mention libm performance improvements and non-x86 PI
54451         futex support.
54453         * csu/libc-start.c (__pthread_initialize_minimal): Change
54454         function arguments.
54455         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54457 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54459         [BZ #13550]
54460         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54461         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54462         <bp-sym.h> and <bp-asm.h>.
54463         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54464         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54465         and <bp-asm.h>.
54466         (memcpy): Don't use BP_SYM.
54467         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54468         <bp-asm.h>.
54469         (__mpn_add_n): Don't use BP_SYM.
54470         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54471         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54472         and <bp-asm.h>.
54473         (__mpn_addmul_1): Don't use BP_SYM.
54474         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54475         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54476         <bp-sym.h>.
54477         (_setjmp): Don't use BP_SYM.
54478         (__novmx_setjmp): Likewise.
54479         (__GI__setjmp): Likewise.
54480         (__vmx_setjmp): Likewise.
54481         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54482         <bp-sym.h>.
54483         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54484         (__bzero): Don't use BP_SYM.
54485         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54486         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54487         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54488         <bp-sym.h> and <bp-asm.h>.
54489         (memcpy): Don't use BP_SYM.
54490         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54491         <bp-sym.h> and <bp-asm.h>.
54492         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54493         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54494         <bp-sym.h> and <bp-asm.h>.
54495         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54496         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54497         <bp-asm.h>.
54498         (__mpn_lshift): Don't use BP_SYM.
54499         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54500         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54501         <bp-asm.h>.
54502         (memset): Don't use BP_SYM.
54503         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54504         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54505         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54506         <bp-asm.h>.
54507         (__mpn_mul_1): Don't use BP_SYM.
54508         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54509         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54510         <bp-sym.h> and <bp-asm.h>.
54511         (memcmp): Don't use BP_SYM.
54512         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54513         <bp-sym.h> and <bp-asm.h>.
54514         (memcpy): Don't use BP_SYM.
54515         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54516         <bp-sym.h> and <bp-asm.h>.
54517         (memset): Don't use BP_SYM.
54518         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54519         <bp-sym.h> and <bp-asm.h>.
54520         (strncmp): Don't use BP_SYM.
54521         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54522         <bp-sym.h> and <bp-asm.h>.
54523         (memcpy): Don't use BP_SYM.
54524         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54525         <bp-sym.h> and <bp-asm.h>.
54526         (memset): Don't use BP_SYM.
54527         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54528         <bp-sym.h> and <bp-asm.h>.
54529         (__memchr): Don't use BP_SYM.
54530         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54531         <bp-sym.h> and <bp-asm.h>.
54532         (memcmp): Don't use BP_SYM.
54533         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54534         <bp-sym.h> and <bp-asm.h>.
54535         (memcpy): Don't use BP_SYM.
54536         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54537         <bp-sym.h> and <bp-asm.h>.
54538         (__mempcpy): Don't use BP_SYM.
54539         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54540         <bp-sym.h> and <bp-asm.h>.
54541         (__memrchr): Don't use BP_SYM.
54542         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54543         <bp-sym.h> and <bp-asm.h>.
54544         (memset): Don't use BP_SYM.
54545         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54546         <bp-sym.h> and <bp-asm.h>.
54547         (__rawmemchr): Don't use BP_SYM.
54548         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54549         <bp-sym.h> and <bp-asm.h>.
54550         (__STRCMP): Don't use BP_SYM.
54551         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54552         <bp-sym.h> and <bp-asm.h>.
54553         (strchr): Don't use BP_SYM.
54554         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54555         <bp-sym.h> and <bp-asm.h>.
54556         (__strchrnul): Don't use BP_SYM.
54557         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54558         <bp-sym.h> and <bp-asm.h>.
54559         (strlen): Don't use BP_SYM.
54560         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54561         <bp-sym.h> and <bp-asm.h>.
54562         (strncmp): Don't use BP_SYM.
54563         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54564         <bp-sym.h> and <bp-asm.h>.
54565         (__strnlen): Don't use BP_SYM.
54566         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54567         <bp-asm.h>.
54568         (__mpn_rshift): Don't use BP_SYM.
54569         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54570         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54571         <bp-sym.h> and <bp-asm.h>.
54572         (__sigsetjmp): Don't use BP_SYM.
54573         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54574         (L(start_addresses)): Don't use BP_SYM.
54575         (_start): Likewise.
54576         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54577         <bp-asm.h>.
54578         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54579         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54580         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54581         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54582         <bp-asm.h>.
54583         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54584         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54585         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54586         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54587         <bp-asm.h>.
54588         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54589         comments.
54590         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54591         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54592         <bp-asm.h>.
54593         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54594         FIXME comments.
54595         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54596         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54597         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54598         <bp-asm.h>.
54599         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54600         comment.
54601         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54602         and <bp-asm.h>.
54603         (strncmp): Don't use BP_SYM,
54604         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54605         <bp-asm.h>.
54606         (__mpn_sub_n): Don't use BP_SYM.
54607         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54608         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54609         and <bp-asm.h>.
54610         (__mpn_submul_1): Don't use BP_SYM.
54611         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54613         <bp-sym.h> and <bp-asm.h>.
54614         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54616         <bp-sym.h> and <bp-asm.h>.
54617         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54618         comment.
54620 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54623         Use ZK to minimize writes to Z.
54624         (sub_magnitudes): Simplify code a bit.
54625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54626         Use ZK to minimize writes to Z.
54627         (sub_magnitudes): Simplify code a bit.
54629 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54631         * csu/gmon-start.c: Add special exception to license text.
54633 2013-02-27  Richard Henderson  <rth@redhat.com>
54635         * scripts/config.guess: Update from config.git.
54636         * scripts/config.sub: Likewise.
54638 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54640         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54642         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54644         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54646         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54648         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54650 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54652         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54653         [$(build-shared = yes].
54655 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54657         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54658         (__mul): Reduce iterations for calculating mantissa.
54660         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54661         MPTWO.
54662         (__mpranred): Likewise.
54664         [BZ #15160]
54665         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54666         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54668 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54670         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54671         Define __attribute__.
54673 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54675         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54676         unused.
54677         * posix/regex_internal.h (__attribute): Remove.
54678         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54679         (re_string_context_at): Likewise.
54680         (bitset_not): Use __attribute__ and mark function as possibly
54681         unused.
54682         (bitset_merge): Likewise.
54683         (bitset_mask): Likewise.
54684         (re_string_char_size_at): Likewise.
54685         (re_string_wchar_at): Likewise.
54686         (re_string_elem_size_at): Likewise.
54688 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54690         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54691         code.
54692         (cc32): Likewise.
54694         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54695         (__acr): Likewise.
54696         (__cpy): Likewise.
54697         (norm): Likewise.
54698         (denorm): Likewise.
54699         (__dbl_mp): Likewise.
54700         (add_magnitudes): Likewise.
54701         (sub_magnitudes): Likewise.
54702         (__mul): Likewise.
54703         (__inv): Likewise.
54705         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54706         style.
54708         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54709         style.
54711         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54712         code.
54714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54715         up changes with default code.
54716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54717         Likewise.
54719 2013-02-24  Allan McRae  <allan@archlinux.org>
54721         * manual/socket.texi (The Internet Namespace): Order menu items
54722         to match that in the file.
54724         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54725         node listing of the info page menu.
54727 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54729         [BZ #13550]
54730         * sysdeps/i386/bp-asm.h: Remove file.
54731         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54732         (PARMS): Do not use macros from bp-asm.h.
54733         (S1): Likewise.
54734         (S2): Likewise.
54735         (SIZE): Likewise.
54736         (__mpn_add_n): Do not use BP_SYM
54737         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54738         "bp-asm.h".
54739         (PARMS): Do not use macros from bp-asm.h.
54740         (S1): Likewise.
54741         (SIZE): Likewise.
54742         (__mpn_addmul_1): Do not use BP_SYM
54743         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54744         "bp-asm.h".
54745         (PARMS): Do not use macros from bp-asm.h.
54746         (SIGMSK): Likewise.
54747         (_setjmp): Likewise.  Do not use BP_SYM.
54748         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54749         "bp-asm.h".
54750         (PARMS): Do not use macros from bp-asm.h.
54751         (SIGMSK): Likewise.
54752         (setjmp): Likewise.  Do not use BP_SYM.
54753         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54754         "bp-asm.h".
54755         (PARMS): Do not use macros from bp-asm.h.
54756         (__frexp): Do not use BP_SYM.
54757         (frexp): Likewise.
54758         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54759         "bp-asm.h".
54760         (PARMS): Do not use macros from bp-asm.h.
54761         (__frexpf): Do not use BP_SYM.
54762         (frexpf): Likewise.
54763         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54764         "bp-asm.h".
54765         (PARMS): Do not use macros from bp-asm.h.
54766         (__frexpl): Do not use BP_SYM.
54767         (frexpl): Likewise.
54768         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54769         "bp-asm.h".
54770         (PARMS): Do not use macros from bp-asm.h.
54771         (__remquo): Do not use BP_SYM.
54772         (remquo): Likewise.
54773         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54774         "bp-asm.h".
54775         (PARMS): Do not use macros from bp-asm.h.
54776         (__remquof): Do not use BP_SYM.
54777         (remquof): Likewise.
54778         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54779         "bp-asm.h".
54780         (PARMS): Do not use macros from bp-asm.h.
54781         (__remquol): Do not use BP_SYM.
54782         (remquol): Likewise.
54783         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54784         "bp-asm.h".
54785         (PARMS): Do not use macros from bp-asm.h.
54786         (DEST): Likewise.
54787         (SRC): Likewise.
54788         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54789         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54790         "bp-asm.h".
54791         (PARMS): Do not use macros from bp-asm.h.
54792         (strlen): Do not use BP_SYM.
54793         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54794         "bp-asm.h".
54795         (PARMS): Do not use macros from bp-asm.h.
54796         (S1): Likewise.
54797         (S2): Likewise.
54798         (SIZE): Likewise.
54799         (__mpn_add_n): Do not use BP_SYM.
54800         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54801         "bp-asm.h".
54802         (PARMS): Do not use macros from bp-asm.h.
54803         (S1): Likewise.
54804         (SIZE): Likewise.
54805         (__mpn_addmul_1): Do not use BP_SYM.
54806         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54807         weak_alias.
54808         (bzero): Likewise.
54809         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54810         "bp-asm.h".
54811         (PARMS): Do not use macros from bp-asm.h.
54812         (S): Likewise.
54813         (SIZE): Likewise.
54814         (__mpn_lshift): Do not use BP_SYM.
54815         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54816         "bp-asm.h".
54817         (PARMS): Do not use macros from bp-asm.h.
54818         (DEST): Likewise.
54819         (SRC): Likewise.
54820         (LEN): Likewise.
54821         (memcpy): Likewise.  Do not use BP_SYM.
54822         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54823         libc_hidden_def and weak_alias.
54824         (mempcpy): Do not use BP_SYM in weak_alias.
54825         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54826         "bp-asm.h".
54827         (PARMS): Do not use macros from bp-asm.h.
54828         (DEST): Likewise.
54829         (LEN): Likewise.
54830         [!BZERO_P] (CHR): Likewise.
54831         (memset): Likewise.  Do not use BP_SYM.
54832         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54833         "bp-asm.h".
54834         (PARMS): Do not use macros from bp-asm.h.
54835         (S1): Likewise.
54836         (SIZE): Likewise.
54837         (__mpn_mul_1): Do not use BP_SYM.
54838         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54839         "bp-asm.h".
54840         (PARMS): Do not use macros from bp-asm.h.
54841         (S): Likewise.
54842         (SIZE): Likewise.
54843         (__mpn_rshift): Do not use BP_SYM.
54844         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54845         "bp-asm.h".
54846         (PARMS): Do not use macros from bp-asm.h.
54847         (STR): Likewise.
54848         (CHR): Likewise.
54849         (strchr): Likewise.  Do not use BP_SYM.
54850         (index): Do not use BP_SYM in weak_alias.
54851         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54852         "bp-asm.h".
54853         (PARMS): Do not use macros from bp-asm.h.
54854         (DEST): Likewise.
54855         (SRC): Likewise.
54856         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54857         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54858         "bp-asm.h".
54859         (PARMS): Do not use macros from bp-asm.h.
54860         (strlen): Do not use BP_SYM.
54861         * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
54868         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54869         "bp-asm.h".
54870         (PARMS): Do not use macros from bp-asm.h.
54871         (S1): Likewise.
54872         (SIZE): Likewise.
54873         (__mpn_submul_1): Do not use BP_SYM.
54874         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54875         "bp-asm.h".
54876         (PARMS): Do not use macros from bp-asm.h.
54877         (S1): Likewise.
54878         (S2): Likewise.
54879         (SIZE): Likewise.
54880         (__mpn_add_n): Do not use BP_SYM.
54881         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54882         weak_alias.
54883         (bzero): Likewise.
54884         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54885         "bp-asm.h".
54886         (PARMS): Do not use macros from bp-asm.h.
54887         (BLK2): Likewise.
54888         (LEN): Likewise.
54889         (memcmp): Do not use BP_SYM.
54890         (bcmp): Do not use BP_SYM in weak_alias.
54891         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54892         "bp-asm.h".
54893         (PARMS): Do not use macros from bp-asm.h.
54894         (DEST): Likewise.
54895         (SRC): Likewise.
54896         (LEN): Likewise.
54897         (memcpy): Likewise.  Do not use BP_SYM.
54898         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54899         "bp-asm.h".
54900         (PARMS): Do not use macros from bp-asm.h.
54901         (DEST): Likewise.
54902         (SRC): Likewise.
54903         (LEN): Likewise.
54904         (memmove): Likewise.  Do not use BP_SYM.
54905         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54906         "bp-asm.h".
54907         (PARMS): Do not use macros from bp-asm.h.
54908         (DEST): Likewise.
54909         (SRC): Likewise.
54910         (LEN): Likewise.
54911         (__mempcpy): Likewise.  Do not use BP_SYM.
54912         (mempcpy): Do not use BP_SYM in weak_alias.
54913         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54914         "bp-asm.h".
54915         (PARMS): Do not use macros from bp-asm.h.
54916         (DEST): Likewise.
54917         (LEN): Likewise.
54918         [!BZERO_P] (CHR): Likewise.
54919         (memset): Likewise.  Do not use BP_SYM.
54920         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54921         "bp-asm.h".
54922         (PARMS): Do not use macros from bp-asm.h.
54923         (STR2): Likewise.
54924         (strcmp): Do not use BP_SYM.
54925         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54926         "bp-asm.h".
54927         (PARMS): Do not use macros from bp-asm.h.
54928         (STR): Likewise.
54929         (DELIM): Likewise.
54930         [USE_AS_STRTOK_R] (SAVE): Likewise.
54931         (FUNCTION): Likewise.  Do not use BP_SYM.
54932         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54933         aliases.
54934         (strtok_r): Likewise.
54935         (__GI___strtok_r): Likewise.
54936         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54937         (PARMS): Do not use macros from bp-asm.h.
54938         (S): Likewise.
54939         (SIZE): Likewise.
54940         (__mpn_lshift): Do not use BP_SYM.
54941         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54942         (PARMS): Do not use macros from bp-asm.h.
54943         (STR): Likewise.
54944         (CHR): Likewise.
54945         (__memchr): Do not use BP_SYM.
54946         (memchr): Do not use BP_SYM in weak_alias.
54947         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54948         (PARMS): Do not use macros from bp-asm.h.
54949         (BLK2): Likewise.
54950         (LEN): Likewise.
54951         (memcmp): Do not use BP_SYM.
54952         (bcmp): Do not use BP_SYM in weak_alias.
54953         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54954         (PARMS): Do not use macros from bp-asm.h.
54955         (S1): Likewise.
54956         (SIZE): Likewise.
54957         (__mpn_mul_1): Do not use BP_SYM.
54958         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54959         "bp-asm.h".
54960         (PARMS): Do not use macros from bp-asm.h.
54961         (STR): Likewise.
54962         (CHR): Likewise.
54963         (__rawmemchr): Do not use BP_SYM.
54964         (rawmemchr): Do not use BP_SYM in weak_alias.
54965         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54966         (PARMS): Do not use macros from bp-asm.h.
54967         (S): Likewise.
54968         (SIZE): Likewise.
54969         (__mpn_rshift): Do not use BP_SYM.
54970         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54971         (PARMS): Do not use macros from bp-asm.h.
54972         (SIGMSK): Likewise.
54973         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54974         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54975         (_start): Do not use BP_SYM.
54976         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54977         (PARMS): Do not use macros from bp-asm.h.
54978         (DEST): Likewise.
54979         (SRC): Likewise.
54980         (__stpcpy): Likewise.  Do not use BP_SYM.
54981         (stpcpy): Do not use BP_SYM in weak_alias.
54982         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54983         "bp-asm.h".
54984         (PARMS): Do not use macros from bp-asm.h.
54985         (DEST): Likewise.
54986         (SRC): Likewise.
54987         (LEN): Likewise.
54988         (__stpncpy): Likewise.  Do not use BP_SYM.
54989         (stpncpy): Do not use BP_SYM in weak_alias.
54990         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54991         (PARMS): Do not use macros from bp-asm.h.
54992         (STR): Likewise.
54993         (CHR): Likewise.
54994         (strchr): Likewise.  Do not use BP_SYM.
54995         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54996         "bp-asm.h".
54997         (PARMS): Do not use macros from bp-asm.h.
54998         (STR): Likewise.
54999         (CHR): Likewise.
55000         (__strchrnul): Likewise.  Do not use BP_SYM.
55001         (strchrnul): Do not use BP_SYM in weak_alias.
55002         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55003         "bp-asm.h".
55004         (PARMS): Do not use macros from bp-asm.h.
55005         (STOP): Likewise.
55006         (strcspn): Do not use BP_SYM.
55007         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55008         "bp-asm.h".
55009         (PARMS): Do not use macros from bp-asm.h.
55010         (STR): Likewise.
55011         (STOP): Likewise.
55012         (strpbrk): Likewise.  Do not use BP_SYM.
55013         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55014         "bp-asm.h".
55015         (PARMS): Do not use macros from bp-asm.h.
55016         (STR): Likewise.
55017         (CHR): Likewise.
55018         (strrchr): Likewise.  Do not use BP_SYM.
55019         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55020         (PARMS): Do not use macros from bp-asm.h.
55021         (SKIP): Likewise.
55022         (strspn): Do not use BP_SYM.
55023         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55024         (PARMS): Do not use macros from bp-asm.h.
55025         (STR): Likewise.
55026         (DELIM): Likewise.
55027         (SAVE): Likewise.
55028         (FUNCTION): Likewise.  Do not use BP_SYM.
55029         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55030         aliases.
55031         (strtok_r): Likewise.
55032         (__GI___strtok_r): Likewise.
55033         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55034         (PARMS): Do not use macros from bp-asm.h.
55035         (S1): Likewise.
55036         (S2): Likewise.
55037         (SIZE): Likewise.
55038         (__mpn_sub_n): Do not use BP_SYM.
55039         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55040         "bp-asm.h".
55041         (PARMS): Do not use macros from bp-asm.h.
55042         (S1): Likewise.
55043         (SIZE): Likewise.
55044         (__mpn_submul_1): Do not use BP_SYM.
55045         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55046         <bp-sym.h>.
55047         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55048         and <bp-asm.h>.
55049         (PARMS): Do not use macros from bp-asm.h.
55050         (FLAGS): Likewise.
55051         (PTID): Likewise.
55052         (TLS): Likewise.
55053         (CTID): Likewise.
55054         (__clone): Do not use BP_SYM.
55055         (clone): Do not use BP_SYM in weak_alias.
55056         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55057         and <bp-asm.h>.
55058         (PARMS): Do not use macros from bp-asm.h.
55059         (LEN): Likewise.
55060         (__mmap64): Do not use BP_SYM.
55061         (mmap64): Do not use BP_SYM in weak_alias.
55062         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55063         <bp-sym.h> and <bp-asm.h>.
55064         (PARMS): Do not use macros from bp-asm.h.
55065         (__posix_fadvise64_l64): Do not use BP_SYM.
55066         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55067         (PARMS): Do not use macros from bp-asm.h.
55068         (NSOPS): Likewise.
55069         (semtimedop): Do not use BP_SYM.
55070         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55071         and <bp-asm.h>.
55073 2013-02-21  Allan McRae  <allan@archlinux.org>
55075         * manual/message.texi (Charset conversion in gettext):
55076         Move @end statement to beginning of line.
55078 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55081         static.
55082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55083         Likewise.
55085         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55086         (denorm): Likewise.
55087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55090 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55092         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55093         tail-call to the resolved function if pltexit isn't needed.
55095 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55098         or Y being zero as being unlikely.
55099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55100         Likewise.
55102 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55104         * manual/nss.texi (System Databases and Name Service Switch):
55105         Remove frobnicate @pxref.
55107 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55109         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55110         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55112 2013-02-20  Petr Machata  <pmachata@redhat.com>
55114         * elf/elf.h (R_ARM_TARGET1): New macro.
55115         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55116         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55117         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55118         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55119         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55120         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55121         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55122         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55123         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55124         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55125         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55126         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55127         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55128         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55129         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55130         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55131         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55132         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55133         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55134         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55135         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55136         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55137         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55138         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55139         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55140         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55141         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55142         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55143         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55144         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55145         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55146         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55147         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55148         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55149         (R_ARM_THM_GOT_BREL12): Likewise.
55150         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55151         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55152         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55153         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55154         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55155         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55156         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55157         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55158         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55160 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55162         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55163         __attribute_used__ to __attribute__ ((unused)).
55165 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55167         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55168         powerpc mpa.c.
55169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55170         comment formatting.
55171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55173 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55175         [BZ #13550]
55176         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55177         Remove macro.
55178         (ENTER): Remove both macro definitions.
55179         (LEAVE): Likewise.
55180         (CHECK_BOUNDS_LOW): Likewise.
55181         (CHECK_BOUNDS_HIGH): Likewise.
55182         (CHECK_BOUNDS_BOTH): Likewise.
55183         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55184         (RETURN_BOUNDED_POINTER): Likewise.
55185         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55186         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55187         (POP_ERRNO_LOCATION_RETURN): Likewise.
55188         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55189         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55190         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55191         macros.
55192         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55193         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55194         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55195         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55196         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55197         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55198         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55199         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55200         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55201         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55202         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55203         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55204         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55205         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55206         removed macros.
55207         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55208         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55209         macros.
55210         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55211         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55212         * sysdeps/i386/i586/memset.S (memset): Likewise.
55213         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55214         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55215         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55216         macros.
55217         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55218         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55219         Change uses of L(2) to L(out).
55220         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55221         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55222         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55223         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55224         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55225         removed macros.
55226         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55227         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55228         macros.
55229         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55230         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55231         (RETURN): Do not use macro LEAVE.
55232         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55233         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55234         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55235         * sysdeps/i386/i686/memset.S (memset): Likewise.
55236         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55237         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55238         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55239         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55240         Likewise.
55241         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55242         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55243         L(1_2) and L(1_3) into L(1).
55244         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55245         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55246         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55247         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55248         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55249         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55250         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55251         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55252         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55253         macros.
55254         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55255         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55256         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55257         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55258         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55259         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55260         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55261         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55262         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55263         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55264         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55265         * sysdeps/i386/strspn.S (strspn): Likewise.
55266         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55267         conditional code.
55268         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55269         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55270         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55271         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55272         L(1_3) into L(1_1).
55273         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55274         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55275         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55276         macros.
55277         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55279 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55281         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55282         macro.
55284 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55286         * math/atest-exp.c (exp_mpn): Remove ROUND.
55287         * math/atest-exp2.c (exp_mpn): Likewise.
55288         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55290         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55291         * stdlib/tst-tls-atexit-lib.c: Likewise.
55292         * stdlib/tst-tls-atexit.c: Likewise.
55294 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55296         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55297         and __attribute_alloc_size__.
55299 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55301         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55302         __attribute_alloc_size__.
55303         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55304         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55306 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55308         * include/programs/xmalloc.h: New file.
55309         * catgets/gencat.c: Include it.
55310         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55311         * elf/pldd.c: Likewise.
55312         * iconv/iconv_charmap.c: Likewise.
55313         * iconv/iconvconfig.c: Likewise.
55314         * iconv/strtab.c: Likewise.
55315         * locale/programs/locale.c: Likewise.
55316         * locale/programs/localedef.h: Likewise.
55317         * locale/programs/simple-hash.c: Likewise.
55318         * nscd/nscd.h: Likewise.
55319         * nss/makedb.c: Likewise.
55320         * sysdeps/generic/ldconfig.h: Likewise.
55322 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55324         * Versions.def: Add GLIBC_2.18.
55325         * include/link.h (struct link_map): New member l_tls_dtor_count.
55326         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55327         (__call_tls_dtors): Likewise.
55328         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55329         __cxa_thread_atexit_impl.
55330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55331         Likewise.
55332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55333         Likewise.
55334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55335         Likewise.
55336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55337         Likewise.
55338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55340         Likewise.
55341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55342         Likewise.
55343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55345         Likewise.
55346         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55347         (tests): Add test case tst-tls-atexit.
55348         (modules-names): Add shared library for tst-tls-atexit.
55349         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55350         (GLIBC_PRIVATE): Add __call_tls_dtors.
55351         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55352         for libstdc++.
55353         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55354         * stdlib/tst-tls-atexit.c: New test case.
55355         * stdlib/tst-tls-atexit-lib.c: New test case.
55357         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55359         * elf/Versions (ld): Add _dl_find_dso_for_object.
55360         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55361         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55362         (dl_open_worker): Use _dl_find_dso_for_object.
55363         * elf/dl-sym.c (do_sym): Likewise.
55364         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55366 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55368         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55369         Syntactic changes only.
55370         (_dl_runtime_profile): Do a tail-call to the resolved function.
55372 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55374         [BZ #13550]
55375         * sysdeps/x86_64/bp-asm.h: Remove file.
55376         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55377         <bp-sym.h> and <bp-asm.h>.
55378         (__clone): Do not use BP_SYM.
55379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55380         <bp-sym.h> and <bp-asm.h>.
55381         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55382         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55383         "bp-asm.h".
55384         (_setjmp): Do not use BP_SYM.
55385         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55386         "bp-asm.h".
55387         (setjmp): Do not use BP_SYM.
55388         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55389         libc_hidden_def.
55390         (mempcpy): Do not use BP_SYM in weak_alias.
55391         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55392         "bp-asm.h".
55393         (strchr): Do not use BP_SYM.
55394         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55395         "bp-asm.h".
55396         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55397         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55398         (_start): Do not use BP_SYM.
55399         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55400         "bp-asm.h".
55401         (strcat): Do not use BP_SYM.
55402         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55403         "bp-asm.h".
55404         (STRCMP): Do not use BP_SYM.
55405         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55406         "bp-asm.h".
55407         (STRCPY): Do not use BP_SYM.
55408         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55409         "bp-asm.h".
55410         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55411         "bp-asm.h".
55412         (FUNCTION): Do not use BP_SYM.
55413         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55414         weak_alias.
55415         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55417 2013-02-17  Andreas Jaeger  <aj@suse.de>
55419         * time/Versions: Sort entries.
55420         * string/Versions: Likewise.
55421         * resolv/Versions: Likewise.
55422         * posix/Versions: Likewise.
55423         * iconv/Versions: Likewise.
55424         * elf/Versions: Likewise.
55425         * wcsmbs/Versions: Likewise.
55427 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55429         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55430         loop termination condition.
55432         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55433         variable to calculate EZ.
55434         (__sqr): Likewise.
55436         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55437         the lower precision input.
55439 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55441         [BZ #13550]
55442         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55443         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55444         (run-via-rtld-prefix): Do not handle %-bp tests.
55445         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55446         (all-object-suffixes): Remove .ob.
55447         (bppfx): Remove variable.
55448         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55449         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55450         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55451         [$(build-bounded) = yes] (libtype.ob): Likewise.
55452         * Makerules (elide-routines.ob): Remove variable.
55453         (do-tests-clean): Do not handle *-bp.out.
55454         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55455         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55456         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55457         (tests): Do not include $(tests-bp.out).
55458         (xtests): Do not include $(xtests-bp.out).
55459         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55460         [$(build-bounded) = yes] ($(addprefix
55461         $(objpfx),$(binaries-bounded))): Remove rule.
55462         ($(objpfx)%-bp.out): Remove rule.
55463         * config.make.in (build-bounded): Remove variable.
55464         * crypt/Makefile [$(build-bounded) = yes]
55465         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55466         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55467         append to variable.
55468         [$(build-bounded) = yes] (install-lib): Likewise.
55469         [$(build-bounded) = yes] (generated): Likewise.
55470         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55471         Remove rule.
55472         * intl/Makefile [$(build-bounded) = yes]
55473         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55474         * math/Makefile [$(build-bounded) = yes]
55475         ($(tests:%=$(objpfx)%-bp): Likewise.
55476         * misc/Makefile [$(build-bounded) = yes]
55477         ($(objpfx)tst-tsearch-bp): Likewise.
55478         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55479         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55480         Remove dependency.
55481         * string/Makefile (o-objects.ob): Remove variable.
55482         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55483         (CFLAGS-.ob): Remove variable.
55484         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55485         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55486         both definitions of variable.
55487         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55488         (ASFLAGS-.ob): Remove variable.
55490 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55492         [BZ #13550]
55493         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55494         Remove __BOUNDED_POINTERS__ from condition.
55495         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55496         * string/bits/string2.h [!__NO_STRING_INLINES &&
55497         !__BOUNDED_POINTERS__]: Likewise.
55498         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55499         Likewise.
55500         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55501         Remove conditional code.
55502         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55503         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55504         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55505         condition.
55507         [BZ #13550]
55508         * csu/libc-start.c: Do not include <bp-sym.h>.
55509         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55510         * elf/dl-open.c: Do not include <bp-sym.h>.
55511         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55512         * math/fegetenv.c: Do not include <bp-sym.h>.
55513         (fegetenv): Do not use BP_SYM in versioned symbols.
55514         * nptl/sysdeps/pthread/bits/libc-lockP.h
55515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55516         <bp-sym.h>.
55517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55518         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55520         (__pthread_mutex_destroy): Likewise.
55521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55522         (__pthread_mutex_lock): Likewise.
55523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55524         (__pthread_mutex_trylock): Likewise.
55525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55526         (__pthread_mutex_unlock): Likewise.
55527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55528         (__pthread_mutexattr_init): Likewise.
55529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55530         (__pthread_mutexattr_destroy): Likewise.
55531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55532         (__pthread_mutexattr_settype): Likewise.
55533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55534         (__pthread_rwlock_init): Likewise.
55535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55536         (__pthread_rwlock_destroy): Likewise.
55537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55538         (__pthread_rwlock_rdlock): Likewise.
55539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55540         (__pthread_rwlock_tryrdlock): Likewise.
55541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55542         (__pthread_rwlock_wrlock): Likewise.
55543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55544         (__pthread_rwlock_trywrlock): Likewise.
55545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55546         (__pthread_rwlock_unlock): Likewise.
55547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55548         (__pthread_key_create): Likewise.
55549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55550         (__pthread_setspecific): Likewise.
55551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55552         (__pthread_getspecific): Likewise.
55553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55554         Likewise.
55555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55556         (_pthread_cleanup_push_defer): Likewise.
55557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55558         (_pthread_cleanup_pop_restore): Likewise.
55559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55560         (pthread_setcancelstate): Likewise.
55561         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55562         <bp-sym.h>.
55563         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55564         (memchr): Do not use BP_SYM in weak_alias.
55565         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55566         (fegetenv): Do not use BP_SYM in versioned symbols.
55567         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55568         (fesetenv): Do not use BP_SYM in versioned symbols.
55569         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55570         (feupdateenv): Do not use BP_SYM in versioned symbols.
55571         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55572         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55573         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55574         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55575         (open64): Do not use BP_SYM in weak_alias.
55576         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55577         (fegetenv): Do not use BP_SYM in versioned symbols.
55578         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55579         (fesetenv): Do not use BP_SYM in versioned symbols.
55580         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55581         (feupdateenv): Do not use BP_SYM in versioned symbols.
55582         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55583         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55584         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55585         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55586         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55587         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55588         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55589         <bp-sym.h>.
55590         (__libc_start_main): Do not use BP_SYM.
55592 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55595         redundant return line.
55596         (norm): Likewise.
55597         (denorm): Likewise.
55598         (dbl_mp): Likewise.
55599         (sub_magnitudes): Likewise.
55600         (__add): Likewise.
55601         (__sub): Likewise.
55602         (__mul): Likewise.
55603         (__inv): Likewise.
55604         (__dvd): Likewise.
55605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55606         (norm): Likewise.
55607         (denorm): Likewise.
55608         (dbl_mp): Likewise.
55609         (sub_magnitudes): Likewise.
55610         (__add): Likewise.
55611         (__sub): Likewise.
55612         (__mul): Likewise.
55613         (__inv): Likewise.
55614         (__dvd): Likewise.
55616         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55617         instead of __mul.
55618         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55619         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55620         (cc32): Likewise.
55622         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55623         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55625         of __mul for squares.
55626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55627         function
55628         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55629         Likewise.
55630         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55631         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55633 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55635         [BZ #13550]
55636         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55637         code.
55638         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55639         prototype or function definition.  Rename ubp_* variables and
55640         parameters.  Remove argv definitions conditional on
55641         [__BOUNDED_POINTERS__].
55642         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55643         * elf/dl-runtime.c (_dl_fixup): Likewise.
55644         * include/set-hooks.h (RUN_HOOK): Likewise.
55645         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55646         definition.
55647         * string/strcpy.c (strcpy): Do not use __unbounded.
55648         * sysdeps/generic/frame.h (struct layout): Likewise.
55649         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55650         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55651         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55652         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55653         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55654         (__backtrace): Likewise.
55655         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55656         use __ptrvalue.
55657         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55658         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55659         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55660         Likewise.
55661         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55662         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55663         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55664         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55665         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55666         Do not use __unbounded.
55667         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55668         Rename __unboundedrlimits parameter to rlimits in prototype.
55669         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55670         Do not use __unbounded.
55671         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55672         not use __ptrvalue.
55673         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55674         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55675         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55676         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55677         __ptrvalue or __unbounded.
55678         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55679         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55680         use __unbounded.
55681         (__new_msgctl): Do not use __ptrvalue.
55682         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55683         __unbounded.
55684         (__libc_msgrcv): Do not use __ptrvalue.
55685         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55686         startup_info): Do not use __unbounded.
55687         (__libc_start_main): Likewise.  Rename ubp_* variables and
55688         parameters.  Remove argv definitions conditional on
55689         [__BOUNDED_POINTERS__].
55690         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55691         __ptrvalue.
55692         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55693         use __unbounded.
55694         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55695         or __ptrvalue.
55696         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55697         use __unbounded.
55698         (__new_shmctl): Do not use __ptrvalue.
55699         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55700         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55701         Likewise.
55702         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55703         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55704         (__libc_sigaction): Likewise.
55705         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55706         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55707         Likewise.
55708         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55710 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55712         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55714         * string/mempcpy.c: Implement by calling memcpy.
55716 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55718         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55720         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55721         evaluation.
55723         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55724         values in the mantissa.
55726         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55727         minimize writes to Z.
55728         (sub_magnitudes): Simplify code a bit.
55730 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55732         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55733         from the message.  The linker prefixes all warnings with that already.
55735 2013-02-12  Andreas Schwab  <schwab@suse.de>
55737         [BZ #15078]
55738         * posix/regexec.c (extend_buffers): Add parameter min_len.
55739         (check_matching): Pass minimum needed length.
55740         (clean_state_log_if_needed): Likewise.
55741         (get_subexp): Likewise.
55742         * posix/Makefile (tests): Add bug-regex34.
55743         (bug-regex34-ENV): Define.
55744         * posix/bug-regex34.c: New file.
55746         [BZ #11561]
55747         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55748         elements compare against the byte sequence of it, not its name.
55749         * posix/Makefile (tests): Add bug-regex35.
55750         (bug-regex35-ENV): Define.
55751         * posix/bug-regex35.c: New file.
55753 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55755         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55756         comment.
55757         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55758         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55759         (CHECK_EOL): Add undef.
55761 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55763         * bits/stdlib-bsearch.h: New file.
55764         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55765         * stdlib/stdlib.h: Likewise.
55767 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55769         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55770         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55771         declaration.
55772         * manual/search.texi (Array Search Function): Add missing const in
55773         lfind prototype.
55774         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55775         declaration to use rlim_t.
55776         (Basic Scheduling Functions): Remove erroneous const from
55777         sched_getparam prototype.  Remove erroneous * from
55778         sched_get_priority_max and sched_get_priority_min prototypes.
55779         (Resource Usage): Fix summary @comment on vtimes to refer to
55780         sys/vtimes.h rather than vtimes.h.
55781         Add missing *s in vtimes prototype.
55782         (Limits on Resources): Fix ulimit prototype to return long int.
55783         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55784         prototypes to use long int rather than double.
55785         (BSD Random): Fix initstate and setstate to use char *, not void *.
55786         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55787         prototype to make second argument 'struct aiocb64 *const[]'.
55788         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55789         (Status of AIO Operations): Remove erroneous const in aio_return and
55790         aio_return64 prototypes.
55791         (Synchronizing I/O): Fix sync prototype to return void.
55792         * manual/startup.texi (Suboptions): Remove an erroneous const in
55793         getsubopt prototype.
55794         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55795         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55796         use size_t rather than int.
55797         (Scanning All Users): Likewise for getpwent_r.
55798         (Setting Groups): Add missing const to setgroups prototype.
55799         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55800         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55801         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55802         'const void *' rather than 'const char *'.
55803         (Host Address Functions): Likewise for inet_ntop.
55804         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55805         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55806         ssize_t for return value.
55807         (Sending Data): Likewise for send, sendto, sendmsg.
55808         (Socket Option Functions): Add a missing const in setsockopt prototype.
55809         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55810         use wchar_t for the argument.
55811         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55812         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55813         take no arguments.
55814         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55815         double/float/long double for second argument.
55816         Fix return types of significand, significandf, significandl.
55817         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55818         argument in fchmod prototype.
55819         (File Owner): Use uid_t and gid_t in fchown prototype.
55820         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55821         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55822         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55823         use 'const struct dirent **' as argument types to CMP function pointer
55824         argument.
55825         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55826         (File Times): Fix summary magic @comment for struct utimbuf and utime
55827         to refer to utime.h, not time.h.
55828         * manual/string.texi (Argz Functions): Add missing const in
55829         argz_extract and argz_next prototypes.
55830         (Finding Tokens in a String): Likewise for basename.
55831         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55832         (Copying and Concatenation): Fix typo in wmemmove prototype.
55833         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55834         (Signal Stack): Remove erroneous const in sigstack prototype.
55835         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55836         prototype.
55837         (Simple Calendar Time): Likewise for stime.
55838         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55839         prototype.
55840         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55841         say sys/sysctl.h instead.
55842         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55843         and vsyslog prototypes.
55845 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55847         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55848         Remove.
55850 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55852         * misc/sys/mman.h: Fix typo in mremap comment.
55854 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55856         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55857         the '\0' terminator.
55859 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55861         [BZ #13550]
55862         * debug/segfault.c: Don't include <bp-checks.h>.
55863         * sysdeps/generic/bp-checks.h: Remove file.
55864         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55865         (__GETDENTS): Don't use CHECK_N.
55866         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55867         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55868         (__getgroups): Don't use CHECK_N.
55869         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55870         (setgroups): Don't use CHECK_N.
55871         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55872         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55873         (__libc_msgrcv): Don't use CHECK_N.
55874         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55875         (__libc_msgsnd): Don't use CHECK_N.
55876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55877         <bp-checks.h>.
55878         (__libc_pread): Don't use CHECK_N.
55879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55880         include <bp-checks.h>.
55881         (__libc_pread64): Don't use CHECK_N.
55882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55883         include <bp-checks.h>.
55884         (__libc_pwrite): Don't use CHECK_N.
55885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55886         include <bp-checks.h>.
55887         (__libc_pwrite64): Don't use CHECK_N.
55888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55889         <bp-checks.h>.
55890         (__libc_pread): Don't use CHECK_N.
55891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55892         include <bp-checks.h>.
55893         (__libc_pread64): Don't use CHECK_N.
55894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55895         include <bp-checks.h>.
55896         (__libc_pwrite): Don't use CHECK_N.
55897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55898         include <bp-checks.h>.
55899         (__libc_pwrite64): Don't use CHECK_N.
55900         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55901         (do_pread): Don't use CHECK_N.
55902         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55903         (do_pread64): Don't use CHECK_N.
55904         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55905         (do_pwrite): Don't use CHECK_N.
55906         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55907         (do_pwrite64): Don't use CHECK_N.
55908         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55909         (__libc_readv): Don't use CHECK_N.
55910         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55911         (semop): Don't use CHECK_N.
55912         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55913         <bp-checks.h>.
55914         (semtimedop): Don't use CHECK_N.
55915         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55916         (__libc_pread): Don't use CHECK_N.
55917         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55918         <bp-checks.h>.
55919         (__libc_pread64): Don't use CHECK_N.
55920         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55921         <bp-checks.h>.
55922         (__libc_pwrite): Don't use CHECK_N.
55923         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55924         <bp-checks.h>.
55925         (__libc_pwrite64): Don't use CHECK_N.
55926         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55927         <bp-checks.h>.
55928         (__libc_msgrcv): Don't use CHECK_N.
55929         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55930         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55931         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55932         (__libc_writev): Don't use CHECK_N.
55934 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55936         * string/strcpy.c: Removed unused variable.
55938         * Makeconfig (+sysdep-includes): Define with := rather than =.
55939         Use an existing include/ subdir of each sysdeps dir before it.
55941 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55943         * nscd/connection.c (register_traced_file): Comment function.
55944         [HAVE_INOTIFY] (union __inev): Define.
55945         [HAVE_INOTIFY] (inotify_check_files): New function.
55946         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55947         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55948         clear_db_cache.
55949         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55951 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55953         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55954         loaded if not already and that a failure is permanent.
55956 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55958         [BZ #15006]
55959         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55960         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55962 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55964         [BZ #13550]
55965         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55966         (CHECK_1_NULL_OK): Likewise.
55967         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55968         (__fxstat): Do not use CHECK_1.
55969         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55970         <bp-checks.h>.
55971         (___fxstat64): Do not use CHECK_1.
55972         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55973         <bp-checks.h>.
55974         (__fxstatat): Do not use CHECK_1.
55975         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55976         <bp-checks.h>.
55977         (__fxstatat64): Do not use CHECK_1.
55978         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55979         <bp-checks.h>.
55980         (__fxstat): Do not use CHECK_1.
55981         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55982         <bp-checks.h>.
55983         (__fxstatat): Do not use CHECK_1.
55984         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55985         <bp-checks.h>.
55986         (__getresgid): Do not use CHECK_1.
55987         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55988         <bp-checks.h>.
55989         (__getresuid): Do not use CHECK_1.
55990         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55991         <bp-checks.h>.
55992         (__lxstat): Do not use CHECK_1.
55993         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55994         <bp-checks.h>.
55995         (__old_msgctl): Do not use CHECK_1.
55996         (__new_msgctl): Likewise.
55997         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55998         <bp-checks.h>.
55999         (__new_setrlimit): Do not use CHECK_1.
56000         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56001         <bp-checks.h>.
56002         (__old_shmctl): Do not use CHECK_1.
56003         (__new_shmctl): Likewise.
56004         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56005         <bp-checks.h>.
56006         (__xstat): Do not use CHECK_1.
56007         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56008         (__lxstat): Do not use CHECK_1.
56009         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56010         <bp-checks.h>.
56011         (___lxstat64): Do not use CHECK_1.
56012         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56013         (__old_msgctl): Do not use CHECK_1.
56014         (__new_msgctl): Likewise.
56015         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56016         <bp-checks.h>.
56017         (__gettimeofday): Do not use CHECK_1.
56018         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56019         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56020         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56021         <bp-checks.h>.
56022         (__gettimeofday): Do not use CHECK_1.
56023         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56024         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56025         (__new_shmctl): Do not use CHECK_1.
56026         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56027         <bp-checks.h>.
56028         (do_sigtimedwait): Do not use CHECK_1.
56029         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56030         <bp-checks.h>.
56031         (do_sigwaitinfo): Do not use CHECK_1.
56032         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56033         <bp-checks.h>.
56034         (msgctl): Do not use CHECK_1.
56035         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56036         <bp-checks.h>.
56037         (shmctl): Do not use CHECK_1.
56038         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56039         (ustat): Do not use CHECK_1.
56040         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56041         <bp-checks.h>.
56042         (__fxstat): Do not use CHECK_1.
56043         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56044         <bp-checks.h>.
56045         (__fxstatat): Do not use CHECK_1.
56046         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56047         <bp-checks.h>.
56048         (__lxstat): Do not use CHECK_1.
56049         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56050         <bp-checks.h>.
56051         (__xstat): Do not use CHECK_1.
56052         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56053         (__xstat): Do not use CHECK_1.
56054         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56055         (___xstat64): Do not use CHECK_1.
56057         [BZ #13550]
56058         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56059         definitions.
56060         (CHECK_BOUNDS_HIGH): Likewise.
56061         * string/strcpy.c: Do not include <bp-checks.h>.
56062         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56064 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56066         * nscd/nscd-client.h (__nscd_drop_map_ref):
56067         Add __attribute__ ((unused)).
56068         * nis/nss-nisplus.h (niserr2nss): Likewise.
56070         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56071         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56073         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56074         Remove inline keyword.
56075         * include/rounding-mode.h (round_away): Likewise.
56076         * libio/wfileops.c (adjust_wide_data): Likewise.
56077         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56078         (__m128i_strloadu_tolower): Likewise.
56079         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56080         (__m128i_strloadu_tolower): Likewise.
56081         * time/mktime.c (ydhms_diff): Likewise.
56082         * locale/elem-hash.h (elem_hash): Likewise.
56083         * locale/setlocale.c (setdata): Likewise.
56084         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56085         (re_string_wchar_at): Likewise.
56086         (bitset_not, bitset_merge, bitset_mask): Likewise.
56087         [!(__GNUC__ > 3)] (inline): Remove macro.
56088         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56089         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56090         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56091         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56092         * string/memcmp.c (memcmp_bytes): Likewise.
56093         * locale/programs/locarchive.c (compute_hashval): Likewise.
56094         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56095         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56096         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56097         * nss/getent.c (print_rpc, print_protocols): Likewise.
56098         (print_passwd, print_group, print_aliases): Likewise.
56099         * nis/nss-nisplus.h (niserr2nss): Likewise.
56100         * nscd/connections.c (restart_p): Likewise.
56101         Change return type to bool.
56103 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56105         * Makeconfig (all-Depend-files): Add existing
56106         $(sorted-subdirs:=/Depend) files.
56107         (all-subdirs): Remove nss.
56108         * sysdeps/unix/inet/Subdirs: Add it here instead.
56109         * hesiod/Depend: New file.
56111         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56112         instead of calling alloca.
56114         * io/lseek.c (__lseek): Rename to __libc_lseek.
56115         Define __lseek as an alias.
56117         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56119 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56121         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56122         else clause and remove check for non-standard endianness.
56124 2013-02-04  David S. Miller  <davem@davemloft.net>
56126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56128 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56130         [BZ #13550]
56131         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56132         (__ubp_memchr): Remove prototype.
56133         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56134         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56135         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56136         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56137         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56138         Remove alias.
56139         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56140         (__ubp_memchr): Likewise.
56141         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56142         (__ubp_memchr): Likewise.
56143         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56144         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56145         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56146         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56147         CHECK_STRING.
56148         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56149         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56150         (__getcwd): Do not use CHECK_STRING.
56151         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56152         <bp-checks.h>.
56153         (__real_chown): Do not use CHECK_STRING.
56154         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56155         <bp-checks.h>.
56156         (fchownat): Do not use CHECK_STRING.
56157         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56158         CHECK_STRING.
56159         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56160         <bp-checks.h>.
56161         (__lchown): Do not use CHECK_STRING.
56162         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56163         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56164         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56165         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56167         include <bp-checks.h>.
56168         (truncate64): Do not use CHECK_STRING.
56169         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56170         <bp-checks.h>.
56171         (__real_chown): Do not use CHECK_STRING.
56172         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56173         <bp-checks.h>.
56174         (__lchown): Do not use CHECK_STRING.
56175         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56176         <bp-checks.h>.
56177         (__chown): Do not use CHECK_STRING.
56178         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56179         <bp-checks.h>.
56180         (truncate64): Do not use CHECK_STRING.
56181         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56182         Likewise.
56183         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56184         (__xmknod): Do not use CHECK_STRING.
56185         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56186         <bp-checks.h>.
56187         (__xmknodat): Do not use CHECK_STRING.
56188         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56189         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56191 2013-02-04  Andreas Schwab  <schwab@suse.de>
56193         [BZ #14142]
56194         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56195         * include/netdb.h: Likewise for h_errno.
56196         * elf/tst-stackguard1.c: Include <tls.h>.
56198 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56200         * elf/link.h (struct link_map): Extend the l_addr comment.
56201         * include/link.h (struct link_map): Likewise.
56203 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56205         [BZ #13550]
56206         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56207         (BOUNDED_1): Remove macro.
56208         * debug/backtrace.c: Don't include <bp-checks.h>.
56209         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56210         (__backtrace): Likewise.
56211         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56212         <bp-checks.h>.
56213         (__backtrace): Don't use BOUNDED_1.
56214         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56215         <bp-checks.h>.
56216         (__backtrace): Don't use BOUNDED_1.
56217         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56218         (__backtrace): Don't use BOUNDED_1.
56219         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56220         (shmat): Don't use BOUNDED_N.
56222 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56224         [BZ #13550]
56225         * sysdeps/generic/bp-start.h: Remove file.
56226         * csu/libc-start.c: Don't include <bp-start.h>.
56227         (LIBC_START_MAIN): Set up __environ directly instead of using
56228         INIT_ARGV_and_ENVIRON.
56229         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56230         <bp-start.h>.
56232         [BZ #13550]
56233         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56234         definitions.
56235         (CHECK_FCNTL): Likewise.
56236         (CHECK_N_PAGES): Likewise.
56238         [BZ #13550]
56239         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56240         definitions.
56241         (CHECK_SIGSET_NULL_OK): Likewise.
56242         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56243         <bp-checks.h>.
56244         (sigpending): Don't use CHECK_SIGSET.
56245         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56246         <bp-checks.h>.
56247         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56248         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56249         <bp-checks.h>.
56250         (do_sigsuspend): Don't use CHECK_SIGSET.
56251         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56252         use CHECK_SIGSET.
56253         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56254         (do_sigwait): Don't use CHECK_SIGSET.
56255         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56256         use CHECK_SIGSET.
56257         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56258         include <bp-checks.h>.
56259         (sigpending): Don't use CHECK_SIGSET.
56260         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56261         include <bp-checks.h>.
56262         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56263         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56264         <bp-checks.h>.
56265         (sigpending): Don't use CHECK_SIGSET.
56266         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56267         <bp-checks.h>.
56268         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56270         [BZ #13550]
56271         * sysdeps/generic/bp-semctl.h: Remove file.
56272         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56273         <bp-checks.h> and <bp-semctl.h>.
56274         (__old_semctl): Don't use CHECK_SEMCTL.
56275         (__new_semctl): Likewise.
56276         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56277         and <bp-semctl.h>.
56278         (__old_semctl): Don't use CHECK_SEMCTL.
56279         (__new_semctl): Likewise.
56280         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56281         <bp-checks.h> and <bp-semctl.h>.
56282         (__old_semctl): Don't use CHECK_SEMCTL.
56283         (__new_semctl): Likewise.
56284         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56285         <bp-checks.h> and <bp-semctl.h>.
56286         (semctl): Don't use CHECK_SEMCTL.
56288         [BZ #13550]
56289         * Makerules (elide-bp-thunks): Remove variable.
56290         (elide-routines.oS): Don't use $(elide-bp-thunks).
56291         (elide-routines.os): Likewise.
56292         (elide-routines.o): Likewise.
56293         (elide-routines.op): Likewise.
56294         (elide-routines.og): Likewise.
56295         (objects): Don't use $(bp-thunks).
56296         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56297         include.
56298         (common-generated): Do not add s-proto-bp.d.
56299         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56300         (int): Likewise.
56301         (typ): Likewise.
56302         Do not generate makefile rules for bounded-pointer thunks.
56303         * sysdeps/generic/bp-thunks.h: Remove file.
56304         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56305         * sysdeps/unix/s-proto-bp.S: Likewise.
56307         [BZ #15062]
56308         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56309         parts of result separately when argument is not close to line from
56310         -i to i and one part of argument is small.
56311         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56312         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56313         * math/libm-test.inc (cacos_test): Add more tests.
56314         (casin_test): Likewise.
56315         (casinh_test): Likewise.
56316         * sysdeps/i386/fpu/libm-test-ulps: Update.
56317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56319 2013-01-31  David S. Miller  <davem@davemloft.net>
56321         * po/de.po: Update from translation team.
56323 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56325         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56327 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56329         * configure.in (_AC_PROG_CC_C89): New definition.
56330         * configure: Regenerate.
56332         * configure.in (AC_PROG_CPP): New definition.
56333         * configure: Regenerate.
56335 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56337         * debug/tst-backtrace.h: New file.
56338         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56339         (ret): Remove variable.
56340         (x): Likewise.
56341         (FAIL): Remove macro.
56342         (NO_INLINE): Likewise.
56343         (fn1): Use match function instead of strstr.
56344         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56345         (ret): Remove variable.
56346         (x): Likewise.
56347         (FAIL): Remove macro.
56348         (NO_INLINE): Likewise.
56349         (fn): Use match function instead of strstr.
56350         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56351         (ret): Remove variable.
56352         (x): Likewise.
56353         (FAIL): Remove macro.
56354         (NO_INLINE): Likewise.
56355         (handle_signal): Use match function instead of strstr.
56356         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56357         (ret): Remove variable.
56358         (x): Likewise.
56359         (FAIL): Remove macro.
56360         (NO_INLINE): Likewise.
56361         (handle_signal): Use match function instead of strstr.
56363 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56365         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56367 2013-01-23  David S. Miller  <davem@davemloft.net>
56369         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56370         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56371         argument of CAS if possible.
56372         * sysdeps/sparc/sparc64/bits/atomic.h
56373         (__arch_compare_and_exchange_val_32_acq): Likewise.
56374         (__arch_compare_and_exchange_val_64_acq): Likewise.
56376 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56378         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56379         * sysdeps/posix/ulimit.c: ... this.
56380         Include <limits.h>.
56381         * sysdeps/unix/bsd/ulimit.c: Remove file.
56383 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56385         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56386         (LDFLAGS-tst-array5): Likewise.
56388 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56390         [BZ #15036]
56391         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56392         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56393         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56394         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56396 2013-01-21  David S. Miller  <davem@davemloft.net>
56398         * sysdeps/sparc/backtrace.c: New file.
56399         * sysdeps/sparc/sparc32/backtrace.h: New file.
56400         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56401         * sysdeps/sparc/sparc64/backtrace.h: New file.
56402         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56403         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56404         -funwind-tables.
56406 2013-01-21  Andreas Schwab  <schwab@suse.de>
56408         [BZ #15020]
56409         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56410         closed its stdout.
56412 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56415         "mpa2.h".
56416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56418 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56419             Mark Mitchell  <mark@codesourcery.com>
56420             Tom de Vries  <tom@codesourcery.com>
56421             Paul Pluzhnikov  <ppluzhnikov@google.com>
56423         * debug/tst-backtrace2.c: New file.
56424         * debug/tst-backtrace3.c: Likewise.
56425         * debug/tst-backtrace4.c: Likewise.
56426         * debug/tst-backtrace5.c: Likewise.
56427         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56428         (CFLAGS-tst-backtrace3.c): Likewise.
56429         (CFLAGS-tst-backtrace4.c): Likewise.
56430         (CFLAGS-tst-backtrace5.c): Likewise.
56431         (LDFLAGS-tst-backtrace2): Likewise.
56432         (LDFLAGS-tst-backtrace3): Likewise.
56433         (LDFLAGS-tst-backtrace4): Likewise.
56434         (LDFLAGS-tst-backtrace5): Likewise.
56435         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56436         tst-backtrace4 and tst-backtrace5.
56438 2013-01-18  Anton Blanchard  <anton@samba.org>
56439             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56441         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56442         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56443         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56444         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56446         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56447         "+r" and remove output regs list as redundant.  Add explicit inline
56448         asm to specify register of return val to work around compiler codegen
56449         bug.  Remove (int) cast on return value.  Add return type parameter to
56450         use in macro so that this macro does not truncate return value for
56451         64-bit values.
56452         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56453         pass to INTERNAL_VSYSCALL_NCS.
56454         (INLINE_VSYSCALL): Add 'long int' as return type to
56455         INTERNAL_VSYSCALL_NCS macro invocation.
56456         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56457         INTERNAL_VSYSCALL_NCS macro invocation.
56458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56460 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56462         [BZ #14496]
56463         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56464         Fix application of SIMD FP exception mask.
56466         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56467         mp_no from a power of two.
56468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56469         __mpexp_twomm1.  Use __pow_mp.
56471         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56472         multiplication.
56474 2013-01-17  David S. Miller  <davem@davemloft.net>
56476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56478 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56480         [BZ #15023]
56481         * include/complex.h: Condition contents on [!_COMPLEX_H].
56482         (__kernel_casinhf): New prototype.
56483         (__kernel_casinh): Likewise.
56484         (__kernel_casinhl): Likewise.
56485         * math/Makefile (libm_calls): Add k_casinh.
56486         * math/k_casinh.c: New file.
56487         * math/k_casinhf.c: Likewise.
56488         * math/k_casinhl.c: Likewise.
56489         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56490         finite nonzero arguments.
56491         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56492         finite nonzero arguments.
56493         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56494         finite nonzero arguments.
56495         * math/s_casinh.c: Do not include <float.h>.
56496         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56497         * math/s_casinhf.c: Do not include <float.h>.
56498         (__casinhf): Move code for finite nonzero arguments to
56499         k_casinhf.c.
56500         * math/s_casinhl.c: Do not include <float.h>.
56501         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56502         redefine.
56503         (__casinhl): Move code for finite nonzero arguments to
56504         k_casinhl.c.
56505         * math/libm-test.inc (cacos_test): Add more tests.
56506         * sysdeps/i386/fpu/libm-test-ulps: Update.
56507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56509 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56511         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56512         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56513         [!HAVE_MREMAP]: Remove [defined linux] case.
56514         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56516 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56518         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56520 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56522         * elf/elf.h (R_386_SIZE32): New relocation.
56523         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56524         R_386_SIZE32.
56525         (elf_machine_rela): Likewise.
56526         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56527         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56529 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56531         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56532         (FP_FAST_FMA): Do not define.
56533         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56534         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56535         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56536         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56537         !_SOFT_FLOAT]: Likewise.
56538         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56539         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56540         value.
56541         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56542         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56543         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56544         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56545         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56546         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56547         file.
56549 2013-01-16  Andreas Schwab  <schwab@suse.de>
56551         [BZ #14327]
56552         * include/stdlib.h (__mktemp): Add declaration.
56553         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56554         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56556 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56558         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56559         definitions.
56560         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56561         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56562         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56563         definitions here.
56564         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56565         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56566         definitions.
56567         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56568         and ONE.
56569         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56570         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56571         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56572         definitions.
56573         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56574         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56575         definitions.
56576         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56578         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56580 2013-01-15  David S. Miller  <davem@davemloft.net>
56582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56583         trunc{,f} to libm-sysdep_routes.
56584         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56586         file.
56587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56589         file.
56590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56591         file.
56592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56594         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56595         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56596         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56597         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56598         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56599         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56602         nearbyint{,f} to libm-sysdep_routes.
56603         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56605         New file.
56606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56607         file.
56608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56609         New file.
56610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56611         file.
56612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56614         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56615         file.
56616         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56617         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56618         file.
56619         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56620         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56621         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56623         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56624         libc_feholdexcept and libc_fesetenv.
56626 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56628         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56630 2013-01-14  David S. Miller  <davem@davemloft.net>
56632         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56633         (SPARC_ASM_VIS2_IFUNC): Likewise.
56634         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56636         use of 'siam' instruction.
56637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56638         Likewise.
56639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56640         Likewise.
56641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56642         Likewise.
56643         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56644         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56645         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56646         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56648         file.
56649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56650         file.
56651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56652         file.
56653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56654         file.
56655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56660         new VIS2 routines.
56661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56664         Likewise.
56665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56666         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56670         routines to libm-sysdep_routines.
56671         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56674         fdim/fdimf to libm-sysdep_routines.
56675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56676         file.
56677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56679         file.
56680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56683         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56684         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56685         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56686         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56688 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56690         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56691         to optimize copies.
56693         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56698         local variable MPTWO.
56699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56700         Likewise.
56702 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56704         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56705         GLOB_NOESCAPE.
56707 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56709         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56711 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56713         * manual/pattern.texi (glob_t): Document gl_flags.
56714         (glob64_t): Likewise.
56716 2013-01-11  David S. Miller  <davem@davemloft.net>
56718         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56719         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56720         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56721         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56722         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56723         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56724         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56725         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56726         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56727         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56728         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56729         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56730         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56732         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56733         sparc V9 rather than using V8 code.
56734         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56735         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56737         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56738         Move to...
56739         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56740         Here.
56742 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56744         [BZ #14941]
56745         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56746         not in the main loop.
56747         * configure: Regenerated.
56749 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56751         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56752         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56753         to just #else.
56754         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56755         [!__GLIBC_HAVE_LONG_LONG] case.
56756         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56757         condition to just #else.
56758         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56759         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56760         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56761         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56762         unconditional.
56763         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56764         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56765         #elif condition to just #else.
56766         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56767         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56768         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56769         #elif condition to just #else.
56771 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56773         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56774         (EF_MIPS_ARCH_64): Fix value.
56775         (EF_MIPS_ARCH_32R2): New.
56776         (EF_MIPS_ARCH_64R2): New.
56778 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56780         * Makeconfig (+link-pie-before-libc): New.
56781         (+link-pie-after-libc): Likewise.
56782         (+link-pie-tests): Likewise.
56783         (+link-pie): Rewritten.
56784         (link-before-libc): Remove $(config-LDFLAGS).
56785         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56786         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56787         (config-LDFLAGS): Renamed to ...
56788         (rtld-LDFLAGS): This.
56789         (rtld-tests-LDFLAGS): New macro.
56790         (link-libc-rpath-link): Likewise.
56791         (link-libc-tests-rpath-link): Likewise.
56792         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56793         (link-libc): Prepand $(link-libc-rpath-link).
56794         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56795         (test-program-prefix): New macro.
56796         (test-via-rtld-prefix): Likewise.
56797         (test-program-cmd): Likewise.
56798         (host-test-program-cmd): Likewise.
56799         * Makefile ($(common-objpfx)testrun.sh): Replace
56800         $(run-program-prefix) with $(test-program-prefix).
56801         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56802         $(rtld-LDFLAGS).
56803         ($(common-objpfx)shlib.lds): Likewise.
56804         (build-module-helper): Likewise.
56805         ($(common-objpfx)format.lds): Likewise.
56806         * Rules (binaries-pie-tests): New.
56807         (binaries-pie-notests): Likewise.
56808         (binaries-pie): Rewritten.
56809         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56810         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56811         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56812         (make-test-out): Replace $(host-built-program-cmd) with
56813         $(host-test-program-cmd).
56814         * config.make.in (build-hardcoded-path-in-tests): New variable.
56815         * configure.in (--enable-hardcoded-path-in-tests): New configure
56816         option.
56817         (hardcoded_path_in_tests): New AC_SUBST.
56818         * configure: Regenerated.
56819         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56820         $(built-program-cmd) with $(test-program-cmd).
56821         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56822         (test_program_cmd): This.
56823         * elf/Makefile ($(objpfx)order.out): Run test with
56824         $(test-program-prefix).
56825         ($(objpfx)order2.out): Likewise.
56826         ($(objpfx)tst-initorder.out): Likewise.
56827         ($(objpfx)tst-initorder2.out): Likewise.
56828         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56829         $(test-program-cmd).
56830         ($(objpfx)tst-array1-static.out): Likewise.
56831         ($(objpfx)tst-array2.out): Likewise.
56832         ($(objpfx)tst-array3.out): Likewise.
56833         ($(objpfx)tst-array4.out): Likewise.
56834         ($(objpfx)tst-array5.out): Likewise.
56835         ($(objpfx)tst-array5-static.out): Likewise.
56836         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56837         $(test-program-cmd).
56838         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56839         $(run-program-prefix) with $(test-program-prefix).
56840         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56841         (test_program_prefix): This.
56842         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56843         $(run-program-prefix) with $(test-program-prefix).
56844         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56845         (test_program_prefix): This.
56846         * iconvdata/tst-tables.sh: Likewise.
56847         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56848         $(run-program-prefix) with $(test-program-prefix).
56849         ($(objpfx)tst-translit.out): Likewise.
56850         ($(objpfx)tst-gettext2.out): Likewise.
56851         ($(objpfx)tst-gettext4.out): Likewise.
56852         ($(objpfx)tst-gettext6.out): Likewise.
56853         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56854         (test_program_prefix): This.
56855         * intl/tst-gettext2.sh: Likewise.
56856         * intl/tst-gettext4.sh  Likewise.
56857         * intl/tst-gettext6.sh: Likewise.
56858         * intl/tst-translit.sh: Likewise.
56859         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56860         with $(test-program-cmd).
56861         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56862         $(run-program-prefix) with $(test-program-prefix).
56863         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56864         (test_program_prefix): This.
56865         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56866         $(run-program-prefix) with $(test-program-prefix).
56867         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56868         (test_program_prefix): This.
56869         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56870         * posix/Makefile ($(objpfx)globtest.out): Replace
56871         $(run-via-rtld-prefix) and $(test-wrapper) with
56872         $(test-program-prefix) and $(test-via-rtld-prefix).
56873         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56874         $(test-program-prefix).
56875         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56876         $(host-test-program-cmd).
56877         (tst-spawn-ARGS): Likewise.
56878         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56879         $(test-program-prefix).
56880         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56881         (test_via_rtld_prefix): This.
56882         (test_wrapper): Renamed to ...
56883         (test_program_prefix): This.
56884         (run_program_prefix): Replaced by test_program_prefix.
56885         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56886         (test_program_prefix): This.
56887         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56888         with $(host-test-program-cmd).
56889         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56890         $(run-program-prefix) with $(test-program-prefix).
56891         ($(objpfx)tst-printf.out): Likewise.
56892         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56893         $(test-program-cmd).
56894         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56895         (test_program_prefix): This.
56896         * stdio-common/tst-unbputc.sh: Likewise.
56897         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56898         $(run-program-prefix) with $(test-program-prefix).
56899         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56900         (test_program_prefix): This.
56901         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56902         $(built-program-cmd) with $(test-program-cmd).
56904 2013-01-11  Andreas Jaeger  <aj@suse.de>
56906         [BZ #15003]
56907         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56908         value. Sync with Linux 3.7.
56910 2013-01-10  David S. Miller  <davem@davemloft.net>
56912         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56919         never set.
56920         * configure: Regenerated.
56922 2013-01-10  David S. Miller  <davem@davemloft.net>
56924         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56925         sparc V9 rather than using V8 code.
56926         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56927         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56929 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56931         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56932         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56933         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56934         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56935         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56936         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56937         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56938         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56939         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56940         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56941         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56942         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56943         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56944         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56945         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56946         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56947         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56948         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56949         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56950         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56951         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56952         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56953         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56954         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56955         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56956         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56957         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56959 2013-01-10  David S. Miller  <davem@davemloft.net>
56961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56963 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56965         * posix/Makefile (tests-static): New variable.
56966         (tests): Add $(tests-static).
56967         (tst-exec-static-ARGS): New variable.
56968         (tst-spawn-static-ARGS): Likewise.
56969         * posix/tst-exec-static.c: New file.
56970         * posix/tst-spawn-static.c: Likewise.
56971         * posix/tst-exec.c: Support run directly.
56972         * posix/tst-spawn.c: Likewise.
56974 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56976         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56977         long.
56978         * math/bits/mathcalls.h (llrint): Likewise.
56979         (llround): Likewise.
56980         * stdlib/stdlib.h (struct drand48_data): Likewise.
56981         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56982         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56983         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56984         Likewise.
56985         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56986         Likewise.
56987         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56988         (elf_greg_t): Likewise.
56989         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56990         (__jmp_buf): Likewise.
56991         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56992         definitions.
56993         (llrint): Likewise, for all definitions.
56994         (llrintl): Likewise.
56996         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56997         Remove [__GNUC__] condition.
56998         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56999         condition to just [__USE_ISOC99].
57000         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57002 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57004         [BZ #14200]
57005         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57006         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57007         defined.
57008         (_POSIX_V6_ILP32_OFF32): Likewise.
57009         (_XBS5_ILP32_OFF32): Likewise.
57010         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57011         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57013 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57015         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57017         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57018         doubles __mpexp_twomm1.  Adjust usage.
57019         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57020         Remove.
57022 2013-01-10  Andreas Schwab  <schwab@suse.de>
57024         [BZ #14964]
57025         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57026         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57028 2013-01-09  David S. Miller  <davem@davemloft.net>
57030         [BZ #15003]
57031         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57032         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57033         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57034         (TCP_FASTOPEN): Define.
57035         (tcp_repair_opt): New structure.
57036         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57037         enum values.
57038         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57039         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57040         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57041         (tcp_cookie_transactions): New structure.
57043 2013-01-09  Anton Blanchard  <anton@samba.org>
57045         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57046         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57047         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57048         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57050 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57052         * include/features.h (__USE_ANSI): Remove.
57054 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57056         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57058         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57060 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57062         * sysdeps/s390/fpu/libm-test-ulps: Update.
57064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57066         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57067         (__acr): Likewise.
57068         (__cpy): Likewise.
57069         (norm): Likewise.
57070         (denorm): Likewise.
57071         (__mp_dbl): Likewise.
57072         (__dbl_mp): Likewise.
57073         (add_magnitudes): Likewise.
57074         (sub_magnitudes): Likewise.
57075         (__add): Likewise.
57076         (__sub): Likewise.
57077         (__mul): Likewise.
57078         (__inv): Likewise.
57079         (__dvd): Likewise.
57080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57081         (__acr): Likewise.
57082         (__cpy): Likewise.
57083         (norm): Likewise.
57084         (denorm): Likewise.
57085         (__mp_dbl): Likewise.
57086         (__dbl_mp): Likewise.
57087         (add_magnitudes): Likewise.
57088         (sub_magnitudes): Likewise.
57089         (__add): Likewise.
57090         (__sub): Likewise.
57091         (__mul): Likewise.
57092         (__inv): Likewise.
57093         (__dvd): Likewise.
57094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57095         (__acr): Likewise.
57096         (__cpy): Likewise.
57097         (norm): Likewise.
57098         (denorm): Likewise.
57099         (__mp_dbl): Likewise.
57100         (__dbl_mp): Likewise.
57101         (add_magnitudes): Likewise.
57102         (sub_magnitudes): Likewise.
57103         (__add): Likewise.
57104         (__sub): Likewise.
57105         (__mul): Likewise.
57106         (__inv): Likewise.
57107         (__dvd): Likewise.
57109 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57111         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57112         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57113         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57114         2 && __USE_EXTERN_INLINES]: Likewise.
57116 2013-01-08  Andreas Jaeger  <aj@suse.de>
57118         [BZ# 14985]
57119         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57120         Remove.
57121         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57122         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57124 2013-01-07  Anton Blanchard  <anton@samba.org>
57126         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57127         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57128         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57129         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57130         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57131         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57132         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57133         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57135         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57136         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57137         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57138         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57139         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57140         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57141         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57142         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57143         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57144         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57145         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57146         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57147         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57148         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57149         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57150         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57151         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57152         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57153         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57154         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57155         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57156         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57158         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57159         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57160         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57161         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57162         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57163         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57164         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57165         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57166         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57167         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57168         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57170 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57172         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57173         (__MALLOC_PMT): Likewise.
57174         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57175         [__GNUC__], only on [_LIBC].
57176         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57177         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57178         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57179         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57180         forward declaration.
57181         (realloc_hook_ini): Likewise.
57182         (memalign_hook_ini): Likewise.
57183         (__libc_memalign): Do not use __MALLOC_PMT in variable
57184         declaration.
57185         (__libc_valloc): Likewise.
57186         (__libc_pvalloc): Likewise.
57187         (__libc_calloc): Likewise.
57188         (__posix_memalign): Likewise.
57190         [BZ #14996]
57191         * math/s_casinh.c: Include <float.h>.
57192         (__casinh): Do not do computation with squaring and square root
57193         for large arguments.
57194         * math/s_casinhf.c: Include <float.h>.
57195         (__casinhf): Do not do computation with squaring and square root
57196         for large arguments.
57197         * math/s_casinhl.c: Include <float.h>.
57198         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57199         (__casinhl): Do not do computation with squaring and square root
57200         for large arguments.
57201         * math/libm-test.inc (casin_test): Add more tests.
57202         (casinh_test): Likewise.
57203         * sysdeps/i386/fpu/libm-test-ulps: Update.
57204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57206 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57208         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57209         (__x86_64_raw_data_cache_size): Likewise.
57210         (__x86_64_data_cache_size_half): Likewise.
57211         (__x86_64_raw_data_cache_size_half): Likewise.
57212         (__x86_64_shared_cache_size): Likewise.
57213         (__x86_64_raw_shared_cache_size): Likewise.
57214         (__x86_64_shared_cache_size_half): Likewise.
57215         (__x86_64_raw_shared_cache_size_half): Likewise.
57216         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57217         to ...
57218         (__x86_data_cache_size): This.
57219         (__x86_64_raw_data_cache_size): Renamed to ...
57220         (__x86_raw_data_cache_size): This.
57221         (__x86_64_data_cache_size_half): Renamed to ...
57222         (__x86_data_cache_size_half): This.
57223         (__x86_64_raw_data_cache_size_half): Renamed to ...
57224         (__x86_raw_data_cache_size_half): This.
57225         (__x86_64_shared_cache_size): Renamed to ...
57226         (__x86_shared_cache_size): This.
57227         (__x86_64_raw_shared_cache_size): Renamed to ...
57228         (__x86_raw_shared_cache_size): This.
57229         (__x86_64_shared_cache_size_half): Renamed to ...
57230         (__x86_shared_cache_size_half): This.
57231         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57232         (__x86_raw_shared_cache_size_half): This.
57233         * sysdeps/x86_64/memcpy.S: Updated.
57234         * sysdeps/x86_64/memset.S: Likewise.
57235         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57236         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57239 2013-01-04  David S. Miller  <davem@davemloft.net>
57241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57243 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57245         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57246         1 to avoid redefinition warning.
57247         (__USE_GNU): Don't define.
57248         (init_signaling_nan): Protoize.
57250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57252 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57254         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57256         (__cpymn): Likewise.
57257         (norm): Remove commented code.
57258         (denorm): Likewise.
57259         (__mp_dbl): Likewise.
57260         (__inv): Likewise.
57261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57262         (__cpymn): Likewise.
57263         (norm): Remove commented code.
57264         (denorm): Likewise.
57265         (__mp_dbl): Likewise.
57266         (__inv): Likewise.
57268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57269         mp_no value for 1.0 and 2.0.
57270         (norm): Use RADIXI instead of radixi.d.
57271         (denorm): Likewise.
57272         (__mul): Use 0.0 instead of zero.d.
57273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57274         mp_no value for 1.0 and 2.0.
57275         (norm): Use RADIXI instead of radixi.d.
57276         (denorm): Likewise.
57277         (__mul): Use 0.0 instead of zero.d.
57279 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57281         [BZ #14994]
57282         * math/s_casinh.c (__casinh): Reduce finite argument to first
57283         quadrant then set signs of results at the end.
57284         * math/s_casinhf.c (__casinhf): Likewise.
57285         * math/s_casinhl.c (__casinhl): Likewise.
57286         * math/libm-test.inc (casin_test): Add more tests.
57287         (casinh_test): Likewise.
57288         * sysdeps/i386/fpu/libm-test-ulps: Update.
57289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57291 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57293         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57295         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57297         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57298         declarations.
57299         (denorm): Likewise.
57300         (__mp_dbl): Likewise.
57301         (__inv): Likewise.
57303         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57304         and adjust the header comment.
57306         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57307         variable name from declaration.
57309 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57312         Initialize COMMON_CPUID_INDEX_7 element.
57313         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57314         (CPUID_RTM): Likewise.
57315         (HAS_RTM): Likewise.
57316         (COMMON_CPUID_INDEX_7): New enum.
57318 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57320         [BZ #14981]
57321         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57322         size is zero, record memory as freed.
57324 2013-01-03  Andreas Jaeger  <aj@suse.de>
57326         * po/ia.po: Add new Interlingua translation.
57328 2012-01-03  Allan McRae  <allan@archlinux.org>
57330         * locale/programs/localedef.c: Fix description of '--posix' flag.
57332 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57334         * NEWS: Update dates in second copyright notice.
57335         * README: Update copyright dates in example.
57336         * manual/libc.texinfo: Update copyright dates.
57337         * scripts/test-installation.pl: Update copyright date in --version
57338         output.
57340         * hurd/ctty-input.c: Fix copyright notice formatting.
57341         * hurd/ctty-output.c: Likewise.
57342         * hurd/dtable.c: Likewise.
57343         * hurd/hurd-raise.c: Likewise.
57344         * hurd/hurdprio.c: Likewise.
57345         * hurd/msgportdemux.c: Likewise.
57346         * misc/sys/file.h: Likewise.
57347         * misc/sys/ioctl.h: Likewise.
57348         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57349         * sysdeps/mach/hurd/chdir.c: Likewise.
57350         * sysdeps/mach/hurd/fchdir.c: Likewise.
57351         * sysdeps/mach/hurd/rename.c: Likewise.
57352         * sysdeps/mach/hurd/rmdir.c: Likewise.
57353         * sysdeps/mach/hurd/seekdir.c: Likewise.
57354         * sysdeps/mach/hurd/setsid.c: Likewise.
57355         * sysdeps/posix/wait3.c: Likewise.
57357         * All files with FSF copyright notices: Update copyright dates
57358         using scripts/update-copyrights.
57359         * intl/plural.c: Regenerated.
57360         * locale/programs/charmap-kw.h: Likewise.
57361         * locale/programs/locfile-kw.h: Likewise.
57363 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57365         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57366         four values.
57368         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57369         calculation loop and add branch prediction.
57371         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57372         check access beyond bounds of m1np.
57374         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57375         MPTWO.
57376         (__inv): Remove local variable MPTWO to use the global
57377         constant.
57378         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57379         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57380         variable MPTWO.
57381         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57382         MP3HALFS static const.
57384 2013-01-01  David S. Miller  <davem@davemloft.net>
57386         * po/ca.po: Update from translation team.
57388 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57390         * scripts/update-copyrights: New file.
57391         * Makeconfig: Reformat copyright notice.
57392         * ctype/ctype.h: Likewise.
57393         * debug/swprintf_chk.c: Likewise.
57394         * elf/dl-cache.c: Likewise.
57395         * elf/dl-debug.c: Likewise.
57396         * elf/dl-object.c: Likewise.
57397         * grp/initgroups.c: Likewise.
57398         * hurd/Makefile: Likewise.
57399         * hurd/hurd/signal.h: Likewise.
57400         * hurd/hurdfault.c: Likewise.
57401         * hurd/hurdioctl.c: Likewise.
57402         * hurd/hurdlookup.c: Likewise.
57403         * hurd/intr-msg.c: Likewise.
57404         * iconv/gconv_open.c: Likewise.
57405         * libio/swprintf.c: Likewise.
57406         * locale/lc-ctype.c: Likewise.
57407         * locale/nl_langinfo.c: Likewise.
57408         * mach/Machrules: Likewise.
57409         * mach/Makefile: Likewise.
57410         * malloc/obstack.h: Likewise.
57411         * manual/Makefile: Likewise.
57412         * manual/tsort.awk: Likewise.
57413         * misc/bits/stab.def: Likewise.
57414         * nis/nis_print_group_entry.c: Likewise.
57415         * nis/nis_table.c: Likewise.
57416         * nis/nss_compat/compat-pwd.c: Likewise.
57417         * nis/nss_compat/compat-spwd.c: Likewise.
57418         * po/Makefile: Likewise.
57419         * posix/fnmatch.c: Likewise.
57420         * posix/regex.h: Likewise.
57421         * resolv/Makefile: Likewise.
57422         * resolv/nss_dns/dns-network.c: Likewise.
57423         * resolv/res_hconf.c: Likewise.
57424         * scripts/gen-sorted.awk: Likewise.
57425         * soft-fp/soft-fp.h: Likewise.
57426         * stdio-common/printf.h: Likewise.
57427         * stdlib/monetary.h: Likewise.
57428         * stdlib/random.c: Likewise.
57429         * stdlib/random_r.c: Likewise.
57430         * sysdeps/generic/Makefile: Likewise.
57431         * sysdeps/gnu/Makefile: Likewise.
57432         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57433         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57434         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57436         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57439         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57440         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57441         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57442         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57443         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57444         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57445         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57446         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57447         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57448         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57449         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57450         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57451         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57452         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57453         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57454         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57455         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57456         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57457         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57458         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57459         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57460         * sysdeps/mach/hurd/errnos.awk: Likewise.
57461         * sysdeps/mach/hurd/fork.c: Likewise.
57462         * sysdeps/mach/hurd/getcwd.c: Likewise.
57463         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57464         * sysdeps/mach/hurd/mmap.c: Likewise.
57465         * sysdeps/mach/hurd/utimes.c: Likewise.
57466         * sysdeps/mach/hurd/xmknod.c: Likewise.
57467         * sysdeps/posix/profil.c: Likewise.
57468         * sysdeps/posix/readdir_r.c: Likewise.
57469         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57470         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57471         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57472         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57474         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57475         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57476         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57478         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57479         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57480         * sysdeps/pthread/lio_listio.c: Likewise.
57481         * sysdeps/sparc/dl-procinfo.h: Likewise.
57482         * sysdeps/unix/i386/sysdep.S: Likewise.
57483         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57484         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57485         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57486         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57488         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57489         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57490         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57491         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57492         * sysdeps/wordsize-32/divdi3.c: Likewise.
57493         * time/sys/time.h: Likewise.
57494         * wcsmbs/Makefile: Likewise.
57496 2013-01-01  David S. Miller  <davem@davemloft.net>
57498         * po/fr.po: Update from translation team.
57500         * catgets/gencat.c: Update copyright year.
57501         * csu/version.c: Likewise.
57502         * debug/catchsegv.sh: Likewise.
57503         * debug/pcprofiledump.c: Likewise.
57504         * debug/xtrace.sh: Likewise.
57505         * elf/ldconfig.c: Likewise.
57506         * elf/ldd.bash.in: Likewise.
57507         * elf/pldd.c: Likewise.
57508         * elf/sotruss.ksh: Likewise.
57509         * elf/sprof.c: Likewise.
57510         * iconv/iconv_prog.c: Likewise.
57511         * iconv/iconvconfig.c: Likewise.
57512         * locale/programs/locale.c: Likewise.
57513         * locale/programs/localedef.c: Likewise.
57514         * login/programs/pt_chown.c: Likewise.
57515         * malloc/memusage.sh: Likewise.
57516         * malloc/memusagestat.c: Likewise.
57517         * malloc/mtrace.pl: Likewise.
57518         * nscd/nscd.c: Likewise.
57519         * nss/getent.c: Likewise.
57520         * nss/makedb.c: Likewise.
57521         * posix/getconf.c: Likewise.
57523 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57525         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57526         numbers.
57528 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57530         * math/bits/mathcalls.h (modf): Use __nonnull.
57532 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57534         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57535         (split): Use macro CN instead of the bare value.
57536         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57537         could be used.
57538         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57539         instead of the bare value.
57540         (power1): Likewise.
57542 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57544         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57545         __ATAN_TWOM.
57546         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57548         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57549         their values.
57550         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57551         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57552         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57553         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57555 2012-12-28  Andreas Jaeger  <aj@suse.de>
57557         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57558         values are from Linux 3.7.
57560         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57561         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57563 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57565         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57566         TRUE case.
57568         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57569         (norm): Likewise.
57570         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57571         variables with preprocessor constants.
57572         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57573         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57574         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57576 2012-12-27  Bruno Haible  <bruno@clisp.org>
57578         [BZ #14317]
57579         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57580         only if needed.
57582 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57584         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57585         and use variable directly.
57586         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57588         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57589         MPONE.
57590         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57591         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57592         variable MPONE.
57593         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57595         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57596         include directive.  Remove local variable MPONE.
57597         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57598         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57599         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57601 2012-12-25  David S. Miller  <davem@davemloft.net>
57603         * version.h (RELEASE): Set to "development".
57604         (VERSION): Set to "2.17.90".
57605         * NEWS: Add 2.18 section.
57607 2012-12-21  David S. Miller  <davem@davemloft.net>
57609         * po/hr.po: Update from translation team.
57611 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57613         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57615 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57617         * NEWS:  Mention new memcpy for MIPS.
57619 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57621         * manual/contrib.texi (Contributors): Spelling correction.
57623 2012-12-15  David S. Miller  <davem@davemloft.net>
57625         * po/ru.po: Update from translation team.
57627 2012-12-13  David S. Miller  <davem@davemloft.net>
57629         * NEWS: Mention IFUNC testsuite enhancements.
57631         * po/pl.po: Update from translation team.
57632         * po/bg.po: Likewise.
57634         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57635         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57637 2012-12-11  David S. Miller  <davem@davemloft.net>
57639         * po/sv.po: Update from translation team.
57641         * po/vi.po: Update from translation team.
57643         * po/cs.po: Update from translation team.
57645         * po/de.po: Update from translation team.
57646         * po/eo.po: Likewise.
57647         * po/nl.po: Likewise.
57649 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57651         [BZ #14246]
57652         * manual/argp.texi (Argp Helper Functions): Move node to follow
57653         Argp Parsing State.
57655         [BZ #14872]
57656         * manual/conf.texi (Limits on File System Capacity): Mention if
57657         terminating null is included in the max size.
57659 2012-12-10  Andreas Jaeger  <aj@suse.de>
57661         * po/cs.po: Update from translation team.
57663 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57665         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57666         void pointer and cast to uintptr_t.
57667         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57668         path.
57669         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57670         * sysdeps/s390/s390-64/memset.S: Likewise.
57672 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57674         [BZ #14833]
57675         * menual/message.texi (Message Translation): Fix typos.
57676         (Helper programs for gettext): Likewise.
57678 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57680         [BZ #14898]
57681         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57682         Change to -1.
57684 2012-12-07  David S. Miller  <davem@davemloft.net>
57686         * po/libc.pot: Update.
57688 2012-12-07  Richard Henderson  <rth@redhat.com>
57690         [BZ #10114]
57691         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57692         normal/normal case to before the switch.
57693         (_FP_DIV): Likewise.
57695 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57696             Mike Frysinger  <vapier@gentoo.org>
57698         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57699         check for __NR_fadvise64_64.
57701 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57703         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57704         0, not just to plain "0" as a statement.
57705         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57706         with cw.
57708 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57710         * NEWS: Use sourceware.org in Bugzilla URL.
57712 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57715         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57717         * stdio-common/tst-put-error.c (do_test): Add newline to the
57718         padded test to ensure flush.
57720 2012-12-05  Jeff Law  <law@redhat.com>
57722         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57724 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57726         * README: Don't refer to ports add-on as distributed separately.
57727         Mention AArch64 in list of systems supported in the ports add-on.
57729         * LICENSES: Add more non-FSF copyright and license notices.
57731         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57732         ((unused)).
57734         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57736         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57737         10000 as width of padded output.
57739 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57741         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57743         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57744         variable LX with __attribute__ ((unused)).
57745         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57746         Likewise.
57747         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57750         with __attribute__ ((unused)).
57752 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57754         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57756 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57758         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57759         (CFLAGS-nldbl-acos.c): New variable.
57760         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57761         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57762         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57763         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57764         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57765         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57766         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57767         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57768         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57769         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57770         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57771         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57772         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57773         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57774         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57775         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57776         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57777         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57778         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57779         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57780         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57781         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57782         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57783         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57784         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57785         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57786         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57787         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57788         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57789         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57790         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57791         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57792         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57793         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57794         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57795         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57796         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57797         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57798         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57799         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57800         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57801         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57802         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57803         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57804         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57805         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57806         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57807         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57808         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57809         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57810         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57811         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57812         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57813         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57814         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57815         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57816         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57817         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57818         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57819         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57820         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57821         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57822         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57823         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57824         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57825         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57826         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57827         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57828         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57829         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57830         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57831         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57832         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57833         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57834         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57835         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57836         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57837         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57838         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57839         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57840         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57841         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57842         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57843         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57844         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57845         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57846         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57847         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57848         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57849         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57850         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57851         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57852         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57853         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57854         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57855         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57856         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57859         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57861         [BZ #14914]
57862         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57863         whole low double instead of just low 47 bits when splitting values
57864         into two parts.
57866 2012-12-03  Allan McRae  <allan@archlinux.org>
57868         * manual/stdio.texi (Predefined Printf Handlers): Remove
57869         @hsep and @vsep usage.
57871 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57873         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57874         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57876 2012-12-03  Jeff Law  <law@redhat.com>
57878         * time/sys/time.h (settimeofday): Do not mark TV argument
57879         as __nonnull.
57881 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57883         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57884         when currently writing and seek to current position when not.
57885         * libio/Makefile (tests): Remove bug-fclose1.
57886         * libio/bug-fclose1.c: Delete.
57888 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57890         * manual/arith.texi (feenableexcept): Fix typo.
57891         (fedisableexcept): Likewise.
57893 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57895         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57896         second, differently-typed declaration, rather than a cast.
57898 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57900         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57901         * include/rpc/svc.h: ... here.
57903 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57905         [BZ #13013]
57906         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57907         depending n and resplen2 to catch cases where answer
57908         equals answerp2.
57910 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57912         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57913         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57915 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57917         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57919 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57921         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57923 2012-11-28  Jeff Law  <law@redhat.com>
57925         [BZ #13761]
57926         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57927         dataset_temporary.  Track alloca usage into alloca_used.
57928         If dataset is large allocate and release it via malloc/free.
57930 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57932         [BZ #14197]
57933         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57935 2012-11-28  David S. Miller  <davem@davemloft.net>
57937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57939 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57941         [BZ #14803]
57942         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57943         of pi/2 rounded to nearest to 64 bits.
57944         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57945         nearest to 64 bits.
57946         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57947         bits.
57949 2012-11-28  Jeff Law <law@redhat.com>
57950             Martin Osvald <mosvald@redhat.com>
57952         [BZ #14889]
57953         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57954         * sunrpc/svc.c: Include time.h.
57955         (__svc_accept_failed): New function.
57956         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57957         any reason other than EINTR, call __svc_accept_failed.
57958         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57959         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57961 2012-11-28  Andreas Schwab  <schwab@suse.de>
57963         * scripts/abilist.awk: Also handle indirect functions in .opd
57964         section.
57966 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57968         [BZ #13881]
57969         * sysdeps/x86/fpu/powl_helper.c: New file.
57970         * sysdeps/x86/fpu/Makefile: Likewise.
57971         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57972         (p3): New object.
57973         (__ieee754_powl): Use __powl_helper for finite arguments except
57974         integer exponents below 8.
57975         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57976         (p3): New object.
57977         (__ieee754_powl): Use __powl_helper for finite arguments except
57978         integer exponents below 8.
57979         * math/libm-test.inc (pow_test): Add more tests and enable some
57980         previously disabled tests.
57981         * sysdeps/i386/fpu/libm-test-ulps: Update.
57982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57984 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57985             Carlos O'Donell  <carlos_odonell@mentor.com>
57987         * nss/makedb.c (is_prime): Assert that input is odd and greater
57988         than 4.  Note that fact in a comment too.
57989         (next_prime): Add 4 to input.
57991 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57993         [BZ #11741]
57994         * libio/Makefile (tests): Add test case tst-fwrite-error.
57995         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57996         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57997         * libio/tst-fwrite-error.c: New test case.
57999 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58001         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58002         before casting to void *.
58003         * include/libc-internal.h (__pointer_type): New macro.
58004         (__integer_if_pointer_type_sub): Likewise.
58005         (__integer_if_pointer_type): Likewise.
58006         (cast_to_integer): Likewise.
58007         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58008         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58009         before casting to atomic64_t.
58010         (atomic_exchange_acq): Likewise.
58011         (__arch_exchange_and_add_body): Likewise.
58012         (__arch_add_body): Likewise.
58013         (atomic_add_negative): Likewise.
58014         (atomic_add_zero): Likewise.
58016 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58018         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58019         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58020         (add_fdes): Likewise.
58021         (linear_search_fdes): Likewise.
58022         (binary_search_unencoded_fdes): Likewise.
58024 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58026         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58028 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58030         * configure.in: Autodetect C++ header directories.
58031         * configure: Regenerated.
58033 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58035         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58037 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58041 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58043         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58044         LDBL_MANT_DIG == 106]: Disable some tests.
58045         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58046         Likewise.
58047         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58048         Likewise.
58050         [BZ #14871]
58051         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58052         input for small inputs.  Return +/- pi/2 for large inputs.
58053         * math/libm-test.inc (atan_test): Add more tests.
58055         * sysdeps/generic/unwind-dw2-fde-glibc.c
58056         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58057         __attribute__ ((unused)).
58059         [BZ #14645]
58060         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58061         x * y if x and y are nonzero and z is zero.
58063         [BZ #14811]
58064         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58065         nonzero exponents with absolute value below 0x1p-117 to +/-
58066         0x1p-117.
58068         [BZ #14869]
58069         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58070         up arguments below 2**-450, not just those below 2**-500.
58071         * math/libm-test.inc (hypot_test): Add another test.
58073         [BZ #14868]
58074         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58075         Return a+b for ratio over 2**120, not 2**60.
58076         * math/libm-test.inc (hypot_test): Add another test.
58078         * math/libm-test.inc (clog_test): Use
58079         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58080         (clog10_test): Likewise.
58082         [BZ #6778]
58083         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58085 2012-11-22  Andreas Schwab  <schwab@suse.de>
58087         * sysdeps/i386/fpu/libm-test-ulps: Update.
58089 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58091         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58092         printf output with newline.
58094 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58096         [BZ #14865]
58097         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58098         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58099         -z nodlopen, -z initfirst and -z execstack support.
58100         * configure: Regenerated.
58102         * elf/elf.h (DF_1_NODIRECT): New macro.
58103         (DF_1_IGNMULDEF): Likewise.
58104         (DF_1_NOKSYMS): Likewise.
58105         (DF_1_NOHDR): Likewise.
58106         (DF_1_EDITED): Likewise.
58107         (DF_1_NORELOC): Likewise.
58108         (DF_1_SYMINTPOSE): Likewise.
58109         (DF_1_GLOBAUDIT): Likewise.
58110         (DF_1_SINGLETON): Likewise.
58111         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58112         DT_1_SUPPORTED_MASK bits.
58113         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58115 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58117         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58119 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58121         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58122         macro.
58124         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58125         (sendmmsg): Move declarations...
58126         * socket/sys/socket.h: ... here.
58127         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58128         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58129         include it from...
58130         * socket/recvmmsg.c: ... this new file.
58131         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58132         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58133         definition of __sendmmsg hidden.
58134         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58135         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58136         Move ENOSYS stub into and include it from...
58137         * socket/sendmmsg.c: ... this new file.
58138         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58139         (sysdep_routines): Move recvmmsg and sendmmsg...
58140         * socket/Makefile (routines): ... here.
58141         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58142         (GLIBC_PRIVATE): Add __sendmmsg.
58143         * include/sys/socket.h (__sendmmsg): Add declarations.
58144         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58145         sendmmsg.
58147 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58149         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58150         variable I1 with __attribute__ ((unused)).
58151         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58153 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58155         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58156         DUMMY variables with __attribute__ ((unused)).
58158         * bits/byteswap.h: Include <bits/types.h>.
58159         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58161 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58163         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58164         string_t.  Do not manually set errno.
58165         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58166         length with __strnlen.  Make sure to both set errno and return it on
58167         failure.
58169 2012-11-19  David S. Miller  <davem@davemloft.net>
58171         With help from Joseph Myers.
58172         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58173         very large arguments properly.
58174         * math/libm-test.inc (atan_test): New tests.
58175         (atan2_test): New tests.
58176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58179 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58181         [BZ #14856]
58182         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58183         Define to 3.
58185         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58186         [POSIX] (EADDRNOTAVAIL): Likewise.
58187         [POSIX] (EAFNOSUPPORT): Likewise.
58188         [POSIX] (EALREADY): Likewise.
58189         [POSIX] (ECONNABORTED): Likewise.
58190         [POSIX] (ECONNREFUSED): Likewise.
58191         [POSIX] (ECONNRESET): Likewise.
58192         [POSIX] (EDESTADDRREQ): Likewise.
58193         [POSIX] (EDQUOT): Likewise.
58194         [POSIX] (EHOSTUNREACH): Likewise.
58195         [POSIX] (EIDRM): Likewise.
58196         [POSIX] (EISCONN): Likewise.
58197         [POSIX] (ELOOP): Likewise.
58198         [POSIX] (EMULTIHOP): Likewise.
58199         [POSIX] (ENETDOWN): Likewise.
58200         [POSIX] (ENETUNREACH): Likewise.
58201         [POSIX] (ENOBUFS): Likewise.
58202         [POSIX] (ENODATA): Likewise.
58203         [POSIX] (ENOLINK): Likewise.
58204         [POSIX] (ENOMSG): Likewise.
58205         [POSIX] (ENOPROTOOPT): Likewise.
58206         [POSIX] (ENOSR): Likewise.
58207         [POSIX] (ENOSTR): Likewise.
58208         [POSIX] (ENOTCONN): Likewise.
58209         [POSIX] (ENOTSOCK): Likewise.
58210         [POSIX] (EOPNOTSUPP): Likewise.
58211         [POSIX] (EOVERFLOW): Likewise.
58212         [POSIX] (EPROTO): Likewise.
58213         [POSIX] (EPROTONOSUPPORT): Likewise.
58214         [POSIX] (EPROTOTYPE): Likewise.
58215         [POSIX] (ESTALE): Likewise.
58216         [POSIX] (ETIME): Likewise.
58217         [POSIX] (ETXTBSY): Likewise.
58218         [POSIX] (EWOULDBLOCK): Likewise.
58219         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58220         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58221         [POSIX] (SEEK_CUR): Likewise.
58222         [POSIX] (SEEK_END): Likewise.
58223         [POSIX || UNIX98] (mode_t): Do not require.
58224         [POSIX] (off_t): Likewise.
58225         [POSIX] (pid_t): Likewise.
58226         [POSIX] (sys/stat.h): Do not allow header.
58227         [POSIX] (unistd.h): Likewise.
58228         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58229         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58230         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58231         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58232         require.
58233         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58234         sigevent): Specify elements.
58235         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58236         entry.
58237         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58238         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58240         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58241         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58242         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58243         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58244         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58245         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58246         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58247         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58248         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58249         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58250         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58251         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58252         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58253         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58254         Likewise.
58255         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58256         Likewise.
58257         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58258         Likewise.
58259         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58260         Likewise.
58261         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58262         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58263         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58264         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58265         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58266         Specify lower bound on value.
58267         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58268         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58269         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58270         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58271         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58272         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58273         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58274         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58275         value.
58276         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58277         as optional.
58278         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58279         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58280         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58281         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58282         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58283         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58284         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58285         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58286         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58287         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58288         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58289         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58290         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58291         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58292         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58293         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58294         entry.
58295         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58296         optional.
58297         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58298         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58299         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58300         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58301         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58302         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58303         Likewise.
58304         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58305         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58306         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58307         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58308         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58309         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58310         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58311         as optional.
58312         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58313         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58314         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58315         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58316         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58317         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58318         specify as optional.
58319         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58320         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58321         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58322         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58323         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58324         [XPG3] (NL_LANGMAX): Likewise.
58325         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58326         [POSIX || XPG3] (NL_NMAX): Likewise.
58327         [POSIX || XPG3] (NL_SETMAX): Likewise.
58328         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58329         [XPG3] (NZERO): Likewise.
58330         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58331         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58332         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58333         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58334         (REG_ERANGE): Expect.
58335         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58336         optional-constant.
58337         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58338         Use (void) in prototype.
58339         [POSIX] (*_t): Allow.
58340         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58341         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58342         (WRDE_BADVAL): Expect.
58344         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58345         expect.
58346         [XPG3 || XPG4] (O_RSYNC): Likewise.
58347         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58348         Likewise.
58349         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58350         [XPG3 || XPG4] (sigqueue): Likewise.
58351         [XPG3 || XPG4] (sigtimedwait): Likewise.
58352         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58353         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58354         [XPG3 || XPG4] (vsnprintf): Likewise.
58355         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58356         Likewise.
58357         [XPG3 || XPG4] (blksize_t): Likewise.
58358         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58359         Likewise.
58360         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58361         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58362         [XPG3 || XPG4] (struct itimerspec): Likewise.
58363         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58364         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58365         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58366         [XPG3 || XPG4] (clockid_t): Likewise.
58367         [XPG3 || XPG4] (timer_t): Likewise.
58368         [XPG3 || XPG4] (clock_getres): Likewise.
58369         [XPG3 || XPG4] (clock_gettime): Likewise.
58370         [XPG3 || XPG4] (clock_settime): Likewise.
58371         [XPG3 || XPG4] (nanosleep): Likewise.
58372         [XPG3 || XPG4] (timer_create): Likewise.
58373         [XPG3 || XPG4] (timer_delete): Likewise.
58374         [XPG3 || XPG4] (timer_gettime): Likewise.
58375         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58376         [XPG3 || XPG4] (timer_settime): Likewise.
58377         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58378         [XPG3 || XPG4] (getlogin_r): Likewise.
58379         [XPG3 || XPG4] (pread): Likewise.
58380         [XPG3 || XPG4] (pthread_atfork): Likewise.
58381         [XPG3 || XPG4] (pwrite): Likewise.
58383         [BZ #14835]
58384         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58385         <bits/siginfo.h>.
58387 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58389         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58390         finalizing MALLSTREAM.
58392         * sysdeps/mach/hurd/syncfs.c: New file.
58394 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58396         [BZ #14719]
58397         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58398         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58399         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58400         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58401         (_nss_dns_gethostbyname4_r): Likewise.
58402         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58403         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58405 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58407         [BZ #13763]
58408         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58410 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58412         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58413         * elf/cache.c (print_entry): Print ",AArch64" for
58414         FLAG_AARCH64_LIB64
58416         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58417         * elf/cache.c (print_entry): Print ",hard-float" for
58418         FLAG_ARM_LIBHF.
58420 2012-11-18  David S. Miller  <davem@davemloft.net>
58422         With help from Joseph Myers.
58423         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58424         cutoff to 2**-13.
58425         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58426         cutoff to 2**-25.
58427         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58428         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58429         small.
58430         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58431         * math/libm-test.inc (y0_test): New tests.
58432         (y1_test): New tests.
58433         * sysdeps/i386/fpu/libm-test-ulps: Update.
58434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58437 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58439         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58440         64-bit targets.
58441         * configure: Regenerated.
58443 2012-11-17  David S. Miller  <davem@davemloft.net>
58445         [BZ #14811]
58446         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58447         nonzero exponents with absolute value below 0x1p-128 to +/-
58448         0x1p-128.
58450 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58452         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58454         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58456         * posix/getconf-speclist.c: New file.
58457         * posix/posix-envs.def: Likewise.
58458         * posix/confstr.c (START_ENV_GROUP): New macro.
58459         (END_ENV_GROUP): Likewise.
58460         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58461         (KNOWN_PRESENT_ENV_STRING): Likewise.
58462         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58463         (UNKNOWN_ENVIRONMENT): Likewise.
58464         (confstr): Include posix-envs.def instead of handling
58465         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58466         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58467         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58468         (END_ENV_GROUP): Likewise.
58469         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58470         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58471         (UNKNOWN_ENVIRONMENT): Likewise.
58472         (__sysconf): Include posix-envs.def instead of handling associated
58473         cases directly here.
58474         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58475         preprocessing getconf-speclist.c rather than running getconf or
58476         generating empty file.
58478 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58480         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58482 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58484         [BZ #14672]
58485         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58487 2012-11-16  David S. Miller  <davem@davemloft.net>
58489         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58490         smaller than LDBL_EPSILON/2.0L, just return xm1.
58492 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58494         * elf/tst-array1.c (init): Set constructor priority to 1000.
58495         (fini): Set destructor priority to 1000.
58496         * elf/tst-array2dep.c: Likewise.
58498 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58500         [BZ #11741]
58501         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58502         (_IO_new_file_xsputn): Also return EOF if none of the input
58503         data was written when overflow failed.
58504         * libio/iopadn.c (_IO_padn): Likewise.
58505         * libio/iowpadn.c (_IO_wpadn): Likewise.
58506         * stdio-common/tst-put-error.c: Add copyright notice.
58507         (do_test): Add case for printing padded string.
58508         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58509         _IO_padn returned error.
58510         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58511         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58512         return EOF.
58514 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58516         * libio/libioP.h: Add comment note that the references to C++
58517         bits are now obsolete.
58519 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58521         * math/libm-test.inc (check_complex): Use asprintf.
58523 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58525         * debug/pcprofiledump.c (print_version): Update copyright year.
58526         * malloc/memusagestat.c (print_version): Likewise.
58528 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58530         [BZ #14831]
58531         * elf/Makefile (tests): Add tst-audit8.
58532         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58533         ($(objpfx)tst-audit8.out): New target.
58534         (tst-audit8-ENV): New variable.
58535         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58536         audit if l_reloc_result is NULL.
58537         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58538         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58539         * elf/tst-audit8.c: New file.
58541 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58543         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58544         * misc/Makefile (CFLAGS-select.c): Define.
58545         * posix/Makefile (CFLAGS-pause.c): Define.
58547 2012-11-13  David S. Miller  <davem@davemloft.net>
58549         * crypt/Makefile: Move test targets after toplevel Rules
58550         inclusion.  Grab any necessary sysdep routines when linking.
58551         * crypt/md5.c (md5_process_block): Remove define, we will always
58552         name it __md5_process_block.
58553         (md5_finish_ctx): Update md5_process_block call.
58554         (md5_stream): Likewise.
58555         (md5_process_bytes): Likewise.
58556         (md5_process_block): Rename to __md5_process_block and move to ...
58557         * crypt/md5-block.c: ... here.
58558         * crypt/sha256.c (sha256_process_block): Move to ...
58559         * crypt/sha256-block.c: ... here.
58560         * crypt/sha512.c (sha512_process_block): Move to ...
58561         * crypt/sha512-block.c: ... here.
58562         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58563         path.
58564         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58565         * sysdeps/sparc/sparc64/multiarch/Makefile
58566         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58567         crypt subdir.
58568         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58569         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58570         multiarch changes.
58571         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58572         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58573         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58574         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58575         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58576         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58577         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58578         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58579         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58580         file.
58581         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58582         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58583         file.
58584         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58586 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58588         * timezone/tzselect.ksh: Update from tzcode git revision
58589         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58590         * timezone/zdump.c: Likewise.
58591         * timezone/zic.c: Likewise.
58592         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58593         in TZVERSION setting, not $(PKGVERSION).
58594         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58595         REPORT_BUGS_TO settings.
58597         [BZ #14838]
58598         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58599         macro.
58601 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58603         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58604         detection to immediately after _FP_ROUND().
58605         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58606         bits are 0.
58608 2012-11-11  David S. Miller  <davem@davemloft.net>
58610         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58611         inttypes.h
58612         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58613         __close rather than their public counterparts.
58615 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58617         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58618         file.
58619         [UNIX98] (sem_timedwait): Do not expect.
58620         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58621         [XPG4 || UNIX98] (sockatmark): Do not expect.
58622         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58623         (clock_getcpuclockid): Do not expect.
58624         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58625         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58626         Do not expect.
58627         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58628         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58629         [UNIX98] (vwscanf): Likewise.
58630         [UNIX98] (vswscanf): Likewise.
58632 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58634         * timezone/version.h: Remove file.
58635         * timezone/README: Do not refer to version.h.
58636         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58637         $(objpfx)version.h.
58638         ($(objpfx)zdump.o): Likewise.
58639         ($(objpfx)version.h): New target.
58641         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58642         2012i.
58643         * timezone/README: Don't mention modification to tzselect.ksh.
58644         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58645         work on unmodified tzselect.ksh.  Substitute version numbers in
58646         tzselect.ksh.
58648         * Makefile (format-me): Remove.
58649         (INSTALL): Adjust indentation.  Use commands directly instead of
58650         using $(format-me).
58652         * aclocal.m4 (ACX_PKGVERSION): New macro.
58653         (ACX_BUGURL): Likewise.
58654         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58655         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58656         (REPORT_BUGS_TO): Likewise.
58657         * configure: Regenerated.
58658         * config.h.in (PKGVERSION): New macro.
58659         (REPORT_BUGS_TO): Likewise.
58660         * config.make.in (PKGVERSION): New variable.
58661         (PKGVERSION_TEXI): Likewise.
58662         (REPORT_BUGS_TO): Likewise.
58663         (REPORT_BUGS_TEXI): Likewise.
58664         * Makefile (format-me): Use -I$(common-objpfx)manual.
58665         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58666         ($(common-objpfx)manual/%): New target.
58667         (manual/%): Remove target.
58668         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58669         (print_version): Use PKGVERSION.
58670         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58671         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58672         and REPORT_BUGS_TO.
58673         ($(objpfx)xtrace): Likewise.
58674         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58675         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58676         (print_version): Use PKGVERSION.
58677         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58678         (do_version): Use PKGVERSION.
58679         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58680         REPORT_BUGS_TO.
58681         (common-ldd-rewrite): Likewise.
58682         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58683         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58684         (print_version): Use PKGVERSION.
58685         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58686         * elf/pldd.c (argp_program_bug_address): Remove variable.
58687         (more_help): New function.
58688         (argp): Use more_help.
58689         (print_version): Use PKGVERSION.
58690         * elf/sln.c (main): Use PKGVERSION.
58691         (usage): Use REPORT_BUGS_TO.
58692         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58693         (top level): Use PKGVERSION.
58694         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58695         (print_version): Use PKGVERSION.
58696         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58697         (print_version): Use PKGVERSION.
58698         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58699         (print_version): Use PKGVERSION.
58700         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58701         (print_version): Use PKGVERSION.
58702         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58703         (print_version): Use PKGVERSION.
58704         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58705         (print_version): Use PKGVERSION.
58706         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58707         and BUGURL.
58708         ($(objpfx)memusage): Likewise.
58709         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58710         (do_version): Use PKGVERSION.
58711         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58712         (print_version): Use PKGVERSION.
58713         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58714         ($PKGVERSION): New variable.
58715         ($REPORT_BUGS_TO): Likewise.
58716         (usage): Use $REPORT_BUGS_TO.
58717         (top level): Use $PKGVERSION.
58718         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58719         ($(objpfx)pkgvers.texi): New rule.
58720         ($(objpfx)stamp-pkgvers): Likewise.
58721         * manual/install.texi: Include pkgvers.texi.
58722         (--with-pkgversion): Document new configure option.
58723         (--with-bugurl): Likewise.
58724         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58725         than necessarily for this particular distribution.  Use
58726         REPORT_BUGS_TO for where to report bugs.
58727         * INSTALL: Regenerated.
58728         * manual/libc.texinfo: Include pkgvers.texi.
58729         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58730         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58731         (print_version): Use PKGVERSION.
58732         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58733         (print_version): Use PKGVERSION.
58734         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58735         (print_version): Use PKGVERSION.
58736         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58737         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58738         macro.
58739         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58740         (print_version): Use PKGVERSION.
58741         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58742         (print_version): Use PKGVERSION.
58743         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58744         and PKGVERSION.
58746         * timezone/checktab.awk: Update from tzcode 2012i.
58747         * timezone/ialloc.c: Likewise.
58748         * timezone/private.h: Likewise.
58749         * timezone/scheck.c: Likewise.
58750         * timezone/tzfile.h: Likewise.
58751         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58752         (TZVERSION): Hardcode tzcode version number.
58753         * timezone/zdump.c: Update from tzcode 2012i.
58754         * timezone/zic.c: Likewise.
58755         * timezone/version.h: New file.
58756         * timezone/README: Describe version.h.  Update upstream location.
58758         [BZ #14824]
58759         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58760         (mktemp): Enable declaration.
58761         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58762         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58763         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58764         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58765         Likewise.
58766         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58767         Likewise.
58768         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58769         Likewise.
58770         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58771         Likewise.
58772         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58773         Likewise.
58774         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58775         Likewise.
58777         [BZ #14821]
58778         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58779         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58780         for copies of such integer values.
58781         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58782         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58784 2012-11-09  Andreas Jaeger  <aj@suse.de>
58786         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58787         definitions and declarations that are provided by
58788         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58790 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58792         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58793         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58794         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58795         definition.
58797 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58799         * elf/elf.h: Update comment before AArch64 relocations.
58801 2012-11-07  David S. Miller  <davem@davemloft.net>
58803         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58804         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58805         (__start_context): Declare.
58806         (__makecontext_ret): Delete.
58807         (__makecontext): Hook up __start_context instead of
58808         __makecontext_ret.
58809         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58810         (sysdep_routines): Add __start_context when in stdlib.
58812 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58814         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58815         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58816         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58817         hardcoded "nm".
58818         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58819         (READELF): New variable.  Use it instead of hardcoded "readelf".
58821 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58823         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58824         * sysdeps/x86/Makefile: Here.
58825         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58826         * sysdeps/x86/tst-xmmymm.sh: This.
58828 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58830         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58831         expectations.
58832         [UNIX98] (pthread_barrier_t): Do not expect.
58833         [UNIX98] (pthread_barrierattr_t): Likewise.
58834         [UNIX98] (pthread_spinlock_t): Likewise.
58835         [UNIX98] (pthread_barrier_destroy): Likewise.
58836         [UNIX98] (pthread_barrier_init): Likewise.
58837         [UNIX98] (pthread_barrier_wait): Likewise.
58838         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58839         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58840         [UNIX98] (pthread_barrierattr_init): Likewise.
58841         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58842         [UNIX98] (pthread_getcpuclockid): Likewise.
58843         [UNIX98] (pthread_mutex_timedlock): Likewise.
58844         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58845         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58846         [UNIX98] (pthread_sigmask): Likewise.
58847         [UNIX98] (pthread_spin_destroy): Likewise.
58848         [UNIX98] (pthread_spin_init): Likewise.
58849         [UNIX98] (pthread_spin_lock): Likewise.
58850         [UNIX98] (pthread_spin_trylock): Likewise.
58851         [UNIX98] (pthread_spin_unlock): Likewise.
58852         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58853         Do not expect.
58854         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58855         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58856         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58857         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58858         [XPG3 || XPG4] (pthread_key_t): Likewise.
58859         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58860         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58861         [XPG3 || XPG4] (pthread_once_t): Likewise.
58862         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58863         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58864         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58865         [XPG3 || XPG4] (pthread_t): Likewise.
58867         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58868         not expect.
58869         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58871         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58872         Change function return type to int.
58874         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58875         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58876         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58877         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58878         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58879         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58880         [!POSIX] (posix_madvise): Likewise.
58881         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58882         && !UNIX98].
58883         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58884         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58885         (mode_t): Likewise.
58886         (posix_mem_offset): Likewise.
58887         (posix_typed_mem_get_info): Likewise.
58888         (posix_typed_mem_open): Likewise.
58890         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58891         Change condition to [XOPEN2K8].
58893         * conform/conformtest.pl: Preprocess allow-header data with -x c
58894         instead of from stdin.
58895         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58896         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58897         [C99-based standards] (cerfc): Likewise.
58898         [C99-based standards] (cexp2): Likewise.
58899         [C99-based standards] (cexpm1): Likewise.
58900         [C99-based standards] (clog10): Likewise.
58901         [C99-based standards] (clog1p): Likewise.
58902         [C99-based standards] (clog2): Likewise.
58903         [C99-based standards] (clgamma): Likewise.
58904         [C99-based standards] (ctgamma): Likewise.
58905         [C99-based standards] (cerff): Likewise.
58906         [C99-based standards] (cerfcf): Likewise.
58907         [C99-based standards] (cexp2f): Likewise.
58908         [C99-based standards] (cexpm1f): Likewise.
58909         [C99-based standards] (clog10f): Likewise.
58910         [C99-based standards] (clog1pf): Likewise.
58911         [C99-based standards] (clog2f): Likewise.
58912         [C99-based standards] (clgammaf): Likewise.
58913         [C99-based standards] (ctgammaf): Likewise.
58914         [C99-based standards] (cerfl): Likewise.
58915         [C99-based standards] (cerfcl): Likewise.
58916         [C99-based standards] (cexp2l): Likewise.
58917         [C99-based standards] (cexpm1l): Likewise.
58918         [C99-based standards] (clog10l): Likewise.
58919         [C99-based standards] (clog1pl): Likewise.
58920         [C99-based standards] (clog2l): Likewise.
58921         [C99-based standards] (clgammal): Likewise.
58922         [C99-based standards] (ctgammal): Likewise.
58923         * conform/data/inttypes.h-data [C99-based standards]: Include
58924         stdint.h-data.  Remove all expectations for stdint.h contents.
58925         [C99-based standards] (PRI*): Do not allow.
58926         [C99-based standards] (SCN*): Likewise.
58927         [C99-based standards] (*_t): Likewise.
58928         [C99-based-standards] (PRId8): Expect macro.
58929         [C99-based-standards] (PRIi8): Likewise.
58930         [C99-based-standards] (PRIo8): Likewise.
58931         [C99-based-standards] (PRIu8): Likewise.
58932         [C99-based-standards] (PRIx8): Likewise.
58933         [C99-based-standards] (PRIX8): Likewise.
58934         [C99-based-standards] (SCNd8): Likewise.
58935         [C99-based-standards] (SCNi8): Likewise.
58936         [C99-based-standards] (SCNo8): Likewise.
58937         [C99-based-standards] (SCNu8): Likewise.
58938         [C99-based-standards] (SCNx8): Likewise.
58939         [C99-based-standards] (PRIdLEAST8): Likewise.
58940         [C99-based-standards] (PRIiLEAST8): Likewise.
58941         [C99-based-standards] (PRIoLEAST8): Likewise.
58942         [C99-based-standards] (PRIuLEAST8): Likewise.
58943         [C99-based-standards] (PRIxLEAST8): Likewise.
58944         [C99-based-standards] (PRIXLEAST8): Likewise.
58945         [C99-based-standards] (SCNdLEAST8): Likewise.
58946         [C99-based-standards] (SCNiLEAST8): Likewise.
58947         [C99-based-standards] (SCNoLEAST8): Likewise.
58948         [C99-based-standards] (SCNuLEAST8): Likewise.
58949         [C99-based-standards] (SCNxLEAST8): Likewise.
58950         [C99-based-standards] (PRIdFAST8): Likewise.
58951         [C99-based-standards] (PRIiFAST8): Likewise.
58952         [C99-based-standards] (PRIoFAST8): Likewise.
58953         [C99-based-standards] (PRIuFAST8): Likewise.
58954         [C99-based-standards] (PRIxFAST8): Likewise.
58955         [C99-based-standards] (PRIXFAST8): Likewise.
58956         [C99-based-standards] (SCNdFAST8): Likewise.
58957         [C99-based-standards] (SCNiFAST8): Likewise.
58958         [C99-based-standards] (SCNoFAST8): Likewise.
58959         [C99-based-standards] (SCNuFAST8): Likewise.
58960         [C99-based-standards] (SCNxFAST8): Likewise.
58961         [C99-based-standards] (PRId16): Likewise.
58962         [C99-based-standards] (PRIi16): Likewise.
58963         [C99-based-standards] (PRIo16): Likewise.
58964         [C99-based-standards] (PRIu16): Likewise.
58965         [C99-based-standards] (PRIx16): Likewise.
58966         [C99-based-standards] (PRIX16): Likewise.
58967         [C99-based-standards] (SCNd16): Likewise.
58968         [C99-based-standards] (SCNi16): Likewise.
58969         [C99-based-standards] (SCNo16): Likewise.
58970         [C99-based-standards] (SCNu16): Likewise.
58971         [C99-based-standards] (SCNx16): Likewise.
58972         [C99-based-standards] (PRIdLEAST16): Likewise.
58973         [C99-based-standards] (PRIiLEAST16): Likewise.
58974         [C99-based-standards] (PRIoLEAST16): Likewise.
58975         [C99-based-standards] (PRIuLEAST16): Likewise.
58976         [C99-based-standards] (PRIxLEAST16): Likewise.
58977         [C99-based-standards] (PRIXLEAST16): Likewise.
58978         [C99-based-standards] (SCNdLEAST16): Likewise.
58979         [C99-based-standards] (SCNiLEAST16): Likewise.
58980         [C99-based-standards] (SCNoLEAST16): Likewise.
58981         [C99-based-standards] (SCNuLEAST16): Likewise.
58982         [C99-based-standards] (SCNxLEAST16): Likewise.
58983         [C99-based-standards] (PRIdFAST16): Likewise.
58984         [C99-based-standards] (PRIiFAST16): Likewise.
58985         [C99-based-standards] (PRIoFAST16): Likewise.
58986         [C99-based-standards] (PRIuFAST16): Likewise.
58987         [C99-based-standards] (PRIxFAST16): Likewise.
58988         [C99-based-standards] (PRIXFAST16): Likewise.
58989         [C99-based-standards] (SCNdFAST16): Likewise.
58990         [C99-based-standards] (SCNiFAST16): Likewise.
58991         [C99-based-standards] (SCNoFAST16): Likewise.
58992         [C99-based-standards] (SCNuFAST16): Likewise.
58993         [C99-based-standards] (SCNxFAST16): Likewise.
58994         [C99-based-standards] (PRId32): Likewise.
58995         [C99-based-standards] (PRIi32): Likewise.
58996         [C99-based-standards] (PRIo32): Likewise.
58997         [C99-based-standards] (PRIu32): Likewise.
58998         [C99-based-standards] (PRIx32): Likewise.
58999         [C99-based-standards] (PRIX32): Likewise.
59000         [C99-based-standards] (SCNd32): Likewise.
59001         [C99-based-standards] (SCNi32): Likewise.
59002         [C99-based-standards] (SCNo32): Likewise.
59003         [C99-based-standards] (SCNu32): Likewise.
59004         [C99-based-standards] (SCNx32): Likewise.
59005         [C99-based-standards] (PRIdLEAST32): Likewise.
59006         [C99-based-standards] (PRIiLEAST32): Likewise.
59007         [C99-based-standards] (PRIoLEAST32): Likewise.
59008         [C99-based-standards] (PRIuLEAST32): Likewise.
59009         [C99-based-standards] (PRIxLEAST32): Likewise.
59010         [C99-based-standards] (PRIXLEAST32): Likewise.
59011         [C99-based-standards] (SCNdLEAST32): Likewise.
59012         [C99-based-standards] (SCNiLEAST32): Likewise.
59013         [C99-based-standards] (SCNoLEAST32): Likewise.
59014         [C99-based-standards] (SCNuLEAST32): Likewise.
59015         [C99-based-standards] (SCNxLEAST32): Likewise.
59016         [C99-based-standards] (PRIdFAST32): Likewise.
59017         [C99-based-standards] (PRIiFAST32): Likewise.
59018         [C99-based-standards] (PRIoFAST32): Likewise.
59019         [C99-based-standards] (PRIuFAST32): Likewise.
59020         [C99-based-standards] (PRIxFAST32): Likewise.
59021         [C99-based-standards] (PRIXFAST32): Likewise.
59022         [C99-based-standards] (SCNdFAST32): Likewise.
59023         [C99-based-standards] (SCNiFAST32): Likewise.
59024         [C99-based-standards] (SCNoFAST32): Likewise.
59025         [C99-based-standards] (SCNuFAST32): Likewise.
59026         [C99-based-standards] (SCNxFAST32): Likewise.
59027         [C99-based-standards] (PRId64): Likewise.
59028         [C99-based-standards] (PRIi64): Likewise.
59029         [C99-based-standards] (PRIo64): Likewise.
59030         [C99-based-standards] (PRIu64): Likewise.
59031         [C99-based-standards] (PRIx64): Likewise.
59032         [C99-based-standards] (PRIX64): Likewise.
59033         [C99-based-standards] (SCNd64): Likewise.
59034         [C99-based-standards] (SCNi64): Likewise.
59035         [C99-based-standards] (SCNo64): Likewise.
59036         [C99-based-standards] (SCNu64): Likewise.
59037         [C99-based-standards] (SCNx64): Likewise.
59038         [C99-based-standards] (PRIdLEAST64): Likewise.
59039         [C99-based-standards] (PRIiLEAST64): Likewise.
59040         [C99-based-standards] (PRIoLEAST64): Likewise.
59041         [C99-based-standards] (PRIuLEAST64): Likewise.
59042         [C99-based-standards] (PRIxLEAST64): Likewise.
59043         [C99-based-standards] (PRIXLEAST64): Likewise.
59044         [C99-based-standards] (SCNdLEAST64): Likewise.
59045         [C99-based-standards] (SCNiLEAST64): Likewise.
59046         [C99-based-standards] (SCNoLEAST64): Likewise.
59047         [C99-based-standards] (SCNuLEAST64): Likewise.
59048         [C99-based-standards] (SCNxLEAST64): Likewise.
59049         [C99-based-standards] (PRIdFAST64): Likewise.
59050         [C99-based-standards] (PRIiFAST64): Likewise.
59051         [C99-based-standards] (PRIoFAST64): Likewise.
59052         [C99-based-standards] (PRIuFAST64): Likewise.
59053         [C99-based-standards] (PRIxFAST64): Likewise.
59054         [C99-based-standards] (PRIXFAST64): Likewise.
59055         [C99-based-standards] (SCNdFAST64): Likewise.
59056         [C99-based-standards] (SCNiFAST64): Likewise.
59057         [C99-based-standards] (SCNoFAST64): Likewise.
59058         [C99-based-standards] (SCNuFAST64): Likewise.
59059         [C99-based-standards] (SCNxFAST64): Likewise.
59060         [C99-based-standards] (PRIdMAX): Likewise.
59061         [C99-based-standards] (PRIiMAX): Likewise.
59062         [C99-based-standards] (PRIoMAX): Likewise.
59063         [C99-based-standards] (PRIuMAX): Likewise.
59064         [C99-based-standards] (PRIxMAX): Likewise.
59065         [C99-based-standards] (PRIXMAX): Likewise.
59066         [C99-based-standards] (SCNdMAX): Likewise.
59067         [C99-based-standards] (SCNiMAX): Likewise.
59068         [C99-based-standards] (SCNoMAX): Likewise.
59069         [C99-based-standards] (SCNuMAX): Likewise.
59070         [C99-based-standards] (SCNxMAX): Likewise.
59071         [C99-based-standards] (PRIdPTR): Likewise.
59072         [C99-based-standards] (PRIiPTR): Likewise.
59073         [C99-based-standards] (PRIoPTR): Likewise.
59074         [C99-based-standards] (PRIuPTR): Likewise.
59075         [C99-based-standards] (PRIxPTR): Likewise.
59076         [C99-based-standards] (PRIXPTR): Likewise.
59077         [C99-based-standards] (SCNdPTR): Likewise.
59078         [C99-based-standards] (SCNiPTR): Likewise.
59079         [C99-based-standards] (SCNoPTR): Likewise.
59080         [C99-based-standards] (SCNuPTR): Likewise.
59081         [C99-based-standards] (SCNxPTR): Likewise.
59082         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59083         allow.
59084         * conform/data/stdint.h-data: Update comments to clarify
59085         requirements.
59086         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59087         type.
59088         [C99-based standards] (INT8_MAX): Likewise.
59089         [C99-based standards] (INT16_MIN): Likewise.
59090         [C99-based standards] (INT16_MAX): Likewise.
59091         [C99-based standards] (INT32_MIN): Likewise.
59092         [C99-based standards] (INT32_MAX): Likewise.
59093         [C99-based standards] (INT64_MIN): Likewise.
59094         [C99-based standards] (INT64_MAX): Likewise.
59095         [C99-based standards] (UINT8_MAX): Likewise.
59096         [C99-based standards] (UINT16_MAX): Likewise.
59097         [C99-based standards] (UINT32_MAX): Likewise.
59098         [C99-based standards] (UINT64_MAX): Likewise.
59099         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59100         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59101         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59102         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59103         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59104         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59105         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59106         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59107         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59108         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59109         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59110         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59111         [C99-based standards] (INT_FAST8_MIN): Likewise.
59112         [C99-based standards] (INT_FAST8_MAX): Likewise.
59113         [C99-based standards] (INT_FAST16_MIN): Likewise.
59114         [C99-based standards] (INT_FAST16_MAX): Likewise.
59115         [C99-based standards] (INT_FAST32_MIN): Likewise.
59116         [C99-based standards] (INT_FAST32_MAX): Likewise.
59117         [C99-based standards] (INT_FAST64_MIN): Likewise.
59118         [C99-based standards] (INT_FAST64_MAX): Likewise.
59119         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59120         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59121         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59122         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59123         [C99-based standards] (INTPTR_MIN): Likewise.
59124         [C99-based standards] (INTPTR_MAX): Likewise.
59125         [C99-based standards] (UINTPTR_MAX): Likewise.
59126         [C99-based standards] (INTMAX_MIN): Likewise.
59127         [C99-based standards] (INTMAX_MAX): Likewise.
59128         [C99-based standards] (UINTMAX_MAX): Likewise.
59129         [C99-based standards] (PTRDIFF_MIN): Likewise.
59130         [C99-based standards] (PTRDIFF_MAX): Likewise.
59131         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59132         [C99-based standards] (SIZE_MAX): Likewise.
59133         [C99-based standards] (WCHAR_MAX): Likewise.
59134         [C99-based standards] (WINT_MAX): Likewise.
59135         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59136         constraint on value.
59137         [C99-based standards] (WCHAR_MIN): Likewise.
59138         [C99-based standards] (WINT_MIN): Likewise.
59139         [C99-based standards] (*_t): Allow.
59140         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59141         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59142         Include math.h-data and complex.h-data.  Remove all expectations
59143         of math.h and complex.h contents.
59144         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59145         at end of line.
59146         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59147         (struct tm): Expect tag.
59148         [C99-based-standards] (wcstof): Expect function.
59149         [C99-based-standards] (wcstold): Likewise.
59150         [C99-based-standards] (wcstoll): Likewise.
59151         [C99-based-standards] (wcstoull): Likewise.
59152         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59153         macro-int-constant.  Specify type.
59154         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59155         constraint on value.
59156         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59157         Specify type.
59158         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59159         Specify value.
59160         [ISO C standards]: Do not allow headers.
59161         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59162         wcs[abcdefghijklmnopqrstuvwxyz]*.
59163         [ISO C standards] (*_t): Do not allow.
59164         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59165         Expect function.
59166         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59167         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59168         Specify type.
59169         [ISO C standards]: Do not allow headers.
59170         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59171         is[abcdefghijklmnopqrstuvwxyz]*.
59172         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59173         to[abcdefghijklmnopqrstuvwxyz]*.
59174         [ISO C standards] (*_t): Do not allow.
59175         * conform/data/stdalign.h-data: New file.
59176         * conform/data/stdbool.h-data: Likewise.
59177         * conform/data/stdnoreturn.h-data: Likewise.
59179 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59181         [BZ #14815]
59182         * manual/filesys.texi (Directory Entries): Typo fix.
59183         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59185 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59187         * elf/elf.h (EM_AARCH64): New macro.
59188         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59189         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59190         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59191         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59192         (R_AARCH64_TLSDESC): Likewise.
59193         (NT_ARM_TLS): Likewise.
59194         (NT_ARM_HW_BREAK): Likewise.
59195         (NT_ARM_HW_WATCH): Likewise.
59197 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59199         [BZ #14811]
59200         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59201         (__ieee754_powl): Saturate nonzero exponents with absolute value
59202         below 0x1p-79 to +/- 0x1p-79.
59203         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59204         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59205         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59206         nonzero exponents with absolute value below 0x1p-32 to +/-
59207         0x1p-32.
59208         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59209         (__ieee754_powl): Saturate nonzero exponents with absolute value
59210         below 0x1p-79 to +/- 0x1p-79.
59211         * math/libm-test.inc (pow_test): Add more tests.
59213 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59215         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59216         _dl_s390_cap_flags with kernel. Increase string length.
59217         (_dl_s390_platforms): Add z196 and zEC12.
59219 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59221         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59222         Change XOPEN21K to XOPEN2K.
59224 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59226         * string/memmove.c: Use memcpy when possible.
59228 2012-11-06  Andreas Jaeger  <aj@suse.de>
59230         * po/eo.po: Update from translation team.
59232 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59234         [BZ #14793]
59235         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59236         exponent and small x and y exponents, scale x or y up.  Increase
59237         by 2 the exponent used in scaling up.
59238         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59239         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59240         * math/libm-test.inc (fma_test): Add more tests.
59241         (fma_test_towardzero): Likewise.
59242         (fma_test_downward): Likewise.
59243         (fma_test_upward): Likewise.
59245 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59247         [BZ #14805]
59248         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59249         fenv_t *.
59251         [BZ #14801]
59252         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59253         namespace for names of struct fields.
59254         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59255         fenv_t fields.
59256         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59257         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59259 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59261         [BZ #3665]
59262         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59264 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59266         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59267         PTR_DEMANGLE.
59269         [BZ #5246]
59270         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59271         PTR_DEMANGLE.
59273 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59275         [BZ #14797]
59276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59277         definitely overflow as x * y not x * y + z.
59278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59279         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59280         * math/libm-test.inc (fma_test): Add more tests.
59281         (fma_test_towardzero): Likewise.
59282         (fma_test_downward): Likewise.
59283         (fma_test_upward): Likewise.
59285 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59287         [BZ #157]
59289         * include/stub-tag.h: Remove file.
59290         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59291         '#include' of it.
59292         * manual/maint.texi (Porting): Don't reference it.
59293         * Makerules ($(objpfx)stubs): Likewise.
59294         * dirent/closedir.c: Don't include <stub-tag.h>.
59295         * dirent/dirfd.c: Likewise.
59296         * dirent/fdopendir.c: Likewise.
59297         * dirent/getdents.c: Likewise.
59298         * dirent/getdents64.c: Likewise.
59299         * dirent/opendir.c: Likewise.
59300         * dirent/readdir.c: Likewise.
59301         * dirent/readdir64.c: Likewise.
59302         * dirent/readdir64_r.c: Likewise.
59303         * dirent/readdir_r.c: Likewise.
59304         * dirent/rewinddir.c: Likewise.
59305         * dirent/seekdir.c: Likewise.
59306         * dirent/telldir.c: Likewise.
59307         * gmon/profil.c: Likewise.
59308         * grp/setgroups.c: Likewise.
59309         * inet/if_index.c: Likewise.
59310         * io/access.c: Likewise.
59311         * io/chdir.c: Likewise.
59312         * io/chmod.c: Likewise.
59313         * io/chown.c: Likewise.
59314         * io/close.c: Likewise.
59315         * io/dup.c: Likewise.
59316         * io/dup2.c: Likewise.
59317         * io/dup3.c: Likewise.
59318         * io/euidaccess.c: Likewise.
59319         * io/faccessat.c: Likewise.
59320         * io/fchdir.c: Likewise.
59321         * io/fchmod.c: Likewise.
59322         * io/fchmodat.c: Likewise.
59323         * io/fchown.c: Likewise.
59324         * io/fchownat.c: Likewise.
59325         * io/fcntl.c: Likewise.
59326         * io/flock.c: Likewise.
59327         * io/fstatfs.c: Likewise.
59328         * io/fstatfs64.c: Likewise.
59329         * io/fstatvfs.c: Likewise.
59330         * io/fstatvfs64.c: Likewise.
59331         * io/futimens.c: Likewise.
59332         * io/fxstat.c: Likewise.
59333         * io/fxstat64.c: Likewise.
59334         * io/fxstatat.c: Likewise.
59335         * io/fxstatat64.c: Likewise.
59336         * io/getcwd.c: Likewise.
59337         * io/isatty.c: Likewise.
59338         * io/lchmod.c: Likewise.
59339         * io/lchown.c: Likewise.
59340         * io/link.c: Likewise.
59341         * io/linkat.c: Likewise.
59342         * io/lseek.c: Likewise.
59343         * io/lseek64.c: Likewise.
59344         * io/lxstat64.c: Likewise.
59345         * io/mkdir.c: Likewise.
59346         * io/mkdirat.c: Likewise.
59347         * io/mkfifo.c: Likewise.
59348         * io/mkfifoat.c: Likewise.
59349         * io/open.c: Likewise.
59350         * io/open64.c: Likewise.
59351         * io/openat.c: Likewise.
59352         * io/openat64.c: Likewise.
59353         * io/pipe.c: Likewise.
59354         * io/pipe2.c: Likewise.
59355         * io/poll.c: Likewise.
59356         * io/posix_fadvise.c: Likewise.
59357         * io/posix_fadvise64.c: Likewise.
59358         * io/posix_fallocate.c: Likewise.
59359         * io/posix_fallocate64.c: Likewise.
59360         * io/read.c: Likewise.
59361         * io/readlink.c: Likewise.
59362         * io/readlinkat.c: Likewise.
59363         * io/rmdir.c: Likewise.
59364         * io/sendfile.c: Likewise.
59365         * io/sendfile64.c: Likewise.
59366         * io/statfs.c: Likewise.
59367         * io/statfs64.c: Likewise.
59368         * io/statvfs.c: Likewise.
59369         * io/statvfs64.c: Likewise.
59370         * io/symlink.c: Likewise.
59371         * io/symlinkat.c: Likewise.
59372         * io/ttyname.c: Likewise.
59373         * io/ttyname_r.c: Likewise.
59374         * io/umask.c: Likewise.
59375         * io/unlink.c: Likewise.
59376         * io/unlinkat.c: Likewise.
59377         * io/utime.c: Likewise.
59378         * io/utimensat.c: Likewise.
59379         * io/write.c: Likewise.
59380         * io/xmknod.c: Likewise.
59381         * io/xmknodat.c: Likewise.
59382         * io/xstat.c: Likewise.
59383         * io/xstat64.c: Likewise.
59384         * login/getpt.c: Likewise.
59385         * login/grantpt.c: Likewise.
59386         * login/unlockpt.c: Likewise.
59387         * math/e_acoshl.c: Likewise.
59388         * math/e_acosl.c: Likewise.
59389         * math/e_asinl.c: Likewise.
59390         * math/e_atan2l.c: Likewise.
59391         * math/e_atanhl.c: Likewise.
59392         * math/e_coshl.c: Likewise.
59393         * math/e_expl.c: Likewise.
59394         * math/e_fmodl.c: Likewise.
59395         * math/e_gammal_r.c: Likewise.
59396         * math/e_hypotl.c: Likewise.
59397         * math/e_j0l.c: Likewise.
59398         * math/e_j1l.c: Likewise.
59399         * math/e_jnl.c: Likewise.
59400         * math/e_lgammal_r.c: Likewise.
59401         * math/e_log10l.c: Likewise.
59402         * math/e_log2l.c: Likewise.
59403         * math/e_logl.c: Likewise.
59404         * math/e_powl.c: Likewise.
59405         * math/e_rem_pio2l.c: Likewise.
59406         * math/e_sinhl.c: Likewise.
59407         * math/e_sqrtl.c: Likewise.
59408         * math/fclrexcpt.c: Likewise.
59409         * math/fedisblxcpt.c: Likewise.
59410         * math/feenablxcpt.c: Likewise.
59411         * math/fegetenv.c: Likewise.
59412         * math/fegetexcept.c: Likewise.
59413         * math/fegetround.c: Likewise.
59414         * math/feholdexcpt.c: Likewise.
59415         * math/fesetenv.c: Likewise.
59416         * math/fesetround.c: Likewise.
59417         * math/feupdateenv.c: Likewise.
59418         * math/fgetexcptflg.c: Likewise.
59419         * math/fraiseexcpt.c: Likewise.
59420         * math/fsetexcptflg.c: Likewise.
59421         * math/ftestexcept.c: Likewise.
59422         * math/k_cosl.c: Likewise.
59423         * math/k_rem_pio2l.c: Likewise.
59424         * math/k_sinl.c: Likewise.
59425         * math/k_tanl.c: Likewise.
59426         * math/s_asinhl.c: Likewise.
59427         * math/s_atanl.c: Likewise.
59428         * math/s_cbrtl.c: Likewise.
59429         * math/s_erfl.c: Likewise.
59430         * math/s_expm1l.c: Likewise.
59431         * math/s_log1pl.c: Likewise.
59432         * math/s_tanhl.c: Likewise.
59433         * misc/acct.c: Likewise.
59434         * misc/brk.c: Likewise.
59435         * misc/chflags.c: Likewise.
59436         * misc/chroot.c: Likewise.
59437         * misc/fchflags.c: Likewise.
59438         * misc/fgetxattr.c: Likewise.
59439         * misc/flistxattr.c: Likewise.
59440         * misc/fremovexattr.c: Likewise.
59441         * misc/fsetxattr.c: Likewise.
59442         * misc/fsync.c: Likewise.
59443         * misc/ftruncate.c: Likewise.
59444         * misc/futimes.c: Likewise.
59445         * misc/futimesat.c: Likewise.
59446         * misc/getdomain.c: Likewise.
59447         * misc/getdtsz.c: Likewise.
59448         * misc/gethostid.c: Likewise.
59449         * misc/gethostname.c: Likewise.
59450         * misc/getloadavg.c: Likewise.
59451         * misc/getpagesize.c: Likewise.
59452         * misc/getsysstats.c: Likewise.
59453         * misc/getxattr.c: Likewise.
59454         * misc/gtty.c: Likewise.
59455         * misc/ioctl.c: Likewise.
59456         * misc/lgetxattr.c: Likewise.
59457         * misc/listxattr.c: Likewise.
59458         * misc/llistxattr.c: Likewise.
59459         * misc/lremovexattr.c: Likewise.
59460         * misc/lsetxattr.c: Likewise.
59461         * misc/lutimes.c: Likewise.
59462         * misc/madvise.c: Likewise.
59463         * misc/mincore.c: Likewise.
59464         * misc/mlock.c: Likewise.
59465         * misc/mlockall.c: Likewise.
59466         * misc/mmap.c: Likewise.
59467         * misc/mprotect.c: Likewise.
59468         * misc/msync.c: Likewise.
59469         * misc/munlock.c: Likewise.
59470         * misc/munlockall.c: Likewise.
59471         * misc/munmap.c: Likewise.
59472         * misc/preadv.c: Likewise.
59473         * misc/preadv64.c: Likewise.
59474         * misc/ptrace.c: Likewise.
59475         * misc/pwritev.c: Likewise.
59476         * misc/pwritev64.c: Likewise.
59477         * misc/readv.c: Likewise.
59478         * misc/reboot.c: Likewise.
59479         * misc/remap_file_pages.c: Likewise.
59480         * misc/removexattr.c: Likewise.
59481         * misc/revoke.c: Likewise.
59482         * misc/select.c: Likewise.
59483         * misc/setdomain.c: Likewise.
59484         * misc/setegid.c: Likewise.
59485         * misc/seteuid.c: Likewise.
59486         * misc/sethostid.c: Likewise.
59487         * misc/sethostname.c: Likewise.
59488         * misc/setregid.c: Likewise.
59489         * misc/setreuid.c: Likewise.
59490         * misc/setxattr.c: Likewise.
59491         * misc/sstk.c: Likewise.
59492         * misc/stty.c: Likewise.
59493         * misc/swapoff.c: Likewise.
59494         * misc/swapon.c: Likewise.
59495         * misc/sync.c: Likewise.
59496         * misc/syncfs.c: Likewise.
59497         * misc/syscall.c: Likewise.
59498         * misc/truncate.c: Likewise.
59499         * misc/ualarm.c: Likewise.
59500         * misc/usleep.c: Likewise.
59501         * misc/ustat.c: Likewise.
59502         * misc/utimes.c: Likewise.
59503         * misc/vhangup.c: Likewise.
59504         * misc/writev.c: Likewise.
59505         * posix/_exit.c: Likewise.
59506         * posix/alarm.c: Likewise.
59507         * posix/execve.c: Likewise.
59508         * posix/fexecve.c: Likewise.
59509         * posix/fork.c: Likewise.
59510         * posix/fpathconf.c: Likewise.
59511         * posix/getaddrinfo.c: Likewise.
59512         * posix/getegid.c: Likewise.
59513         * posix/geteuid.c: Likewise.
59514         * posix/getgid.c: Likewise.
59515         * posix/getgroups.c: Likewise.
59516         * posix/getlogin.c: Likewise.
59517         * posix/getlogin_r.c: Likewise.
59518         * posix/getpgid.c: Likewise.
59519         * posix/getpid.c: Likewise.
59520         * posix/getppid.c: Likewise.
59521         * posix/getresgid.c: Likewise.
59522         * posix/getresuid.c: Likewise.
59523         * posix/getsid.c: Likewise.
59524         * posix/getuid.c: Likewise.
59525         * posix/glob64.c: Likewise.
59526         * posix/nanosleep.c: Likewise.
59527         * posix/pathconf.c: Likewise.
59528         * posix/pause.c: Likewise.
59529         * posix/posix_madvise.c: Likewise.
59530         * posix/pread.c: Likewise.
59531         * posix/pread64.c: Likewise.
59532         * posix/pwrite.c: Likewise.
59533         * posix/pwrite64.c: Likewise.
59534         * posix/sched_getaffinity.c: Likewise.
59535         * posix/sched_getp.c: Likewise.
59536         * posix/sched_gets.c: Likewise.
59537         * posix/sched_primax.c: Likewise.
59538         * posix/sched_primin.c: Likewise.
59539         * posix/sched_rr_gi.c: Likewise.
59540         * posix/sched_setaffinity.c: Likewise.
59541         * posix/sched_setp.c: Likewise.
59542         * posix/sched_sets.c: Likewise.
59543         * posix/sched_yield.c: Likewise.
59544         * posix/setgid.c: Likewise.
59545         * posix/setlogin.c: Likewise.
59546         * posix/setpgid.c: Likewise.
59547         * posix/setresgid.c: Likewise.
59548         * posix/setresuid.c: Likewise.
59549         * posix/setsid.c: Likewise.
59550         * posix/setuid.c: Likewise.
59551         * posix/sleep.c: Likewise.
59552         * posix/spawni.c: Likewise.
59553         * posix/sysconf.c: Likewise.
59554         * posix/times.c: Likewise.
59555         * posix/wait.c: Likewise.
59556         * posix/wait3.c: Likewise.
59557         * posix/wait4.c: Likewise.
59558         * posix/waitpid.c: Likewise.
59559         * resolv/gai_sigqueue.c: Likewise.
59560         * resource/getpriority.c: Likewise.
59561         * resource/getrlimit.c: Likewise.
59562         * resource/getrusage.c: Likewise.
59563         * resource/nice.c: Likewise.
59564         * resource/setpriority.c: Likewise.
59565         * resource/setrlimit.c: Likewise.
59566         * resource/ulimit.c: Likewise.
59567         * rt/aio_cancel.c: Likewise.
59568         * rt/aio_fsync.c: Likewise.
59569         * rt/aio_read.c: Likewise.
59570         * rt/aio_sigqueue.c: Likewise.
59571         * rt/aio_suspend.c: Likewise.
59572         * rt/aio_write.c: Likewise.
59573         * rt/clock_getres.c: Likewise.
59574         * rt/clock_gettime.c: Likewise.
59575         * rt/clock_nanosleep.c: Likewise.
59576         * rt/clock_settime.c: Likewise.
59577         * rt/lio_listio.c: Likewise.
59578         * rt/mq_close.c: Likewise.
59579         * rt/mq_getattr.c: Likewise.
59580         * rt/mq_notify.c: Likewise.
59581         * rt/mq_open.c: Likewise.
59582         * rt/mq_receive.c: Likewise.
59583         * rt/mq_send.c: Likewise.
59584         * rt/mq_setattr.c: Likewise.
59585         * rt/mq_timedreceive.c: Likewise.
59586         * rt/mq_timedsend.c: Likewise.
59587         * rt/mq_unlink.c: Likewise.
59588         * rt/shm_open.c: Likewise.
59589         * rt/shm_unlink.c: Likewise.
59590         * rt/timer_create.c: Likewise.
59591         * rt/timer_delete.c: Likewise.
59592         * rt/timer_getoverr.c: Likewise.
59593         * rt/timer_gettime.c: Likewise.
59594         * rt/timer_settime.c: Likewise.
59595         * setjmp/__longjmp.c: Likewise.
59596         * setjmp/setjmp.c: Likewise.
59597         * signal/kill.c: Likewise.
59598         * signal/killpg.c: Likewise.
59599         * signal/raise.c: Likewise.
59600         * signal/sigaction.c: Likewise.
59601         * signal/sigaltstack.c: Likewise.
59602         * signal/sigblock.c: Likewise.
59603         * signal/sigignore.c: Likewise.
59604         * signal/sigintr.c: Likewise.
59605         * signal/signal.c: Likewise.
59606         * signal/sigpause.c: Likewise.
59607         * signal/sigpending.c: Likewise.
59608         * signal/sigqueue.c: Likewise.
59609         * signal/sigreturn.c: Likewise.
59610         * signal/sigset.c: Likewise.
59611         * signal/sigsetmask.c: Likewise.
59612         * signal/sigstack.c: Likewise.
59613         * signal/sigsuspend.c: Likewise.
59614         * signal/sigtimedwait.c: Likewise.
59615         * signal/sigvec.c: Likewise.
59616         * signal/sigwait.c: Likewise.
59617         * signal/sigwaitinfo.c: Likewise.
59618         * signal/sysv_signal.c: Likewise.
59619         * socket/accept.c: Likewise.
59620         * socket/accept4.c: Likewise.
59621         * socket/bind.c: Likewise.
59622         * socket/connect.c: Likewise.
59623         * socket/getpeername.c: Likewise.
59624         * socket/getsockname.c: Likewise.
59625         * socket/getsockopt.c: Likewise.
59626         * socket/isfdtype.c: Likewise.
59627         * socket/listen.c: Likewise.
59628         * socket/recv.c: Likewise.
59629         * socket/recvfrom.c: Likewise.
59630         * socket/recvmsg.c: Likewise.
59631         * socket/send.c: Likewise.
59632         * socket/sendmsg.c: Likewise.
59633         * socket/sendto.c: Likewise.
59634         * socket/setsockopt.c: Likewise.
59635         * socket/shutdown.c: Likewise.
59636         * socket/sockatmark.c: Likewise.
59637         * socket/socket.c: Likewise.
59638         * socket/socketpair.c: Likewise.
59639         * stdio-common/ctermid.c: Likewise.
59640         * stdio-common/cuserid.c: Likewise.
59641         * stdio-common/remove.c: Likewise.
59642         * stdio-common/rename.c: Likewise.
59643         * stdio-common/renameat.c: Likewise.
59644         * stdio-common/tempname.c: Likewise.
59645         * stdlib/getcontext.c: Likewise.
59646         * stdlib/makecontext.c: Likewise.
59647         * stdlib/setcontext.c: Likewise.
59648         * stdlib/swapcontext.c: Likewise.
59649         * stdlib/system.c: Likewise.
59650         * streams/fattach.c: Likewise.
59651         * streams/fdetach.c: Likewise.
59652         * streams/getmsg.c: Likewise.
59653         * streams/getpmsg.c: Likewise.
59654         * streams/putmsg.c: Likewise.
59655         * streams/putpmsg.c: Likewise.
59656         * sysdeps/unix/bsd/getpt.c: Likewise.
59657         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59658         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59659         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59661         Likewise.
59662         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59663         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59664         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59665         * sysvipc/msgctl.c: Likewise.
59666         * sysvipc/msgget.c: Likewise.
59667         * sysvipc/msgrcv.c: Likewise.
59668         * sysvipc/msgsnd.c: Likewise.
59669         * sysvipc/semctl.c: Likewise.
59670         * sysvipc/semget.c: Likewise.
59671         * sysvipc/semop.c: Likewise.
59672         * sysvipc/semtimedop.c: Likewise.
59673         * sysvipc/shmat.c: Likewise.
59674         * sysvipc/shmctl.c: Likewise.
59675         * sysvipc/shmdt.c: Likewise.
59676         * sysvipc/shmget.c: Likewise.
59677         * termios/tcdrain.c: Likewise.
59678         * termios/tcflow.c: Likewise.
59679         * termios/tcflush.c: Likewise.
59680         * termios/tcgetattr.c: Likewise.
59681         * termios/tcgetpgrp.c: Likewise.
59682         * termios/tcsendbrk.c: Likewise.
59683         * termios/tcsetattr.c: Likewise.
59684         * termios/tcsetpgrp.c: Likewise.
59685         * time/adjtime.c: Likewise.
59686         * time/clock.c: Likewise.
59687         * time/getitimer.c: Likewise.
59688         * time/gettimeofday.c: Likewise.
59689         * time/setitimer.c: Likewise.
59690         * time/settimeofday.c: Likewise.
59691         * time/stime.c: Likewise.
59692         * time/time.c: Likewise.
59694 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59696         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59697         /usr/old/bin.
59699         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59700         instead of spaces.
59701         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59703 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59705         [BZ #14796]
59706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59707         FE_TONEAREST before applying Dekker multiplication and Knuth
59708         addition.  Clear inexact exceptions and check for exact zero
59709         results afterwards.
59710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59711         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59712         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59713         * math/libm-test.inc (fma_test): Add more tests.
59714         (fma_test_towardzero): Likewise.
59715         (fma_test_downward): Likewise.
59716         (fma_test_upward): Likewise.
59717         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59718         function.
59719         (libc_fesetround): New macro.
59720         (libc_fesetroundf): Likewise.
59721         (libc_fesetroundl): Likewise.
59722         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59723         function.
59724         (libc_fesetround_387): Likewise.
59725         (libc_fesetroundf): New macro.
59726         (libc_fesetround): Likewise.
59727         (libc_fesetroundl): Likewise.
59728         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59729         function.
59730         (libc_fesetroundf): New macro.
59731         (libc_fesetround): Likewise.
59732         (libc_fesetroundl): Likewise.
59733         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59734         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59735         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59736         libm_hidden_ver.
59737         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59738         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59739         libm_hidden_def.
59740         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59741         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59742         libm_hidden_ver.
59743         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59744         libm_hidden_def.
59746         [BZ #3439]
59747         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59748         integer constant usable in #if and use that to give value to enum
59749         constant.
59750         (FE_DIVBYZERO): Likewise.
59751         (FE_UNDERFLOW): Likewise.
59752         (FE_OVERFLOW): Likewise.
59753         (FE_INVALID): Likewise.
59754         (FE_INVALID_SNAN): Likewise.
59755         (FE_INVALID_ISI): Likewise.
59756         (FE_INVALID_IDI): Likewise.
59757         (FE_INVALID_ZDZ): Likewise.
59758         (FE_INVALID_IMZ): Likewise.
59759         (FE_INVALID_COMPARE): Likewise.
59760         (FE_INVALID_SOFTWARE): Likewise.
59761         (FE_INVALID_SQRT): Likewise.
59762         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59763         (FE_TONEAREST): Likewise.
59764         (FE_TOWARDZERO): Likewise.
59765         (FE_UPWARD): Likewise.
59766         (FE_DOWNWARD): Likewise.
59767         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59768         (FE_DIVBYZERO): Likewise.
59769         (FE_OVERFLOW): Likewise.
59770         (FE_UNDERFLOW): Likewise.
59771         (FE_INEXACT): Likewise.
59772         (FE_TONEAREST): Likewise.
59773         (FE_DOWNWARD): Likewise.
59774         (FE_UPWARD): Likewise.
59775         (FE_TOWARDZERO): Likewise.
59776         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59777         (FE_UNDERFLOW): Likewise.
59778         (FE_OVERFLOW): Likewise.
59779         (FE_DIVBYZERO): Likewise.
59780         (FE_INVALID): Likewise.
59781         (FE_TONEAREST): Likewise.
59782         (FE_TOWARDZERO): Likewise.
59783         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59784         (FE_OVERFLOW): Likewise.
59785         (FE_UNDERFLOW): Likewise.
59786         (FE_DIVBYZERO): Likewise.
59787         (FE_INEXACT): Likewise.
59788         (FE_TONEAREST): Likewise.
59789         (FE_TOWARDZERO): Likewise.
59790         (FE_UPWARD): Likewise.
59791         (FE_DOWNWARD): Likewise.
59792         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59793         (FE_DIVBYZERO): Likewise.
59794         (FE_OVERFLOW): Likewise.
59795         (FE_UNDERFLOW): Likewise.
59796         (FE_INEXACT): Likewise.
59797         (FE_TONEAREST): Likewise.
59798         (FE_DOWNWARD): Likewise.
59799         (FE_UPWARD): Likewise.
59800         (FE_TOWARDZERO): Likewise.
59802 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59804         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59806 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59808         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59809         commands.  Quote $PWD.
59810         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59811         -x" by "export".
59812         (remove_newlines): Remove.
59814 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59816         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59817         * stdlib/stdlib.h (atof): Moved to ...
59818         * include/bits/stdlib-float.h: Here.  New file.
59819         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59820         * stdlib/bits/stdlib-float.h: New file.
59821         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59822         -mno-sse -mno-mmx.
59823         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59824         <xmmintrin.h>.
59826 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59828         * conform/conformtest.pl (@headers): Add fenv.h.
59829         * conform/data/fenv.h-data: New file.
59830         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59831         include of <math/fenv.h>.
59833         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59834         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59835         && !UNIX98].  Enables tests for XOPEN2K8.
59836         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59837         POSIX2008]: Likewise.
59839         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59840         (struct rusage): Do not expect type or its members.
59842         [BZ #3439]
59843         * math/math.h (FP_NAN): Define macro to integer constant usable in
59844         #if and use that to give value to enum constant.
59845         (FP_INFINITE): Likewise.
59846         (FP_ZERO): Likewise.
59847         (FP_SUBNORMAL): Likewise.
59848         (FP_NORMAL): Likewise.
59850 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59852         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59853         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59854         arguments.
59856 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59858         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59859         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59860         autoconf-time if not.
59861         * configure.in: Remove AC_PREREQ.
59863 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59865         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59866         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59867         of the internal implementation.
59869 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59871         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59872         except include of <misc/sys/syslog.h>.
59874 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59877         function returns with a NULL context exit with zero.
59879 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59881         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59883 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59885         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59886         (run_program_cmd): This.
59887         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59888         (tst_langinfo): New variable.  Use it.
59890 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59892         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59893         floating point opcodes.
59895 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59897         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59898         variable.
59900         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59902         * sysdeps/mach/hurd/powerpc: Remove directory.
59903         * sysdeps/mach/powerpc: Likewise.
59905 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59907         * scripts/check-local-headers.sh: Ignore c++ headers.
59909 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59911         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59912         __libc_cleanup_region_start argument.
59914 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59916         [BZ #14784]
59917         [BZ #14785]
59918         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59919         x * y using scaling, not as x * y + z.
59920         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59921         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59922         * math/libm-test.inc (fma_test): Add more tests.
59923         (fma_test_towardzero): Likewise.
59924         (fma_test_downward): Likewise.
59925         (fma_test_upward): Likewise.
59927 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59929         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59931 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59933         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59934         New variable.
59936 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59938         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59940 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59943         Fix sort order.
59944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59945         Likewise.
59947 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59950         Fix the order of the list for glibc 2.17.
59951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59952         Likewise.
59954 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59958 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59960         [BZ #14610]
59961         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59962         for low part of x being zero before using __atanl (y).
59963         * math/libm-test.inc (atan2_test): Add another test.
59965         * manual/install.texi (Configuring and compiling): Document
59966         general use of test-wrapper and test-wrapper-env.
59967         * INSTALL: Regenerated.
59969         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59970         (__fma): Do not extract and scale down low bits on after-rounding
59971         systems when result rounded to normal precision would have normal
59972         exponent.
59973         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59974         (__fmal): Do not extract and scale down low bits on after-rounding
59975         systems when result rounded to normal precision would have normal
59976         exponent.
59977         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59978         (__fmal): Do not extract and scale down low bits on after-rounding
59979         systems when result rounded to normal precision would have normal
59980         exponent.
59981         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59982         macro.
59983         (fma_test): Add more tests.
59984         (fma_test_towardzero): Likewise.
59985         (fma_test_downward): Likewise.
59986         (fma_test_upward): Likewise.
59988 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59990         * sysdeps/i386/tininess.h: Renamed to ...
59991         * sysdeps/x86/tininess.h: This.
59992         * sysdeps/x86_64/tininess.h: Removed.
59994 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59996         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59997         input.  Use $(build-program-cmd).
59998         ($(objpfx)tst-array1-static.out): Likewise.
59999         ($(objpfx)tst-array2.out): Likewise.
60000         ($(objpfx)tst-array3.out): Likewise.
60001         ($(objpfx)tst-array4.out): Likewise.
60002         ($(objpfx)tst-array5.out): Likewise.
60003         ($(objpfx)tst-array5-static.out): Likewise.
60005 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60007         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60008         if defined.
60010         * nss/nsswitch.h (nss_interface_function): Provide new
60011         macro for use with NSS functions.
60012         * grp/initgroups.c: Use new macro.
60013         * nss/getXXbyYY.c: Likewise.
60014         * nss/getXXbyYY_r.c: Likewise.
60015         * nss/getXXent.c: Likewise.
60016         * nss/getXXent_r.c: Likewise.
60017         * sysdeps/posix/getaddrinfo.c: Likewise.
60019 2012-10-30  Andreas Jaeger  <aj@suse.de>
60021         * po/ru.po: Update Russion translation from translation project.
60023 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60025         [BZ #14152]
60026         [BZ #14783]
60027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60028         result and shift together with sticky bit instead of replicating
60029         round-to-nearest rounding.
60030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60032         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60033         missing underflow exceptions.
60034         (fma_test_towardzero): Add more tests.
60035         (fma_test_downward): Likewise.
60036         (fma_test_upward): Likewise.
60038         [BZ #14047]
60039         * sysdeps/generic/tininess.h: New file.
60040         * sysdeps/i386/tininess.h: Likewise.
60041         * sysdeps/sh/tininess.h: Likewise.
60042         * sysdeps/x86_64/tininess.h: Likewise.
60043         * stdlib/tst-strtod-underflow.c: Likewise.
60044         * stdlib/tst-tininess.c: Likewise.
60045         * stdlib/strtod_l.c: Include <tininess.h>.
60046         (round_and_return): Do not set errno for exact underflow cases.
60047         Force an underflow exception when setting errno for underflow.
60048         Determine underflow based on rounding to normal precision if
60049         TININESS_AFTER_ROUNDING.
60050         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60051         ERANGE for exact underflow cases.
60052         * stdlib/Makefile (tests): Add tst-tininess and
60053         tst-strtod-underflow.
60054         ($(objpfx)tst-tininess): Use $(link-libm).
60055         ($(objpfx)tst-strtod-underflow): Likewise.
60057 2012-10-30  Andreas Jaeger  <aj@suse.de>
60059         [BZ#14767]
60060         * elf/Makefile (tests): Remove conditional for have-initfini-array
60061         since this is now always required and the variable does not exist
60062         anymore.
60063         (tests-static): Likewise.
60064         (modules-names): Likewise.
60066         * po/eo.po: Add Esperanto translation from translation project.
60068         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60069         merged with constructor/destructor.
60070         (init_array): Likewise.
60071         * elf/tst-array2dep.c (fini_array): Likewise.
60072         (init_array): Likewise.
60074 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60076         * manual/message.texi: Delete @cartouche tags.
60078 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60080         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60081         EOPNOTSUPP.
60082         * sysdeps/mach/hurd/fsync.c: Likewise.
60084         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60085         [_POSIX_REALTIME_SIGNALS]: Change condition to
60086         [_POSIX_REALTIME_SIGNALS > 0].
60088 2012-10-27  Andreas Jaeger  <aj@suse.de>
60090         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60091         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60092         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60093         [__WORDSIZE != 64]: Likewise.
60095 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60097         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60098         *  iconvdata/tst-tables.sh: Likewise.
60100 2012-10-25  David S. Miller  <davem@davemloft.net>
60102         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60103         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60104         of strtoull.
60106         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60107         ifunc-impl-list.c
60108         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60109         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60110         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60111         file.
60113 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60115         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60116         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60117         __getdirentries.
60119 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60120             Jim Blandy  <jimb@codesourcery.com>
60122         * scripts/cross-test-ssh.sh: New file.
60123         * manual/install.texi (Configuring and compiling): Document use of
60124         cross-test-ssh.sh.
60125         * INSTALL: Regenerated.
60127 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60129         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60130         EOPNOTSUPP.
60132 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60134         * Makeconfig (run-program-prefix): Fix comment.
60136 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60137             Jim Blandy  <jimb@codesourcery.com>
60139         * Makeconfig (test-wrapper): New variable,
60140         (test-wrapper-env): Likewise.
60141         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60142         (run-built-tests): Define to yes.
60143         (run-program-prefix): Use $(test-wrapper).
60144         (built-program-cmd): Likewise.
60145         * Rules (make-test-out): Use $(test-wrapper-env) and
60146         $(host-built-program-cmd).
60147         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60148         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60149         tst-pathopt.sh.
60150         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60151         $(test-wrapper-env) to tst-rtld-load-self.sh.
60152         ($(objpfx)order2.out): Use $(test-wrapper).
60153         ($(objpfx)tst-initorder.out): Likewise.
60154         ($(objpfx)tst-initorder2.out): Likewise.
60155         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60156         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60157         (test_wrapper_env): New variable.  Use it to run ld.so.
60158         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60159         Use it to run ld.so.
60160         (test_wrapper_env): Likewise.
60161         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60162         $(test-wrapper) to run-iconv-test.sh.
60163         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60164         (ICONV): Use $test_wrapper.
60165         * posix/Makefile ($(objpfx)globtest.out): Pass
60166         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60167         globtest.sh, not $(run-program-prefix).
60168         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60169         (test_wrapper): Likewise.
60170         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60171         set together with run_via_rtld_prefix.
60172         (run_program_prefix): Define in terms of test_wrapper and
60173         run_via_rtld_prefix.
60175 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60177         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60178         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60179         Targets removed.
60181         [BZ #14743]
60182         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60183         Declare __clock_getres, __clock_gettime, __clock_settime,
60184         __clock_nanosleep, and __clock_getcpuclockid.
60185         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60186         Remove librt_hidden_def (clock_gettime).
60187         * sysdeps/unix/clock_gettime.c: Likewise.
60188         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60189         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60190         * rt/clock_getres.c: Define __clock_getres as an alias.
60191         * sysdeps/posix/clock_getres.c: Likewise.
60192         * rt/clock_settime.c: Define __clock_settime as an alias.
60193         * sysdeps/unix/clock_settime.c: Likewise.
60194         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60195         * sysdeps/unix/clock_nanosleep.c: Likewise.
60196         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60197         * rt/clock-compat.c: New file.
60198         * rt/Makefile (librt-routines): Add clock-compat and move
60199         $(clock-routines) to ...
60200         (routines): ... here, new variable.
60201         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60202         Don't add get_clockfreq here.
60203         * rt/Versions (libc: GLIBC_2.17): New version set.
60204         Add clock_* symbols here.
60205         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60207         (GLIBC_2.17): Add clock_* symbols.
60208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60210         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60212         Likewise.
60213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60214         Likewise.
60215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60219         * NEWS: Mention the move.
60221         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60222         Use __open, __read, __close rather than their public counterparts.
60223         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60224         (__get_clockfreq_via_cpuinfo): Likewise.
60225         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60226         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60228         * config.h.in (HAVE_IFUNC): New #undef.
60229         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60230         was successful.
60231         * configure: Regenerated.
60233 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60235         * configure.in: Move READELF check to start of file.
60236         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60237         libc_cv_asm_gnu_indirect_function in the process.
60238         * configure: Regenerated.
60240 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60242         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60243         send the output to /dev/null.
60244         (libc_cv_cc_with_libunwind): Likewise.
60245         (libc_cv_as_noexecstack): Likewise.
60246         * configure: Regenerate.
60248 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60250         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60252         * posix/globtest.sh (TMPDIR): Do not set.
60253         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60254         (testout): Likewise.
60256 2012-10-24  Andreas Jaeger  <aj@suse.de>
60258         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60259         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60260         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60261         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60262         posix_fadvise64, posix_fallocate64.
60264         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60265         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60266         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60267         Likewise.
60268         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60269         Likewise.
60270         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60273         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60274         <bits/fcntl-linux.h>.
60275         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60278         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60279         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60280         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60281         [__WORDSIZE != 64]: Likewise.
60283 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60285         * Makeconfig (run-built-tests): New variable.
60286         * Rules [$(cross-compiling) = yes]: Change condition to
60287         [$(run-built-tests) = no].
60288         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60289         to [$(run-built-tests) = yes].
60290         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60291         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60292         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60293         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60294         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60295         * io/Makefile [$(cross-compiling) = no]: Likewise.
60296         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60297         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60298         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60299         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60300         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60301         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60302         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60303         * string/Makefile [$(cross-compiling) = no]: Likewise.
60305         * posix/Makefile ($(objpfx)globtest.out): Pass
60306         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60307         $(rtld-installed-name).
60308         * posix/globtest.sh (elf_objpfx): Remove variable.
60309         (rtld_installed_name): Likewise.
60310         (library_path): Likewise.
60311         (run_program_prefix): New variable.  Use for running globtest
60312         binary.
60314 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60315             Joseph Myers  <joseph@codesourcery.com>
60317         * Makeconfig (host-built-program-cmd): New variable.
60318         * elf/Makefile (tst-stackguard1-ARGS): Use
60319         $(host-built-program-cmd).
60320         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60321         (tst-spawn-ARGS): Likewise.
60322         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60324 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60325             Jim Blandy  <jimb@codesourcery.com>
60327         * Makeconfig (run-via-rtld-prefix): New variable.
60328         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60329         (built-program-cmd): Likewise.
60331 2012-10-22  Andreas Jaeger  <aj@suse.de>
60333         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60334         __O_RSYNC if it exists, otherwise to O_SYNC.
60336 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60337             Joseph Myers  <joseph@codesourcery.com>
60339         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60340         /dev/null.
60341         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60342         from /dev/null
60343         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60344         /dev/null.
60346 2012-10-22  Andreas Jaeger  <aj@suse.de>
60348         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60349         Define always.
60350         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60353         bits/fcntl-linux.h.
60355         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60356         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60359         to __O_LARGEFILE.
60360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60361         to __O_LARGEFILE.
60363 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60364             Joseph Myers  <joseph@codesourcery.com>
60366         * config.make.in (NM): New variable.
60368 2012-10-21  Andreas Jaeger  <aj@suse.de>
60370         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60371         definitions and declarations that are provided by
60372         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60374 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60376         [BZ #14683]
60377         * elf/Makefile (tests-static): Add tst-leaks1-static.
60378         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60379         ($(objpfx)tst-leaks1-static): New rule.
60380         ($(objpfx)tst-leaks1-static-mem): Likewise.
60381         (tst-leaks1-static-ENV): New macro.
60382         * elf/dl-open.c (dl_open_worker): Check the main application
60383         only if SHARED is defined.
60384         * elf/tst-leaks1-static.c: New file.
60386 2012-10-20  Andreas Jaeger  <aj@suse.de>
60388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60389         generic values for Linux.
60390         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60391         and declarations that are provided by <bits/fcntl-linux.h> and
60392         include <bits/fcntl-linux.h>.
60393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60394         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60396 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60398         * io/fcntl.h: Move include of <bits/types.h> to the top and
60399         include it unconditionally.
60401 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60403         * wcsmbs/Makefile (tests-ifunc): New variable.
60404         (tests): Add $(tests-ifunc).
60405         * wcsmbs/test-wcschr-ifunc.c: New file.
60406         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60407         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60408         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60409         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60410         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60412         * string/Makefile (tests-ifunc): New variable.
60413         (tests): Add $(tests-ifunc).
60414         * string/test-memccpy.c (TEST_NAME): New macro.
60415         * string/test-memchr.c (TEST_NAME): Likewise.
60416         * string/test-memcmp.c (TEST_NAME): Likewise.
60417         * string/test-memcpy.c (TEST_NAME): Likewise.
60418         * string/test-memmem.c (TEST_NAME): Likewise.
60419         * string/test-memmove.c (TEST_NAME): Likewise.
60420         * string/test-memset.c (TEST_NAME): Likewise.
60421         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60422         * string/test-stpcpy.c (TEST_NAME): Likewise.
60423         * string/test-stpncpy.c (TEST_NAME): Likewise.
60424         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60425         * string/test-strcasestr.c (TEST_NAME): Likewise.
60426         * string/test-strcat.c (TEST_NAME): Likewise.
60427         * string/test-strchr.c (TEST_NAME): Likewise.
60428         * string/test-strcmp.c(TEST_NAME): Likewise.
60429         * string/test-strcpy.c (TEST_NAME): Likewise.
60430         * string/test-strcspn.c (TEST_NAME): Likewise.
60431         * string/test-strlen.c (TEST_NAME): Likewise.
60432         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60433         * string/test-strncmp.c (TEST_NAME): Likewise.
60434         * string/test-strncpy.c (TEST_NAME): Likewise.
60435         * string/test-strnlen.c (TEST_NAME): Likewise.
60436         * string/test-strpbrk.c (TEST_NAME): Likewise.
60437         * string/test-strrchr.c (TEST_NAME): Likewise.
60438         * string/test-strspn.c (TEST_NAME): Likewise.
60439         * string/test-strstr.c (TEST_NAME): Likewise.
60440         * string/test-bcopy-ifunc.c: New file.
60441         * string/test-bzero-ifunc.c: Likewise.
60442         * string/test-memccpy-ifunc.c: Likewise.
60443         * string/test-memchr-ifunc.c: Likewise.
60444         * string/test-memcmp-ifunc.c: Likewise.
60445         * string/test-memcpy-ifunc.c: Likewise.
60446         * string/test-memmem-ifunc.c: Likewise.
60447         * string/test-memmove-ifunc.c: Likewise.
60448         * string/test-mempcpy-ifunc.c: Likewise.
60449         * string/test-memset-ifunc.c: Likewise.
60450         * string/test-rawmemchr-ifunc.c: Likewise.
60451         * string/test-stpcpy-ifunc.c: Likewise.
60452         * string/test-stpncpy-ifunc.c: Likewise.
60453         * string/test-strcasecmp-ifunc.c: Likewise.
60454         * string/test-strcasestr-ifunc.c: Likewise.
60455         * string/test-strcat-ifunc.c: Likewise.
60456         * string/test-strchr-ifunc.c: Likewise.
60457         * string/test-strchrnul-ifunc.c: Likewise.
60458         * string/test-strcmp-ifunc.c: Likewise.
60459         * string/test-strcpy-ifunc.c: Likewise.
60460         * string/test-strcspn-ifunc.c: Likewise.
60461         * string/test-strlen-ifunc.c: Likewise.
60462         * string/test-strncasecmp-ifunc.c: Likewise.
60463         * string/test-strncat-ifunc.c: Likewise.
60464         * string/test-strncmp-ifunc.c: Likewise.
60465         * string/test-strncpy-ifunc.c: Likewise.
60466         * string/test-strnlen-ifunc.c: Likewise.
60467         * string/test-strpbrk-ifunc.c: Likewise.
60468         * string/test-strrchr-ifunc.c: Likewise.
60469         * string/test-strspn-ifunc.c: Likewise.
60470         * string/test-strstr-ifunc.c: Likewise.
60472         * debug/Makefile (tests-ifunc): New variable.
60473         (tests): Add $(tests-ifunc).
60474         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60475         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60476         * debug/test-stpcpy_chk-ifunc.c: New file.
60477         * debug/test-strcpy_chk-ifunc.c: Likewise.
60479 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60481         [BZ #13601]
60482         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60483         header is not read in.
60485 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60487         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60488         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60489         directly.  Pass built executable to script as
60490         $(built-program-cmd).
60491         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60492         $testprogram without using LD_LIBRARY_PATH and $ldso.
60494         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60495         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60496         $(rtld-installed-name).
60497         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60498         (rtld_installed_name): Likewise.
60499         (library_path): Likewise.
60500         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60501         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60502         $(run-program-prefix) to tst-tables.sh.
60503         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60504         it to run tst-table-from and tst-table-to.
60505         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60506         Pass it to tst-table.sh.
60507         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60508         $(run-program-prefix) to tst-gettext.sh.
60509         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60510         tst-translit.sh.
60511         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60512         tst-gettext2.sh.
60513         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60514         to run tst-gettext.
60515         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60516         to run tst-gettext2.
60517         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60518         to run tst-translit.
60519         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60520         $(run-program-prefix) to tst-mtrace.sh.
60521         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60522         to run tst-mtrace.
60523         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60524         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60525         $(rtld-installed-name).
60526         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60527         (rtld_installed_name): Likewise.
60528         (run_program_prefix): New variable.  Use it to run wordexp-test.
60530         * Makeconfig (ARCH): Remove all definitions.
60531         (machine): Likewise.
60532         [ARCH]: Remove conditional code.
60533         [!objdir]: Give error.
60534         [!objdir] (objpfx): Remove.
60535         [!objdir] (common-objpfx): Likewise.
60536         [!objdir] (common-objdir): Likewise.
60537         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60538         AC_CONFIG_FILES call.
60539         * configure: Regenerated.
60541         [BZ #13888]
60542         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60543         or TMPDIR.
60544         (testout): Likewise.
60546         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60547         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60548         $(rtld-installed-name).
60549         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60550         (rtld_installed_name): Likwise.
60551         (runit): Remove function.
60552         (run_getconf): New variable,  Use it for running getconf binary.
60554 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60556         [BZ #14716]
60557         * string/test-memmem.c (check_result): New function.
60558         (do_one_test): Use it.
60559         (check1): New function.
60560         (test_main): Use it.
60562 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60564         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60566 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60568         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60569         (_G_LSEEK64): Likewise.
60570         (_G_MMAP64): Likewise.
60571         (_G_FSTAT64): Likewise.
60572         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60573         (_G_LSEEK64): Likewise.
60574         (_G_MMAP64): Likewise.
60575         (_G_FSTAT64): Likewise.
60576         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60577         unconditional.  Call __mmap64 directly.
60578         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60579         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60580         __lseek64 directly.
60581         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60582         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60583         __mmap64 directly.
60584         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60585         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60586         __lseek64 directly.
60587         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60588         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60589         __lseek64 directly.
60590         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60591         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60592         __lseek64 directly.
60593         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60594         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60595         __fxstat64 directly.
60596         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60597         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60598         unconditional.
60599         (freopen64) [!_G_OPEN64]: Remove conditional code.
60600         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60601         unconditional.
60602         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60603         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60604         unconditional.
60605         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60606         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60607         unconditional.
60608         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60609         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60610         unconditional.
60611         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60612         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60613         unconditional.
60614         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60615         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60616         unconditional.
60617         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60618         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60619         unconditional.
60620         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60622 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60624         [BZ #12140]
60625         * manual/memory.texi (Malloc Tunable Parameters): Add note
60626         about free list pointers overwriting some perturb bytes.
60627         Wording suggested by Roland McGrath.
60629 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60631         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60632         (lgamma_test): Likewise.
60633         (tgamma_test): Likewise.
60635 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60637         [BZ #14700]
60638         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60639         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60641 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60643         * NEWS: Mention BZ #14716.
60644         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60645         when removing AVAILABLE1_USES_J macro.
60647 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60649         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60650         (__bswap_64): __uint64_t for unsigned 64-bit int.
60652 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60654         * include/string.h (memmem): Declare libc hidden alias.
60655         * string/memmem.c (memmem): Define libc hidden alias.
60656         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60657         __read, __close instead of open, read, close.
60659 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60661         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60662         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60663         global and hidden.
60664         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60665         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60666         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60667         Likewise.
60668         (__rawmemchr_sse2): Likewise.
60669         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60670         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60671         (__strchr_sse2): Likewise.
60672         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60673         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60674         (__strcasecmp_sse2): Likewise.
60675         (__strncasecmp_sse2): Likewise.
60676         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60677         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60678         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60679         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60680         (__strrchr_sse2): Likewise.
60681         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60682         ifunc-impl-list.c.
60683         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60684         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60685         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60686         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60687         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60688         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60689         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60690         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60691         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60692         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60693         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60694         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60695         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60696         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60697         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60698         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60699         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60700         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60701         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60702         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60703         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60704         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60705         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60706         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60707         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60708         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60709         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60710         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60711         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60712         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60714         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60715         global and hidden.
60716         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60717         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60718         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60719         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60720         Likewise.
60721         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60722         Likewise.
60723         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60724         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60725         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60726         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60727         ifunc-impl-list.c.
60728         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60729         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60730         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60731         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60732         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60733         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60734         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60735         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60736         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60737         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60738         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60739         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60740         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60741         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60742         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60743         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60744         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60745         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60746         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60747         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60748         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60749         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60750         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60751         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60752         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60753         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60754         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60755         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60756         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60757         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60758         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60759         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60760         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60761         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60762         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60763         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60764         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60765         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60766         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60767         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60768         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60770         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60771         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60772         * include/ifunc-impl-list.h: New file.
60773         * misc/ifunc-impl-list.c: Likewise.
60774         * misc/Makefile (routines): Add ifunc-impl-list.
60775         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60776         * string/test-string.h: Include <ifunc-impl-list.h>.
60777         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60778         TEST_NAME]: New variables.
60779         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60780         are defined.
60781         (test_init): Call __libc_ifunc_impl_list to initialize
60782         func_list if TEST_IFUNC and TEST_NAME are defined.
60784         * string/Makefile (strop-tests): Add bcopy and bzero.
60785         * string/test-bcopy.c: New file.
60786         * string/test-bzero.c: Likewise.
60787         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60788         defined.
60789         * string/test-memset.c: Support bzero test if TEST_BZERO is
60790         defined.
60791         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60792         __libc_memmove.
60793         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60794         __libc_memset.
60795         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60796         of memset.
60798 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60800         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60801         * configure: Regenerated.
60803         * Makeconfig (+link-static-before-libc): Don't include
60804         $(link-static-libc).
60806         * libio/libio.h (_IO_pos_t): Remove.
60808 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60810         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60811         McGrath.
60813 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60815         * crypt/crypt-entry.c: Include fips-private.h.
60816         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60817         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60818         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60819         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60821 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60823         * crypt/crypt-private.h: Include stdbool.h.
60824         (_ufc_setup_salt_r): Return bool.
60825         * crypt/crypt-entry.c: Include errno.h.
60826         (__crypt_r): Return NULL with EINVAL for bad salt.
60827         * crypt/crypt_util.c (bad_for_salt): New.
60828         (_ufc_setup_salt_r): Check that salt is long enough and within
60829         the specified alphabet.
60830         * crypt/badsalttest.c: New file.
60831         * crypt/Makefile (tests): Add it.
60832         ($(objpfx)badsalttest): New.
60834 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60836         * NEWS: Add entry for BZ #14602.
60838 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60840         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60841         type-generic.
60842         * math/libm-test.inc: Update comment listing what functions and
60843         macros are tested.
60844         (isgreater_test): New function.
60845         (isgreaterequal_test): Likewise.
60846         (isless_test): Likewise.
60847         (islessequal_test): Likewise.
60848         (islessgreater_test): Likewise.
60849         (isunordered_test): Likewise.
60850         (main): Call the new functions.
60852 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60854         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60855         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60856         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60857         * sysdeps/i386/configure: Regenerated.
60858         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60859         * sysdeps/mach/configure: Regenerated.
60860         * sysdeps/mach/hurd/configure: Regenerated.
60861         * sysdeps/powerpc/configure: Regenerated.
60862         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60863         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60864         * sysdeps/s390/s390-32/configure: Regenerated.
60865         * sysdeps/s390/s390-64/configure: Regenerated.
60866         * sysdeps/sh/configure: Regenerated.
60867         * sysdeps/sparc/configure: Regenerated.
60868         * sysdeps/unix/sysv/linux/configure: Regenerated.
60869         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60870         * sysdeps/x86_64/configure: Regenerated.
60872         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60873         defined.  Don't check if MAP is NULL.
60875 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60877         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60878         (_G_stat64): Likewise.
60879         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60880         (_G_stat64): Likewise.
60881         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60882         instead of struct _G_stat64.
60883         * libio/fileops.c (mmap_remap_check): Likewise.
60884         (decide_maybe_mmap): Likewise.
60885         (_IO_new_file_seekoff): Likewise.
60886         (_IO_file_stat): Likewise.
60887         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60888         _G_off64_t.
60889         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60890         instead of struct _G_stat64.
60891         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60893 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60895         [BZ #14602]
60896         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60897         Replace with ...
60898         (CHECK_EOL): New macro.
60899         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60900         CHECK_EOL.
60901         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60902         Replace with CHECK_EOL.
60903         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60904         Replace with CHECK_EOL.
60906 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60908         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60909         type-generic.
60910         * math/libm-test.inc: Update comment listing what functions and
60911         macros are tested.
60912         (finite_test): New function.
60913         (isinf_test): Likewise.
60914         (isnan_test): Likewise.
60915         (fpclassify_test): Test subnormal input.
60916         (isfinite_test): Likewise.
60917         (isnormal_test): Likewise.
60918         (main): Call the new functions.
60920 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60922         [BZ #14660]
60923         * Makerules (%.dynsym): Force C locale when running
60924         $(OBJDUMP) --dynamic-syms.
60926 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60928         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60929         <stdint.h>.
60931 2012-10-06  David S. Miller  <davem@davemloft.net>
60933         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60934         upper 32-bits of the length value in %o2 since we use branch-on-register
60935         tests which consider the entire 64-bit register.
60937 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60939         * string/test-strstr.c (check2): Add a test for page boundary.
60941 2012-10-05  David S. Miller  <davem@davemloft.net>
60943         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60944         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60945         file.
60946         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60947         sysdep_routines.
60948         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60949         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60950         and bzero when HWCAP_SPARC_CRYPTO is present.
60952 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60954         [BZ #14602]
60955         * string/test-strstr.c (check2): New function.
60956         (test_main): Call check2.
60958         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60959         and bug-strchr1.
60960         * string/bug-strcasestr1.c (do_test): Moved to ...
60961         * string/test-strcasestr.c (check1): Here.  New function.
60962         (do_one_test): Break out result checking code into ...
60963         (check_result): This.  New function.
60964         (do_one_test): Call check_result.
60965         (test_main): Call check1.
60966         * string/bug-strchr1.c (do_test): Moved to ...
60967         * string/test-strchr.c (check1): Here.  New function.
60968         (do_one_test): Break out result checking code into ...
60969         (check_result): This.  New function.
60970         (do_one_test): Call check_result.
60971         (test_main): Call check1.
60972         * string/bug-strstr1.c (main): Moved to ...
60973         * string/test-strstr.c (check1): Here.  New function.
60974         (do_one_test): Break out result checking code into ...
60975         (check_result): This.  New function.
60976         (do_one_test): Call check_result.
60977         (test_main): Call check1.
60978         * string/bug-strcasestr1.c: Removed.
60979         * string/bug-strchr1.c: Likewise.
60980         * string/bug-strstr1.c: Likewise.
60982         * elf/Makefile (dl-routines): Add hwcaps.
60983         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60984         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60985         (_dl_important_hwcaps): Moved to ...
60986         * elf/dl-hwcaps.c: Here.  New file.
60987         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60989         [BZ #14557]
60990         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60991         if IS_IN_rtld isn't defined.
60993         * elf/dl-support.c (_dl_sysinfo_map): New.
60994         Include "get-dynamic-info.h" and "setup-vdso.h".
60995         (_dl_non_dynamic_init): Call setup_vdso.
60996         * elf/dynamic-link.h: Don't include <assert.h>.
60997         (elf_get_dynamic_info): Moved to ...
60998         * elf/get-dynamic-info.h: Here.  New file.
60999         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61000         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61001         * elf/setup-vdso.h: Here.  New file.
61002         * elf/rtld.c: Include "setup-vdso.h".
61003         (dl_main): Call setup_vdso.
61005 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61007         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61008         creal in comment listing functions tested.  List finite, isinf,
61009         isnan, isless, islessequal, isgreater, isgreaterequal,
61010         islessgreater, isunordered, lgamma_r and pow10 as functions and
61011         macros not tested.  Mention which functions not tested are aliases
61012         for other functions.  Fix typo.  Note that signs of NaNs are not
61013         tested.
61015         * scripts/config.guess: Update from config.git.
61016         * scripts/config.sub: Likewise.
61018 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61020         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61021         * misc/madvise.c (madvise): Renamed to __madvise.
61022         Make madvise a weak alias.
61023         * include/sys/mman.h: Declare __madvise.
61024         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61025         * sysdeps/unix/syscalls.list
61026         (madvise): Make __madvise the strong name, and madvise a weak alias.
61027         * sysdeps/unix/sysv/linux/syscalls.list
61028         (madvise, mmap): Remove redundant entries.
61029         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61030         * malloc/malloc.c (mtrim): Likewise.
61031         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61033 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61035         * sysdeps/mach/hurd/dl-cache.c: File removed.
61036         * config.h.in (USE_LDCONFIG): New #undef.
61037         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61038         * configure: Regenerated.
61039         * elf/Makefile (dl-routines): Add dl-cache only under
61040         [$(use-ldconfig) = yes].
61041         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61042         cache on [USE_LDCONFIG].
61043         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61044         [USE_LDCONFIG].
61045         * elf/rtld.c (dl_main): Likewise.
61047 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61049         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61050         _SC_LEVEL4_CACHE_LINESIZE.
61052 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61054         * sysdeps/unix/bsd/confstr.h: File removed.
61056 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61058         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61059         sys/sdt-config.h.
61061 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61063         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61064         Make 'mapoff' field ElfW(Off) rather than off_t.
61066 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61068         * nscd/Makefile: Remove nscd-cflags and all its users.
61069         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61070         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61072         [BZ #10631]
61073         * malloc.c (malloc_printerr): Clarify error message.
61075 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61077         [BZ #14648]
61078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61079         Set bit_FMA_Usable if FMA is supported.
61080         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61081         macro.
61082         (bit_FMA4_Usable): Updated.
61083         (index_FMA_Usable): New macro.
61084         (CPUID_FMA): Likewise.
61085         (HAS_FMA): Defined with bit_FMA_Usable.
61087 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61089         * bits/types.h (__swblk_t): Type removed.
61090         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61091         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61092         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61093         (__SWBLK_T_TYPE): Likewise.
61094         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61095         (__SWBLK_T_TYPE): Likewise.
61096         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61097         (__SWBLK_T_TYPE): Likewise.
61098         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61099         (__SWBLK_T_TYPE): Likewise.
61101 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61102             Honza Horak <hhorak@redhat.com>
61104         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61105         (xdr_mapname): Use YPMAXMAP as maxsize.
61106         (xdr_peername): Use YPMAXPEER as maxsize.
61107         (xdr_keydat): Use YPAXRECORD as maxsize.
61108         (xdr_valdat): Use YPMAXRECORD as maxsize.
61110 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61112         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61114         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61115         * csu/init-first.c: ... here.
61116         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61117         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61118         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61119         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61120         * sysdeps/i386/init-first.c: File removed.
61121         * sysdeps/sh/init-first.c: File removed.
61123 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61125         [BZ #14645]
61126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61127         if x * y might underflow to zero and z is zero.
61128         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61129         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61130         * math/libm-test.inc (min_subnorm_value): New variable.
61131         (fma_test): Add more tests.
61132         (fma_test_towardzero): Likewise.
61133         (fma_test_downward): Likewise.
61134         (fma_test_upward): Likewise.
61135         (initialize): Set min_subnorm_value.
61137 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61139         [BZ #14638]
61140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61141         0 + 0.
61142         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61143         mode for addition resulting in exact zero.
61144         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61145         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61146         exact 0 + 0.
61147         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61148         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61149         * math/libm-test.inc (fma_test): Add more tests.
61150         (fma_test_towardzero): New function.
61151         (fma_test_downward): Likewise.
61152         (fma_test_upward): Likewise.
61153         (main): Call the new functions.
61155 2012-09-28  David S. Miller  <davem@davemloft.net>
61157         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61159 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61161         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61162         instead of SIGALRM.
61164         * sysdeps/gnu/_G_config.h: Moved to ...
61165         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61166         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61167         * sysdeps/generic/_G_config.h: ... here.
61169         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61171         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61173         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61174         Conditionalize target on [libnss_test1.so-version].
61176         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61178         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61179         (elfobjdir): Move out of conditionals.
61181         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61182         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61183         (__nss_lookup_function): Conditionalize label remove_from_tree on
61184         [!DO_STATIC_NSS || SHARED], matching its only use.
61186 2012-09-28  David S. Miller  <davem@davemloft.net>
61188         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61189         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61190         file.
61191         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61192         sysdep_routines.
61193         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61195         when HWCAP_SPARC_CRYPTO is present.
61197 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61199         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61201 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61203         [BZ #6530]
61204         * stdio-common/vfprintf.c (process_string_arg): Revert
61205         2000-07-22 change.
61207 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61209         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61210         for testcase.
61211         * stdio-common/tst-sprintf.c: Include <locale.h>
61212         (main): Test sprintf's handling of incomplete multibyte
61213         characters.
61215 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61217         * elf/dl-runtime.c (VERSYMIDX): Removed.
61218         * elf/dl-version.c (VERSYMIDX): Likewise.
61219         * elf/do-rel.h (VERSYMIDX): Likewise.
61220         (VALIDX): Likewise.
61221         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61222         * elf/rtld.c (VALIDX): Likewise.
61223         (ADDRIDX): Likewise.
61224         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61225         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61226         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61227         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61228         (VALIDX): Likewise.
61229         (ADDRIDX): Likewise.
61231 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61233         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61235 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61237         [BZ #11438]
61238         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61239         to global scope.
61240         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61241         addresses are in the same scope as 192.0.2/24.
61242         * posix/gai.conf: Document new scope table defaults.
61244 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61246         [BZ #5298]
61247         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61248         for ftell.  Compute offsets from write pointers instead.
61249         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61251 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61253         [BZ #14543]
61254         * libio/Makefile (tests): New test case tst-fseek.
61255         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61256         combination works in wide mode.
61257         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61258         state when the external buffer state changes.
61260 2012-09-27  David S. Miller  <davem@davemloft.net>
61262         [BZ #14376]
61263         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61264         pass reloc->r_addend in as the 'high' argument to
61265         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61269 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61271         * rt/tst-aio2.c: Include <pthread.h>.
61272         * rt/tst-aio3.c: Likewise.
61274 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61276         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61278 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61280         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61281         contents on [SHARED].
61283 2012-09-26  Marek Polacek  <polacek@redhat.com>
61285         [BZ #14530]
61286         [BZ #13741]
61287         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61288         for C++ and GCC <4.3 as well as for non GCC compilers.
61290 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61294 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61296         * Makefile.in (all, install): Declare with .PHONY.
61297         Reported by Michael Hope <michael.hope@linaro.org>.
61299 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61301         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61302         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61303         system header.
61304         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61305         Likewise.
61306         (sydep_routines): Add the new and the internal functions.
61307         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61308         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61310         (GLIBC_2.17): Add the new function.
61311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61312         (GLIBC_2.17): Likewise.
61313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61314         (GLIBC_2.17): Likewise.
61315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61316         (GLIBC_2.17): Likewise.
61317         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61319 2012-09-25  Alan Modra  <amodra@gmail.com>
61321         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61322         Add release barrier before setting once_control to say
61323         initialisation is done.  Add hints on lwarx.  Use macro in
61324         place of isync.
61325         (clear_once_control): Add release barrier.
61327 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61329         [BZ #13629]
61330         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61331         specially.
61332         * math/s_clog10.c (__clog10): Likewise.
61333         * math/s_clog10f.c (__clog10f): Likewise.
61334         * math/s_clog10l.c (__clog10l): Likewise.
61335         * math/s_clogf.c (__clogf): Likewise.
61336         * math/s_clogl.c (__clogl): Likewise.
61337         * math/Makefile (libm-calls): Add x2y2m1.
61338         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61339         (__x2y2m1): Likewise.
61340         (__x2y2m1l): Likewise.
61341         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61342         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61343         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61344         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61345         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61346         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61347         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61348         * sysdeps/i386/fpu/libm-test-ulps: Update.
61349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61351         [BZ #14621]
61352         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61353         int as type of variable DEPTH.
61354         (glob): Use size_t instead of int as type of variables NEWCOUNT
61355         and OLD_PATHC.
61357 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61359         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61360         Add s_sincosf-sse2.
61361         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61362         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61363         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61364         macros for using routine as __sincosf_ia32.
61365         Use macro for function declaration and weak_alias.
61366         * sysdeps/i386/fpu/libm-test-ulps: Update.
61368         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61371         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61372         subnormal argument.
61373         * math/s_cexpf.c (__cexpf): Likewise.
61374         * math/s_csinf.c (__csinf): Likewise.
61375         * math/s_csinhf.c (__csinhf): Likewise.
61376         * math/s_ctanf.c (__ctanf): Likewise.
61377         * math/s_ctanhf.c (__ctanhf): Likewise.
61378         * math/s_ccosh.c (__ccoshf): Likewise.
61379         * math/s_cexp.c (__cexpl): Likewise.
61380         * math/s_csin.c (__csin): Likewise.
61381         * math/s_csinh.c (__csinh): Likewise.
61382         * math/s_ctan.c (__ctan): Likewise.
61383         * math/s_ctanh.c (ctanh): Likewise.
61384         * math/s_ccoshl.c (__ccoshl): Likewise.
61385         * math/s_cexpl.c (__cexpl): Likewise.
61386         * math/s_csinl.c (__csinl): Likewise.
61387         * math/s_csinhl.c (__csinhl): Likewise.
61388         * math/s_ctanl.c (__ctanl): Likewise.
61389         * math/s_ctanhl.c (__ctanhl): Likewise.
61391 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61393         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61394         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61395         (_IO_off_t): Define to __off_t, not _G_off_t.
61396         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61397         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61398         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61399         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61400         type of __dummy and __dummy2 fields.
61401         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61402         (_G_ssize_t): Likewise.
61403         (_G_off_t): Likewise.
61404         (_G_pid_t): Likewise.
61405         (_G_uid_t): Likewise.
61406         (_G_wchar_t): Likewise.
61407         (_G_wint_t): Likewise.
61408         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61409         (_G_ssize_t): Likewise.
61410         (_G_off_t): Likewise.
61411         (_G_pid_t): Likewise.
61412         (_G_uid_t): Likewise.
61413         (_G_wchar_t): Likewise.
61414         (_G_wint_t): Likewise.
61415         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61416         (_G_ssize_t): Likewise.
61417         (_G_off_t): Likewise.
61418         (_G_pid_t): Likewise.
61419         (_G_uid_t): Likewise.
61420         (_G_wchar_t): Likewise.
61421         (_G_wint_t): Likewise.
61423 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61425         * malloc/arena.c: Include malloc-sysdep.h.
61426         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61427         is sufficient to shrink the heap or an unmap is needed.
61428         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61429         new function check_may_shrink_heap.
61430         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61431         new function check_may_shrink_heap.
61433 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61435         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61436         comments.
61438 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61440         * catgets/test-gencat.sh: Add "set -e".
61441         * elf/tst-pathopt.sh: Likewise.
61442         * grp/tst_fgetgrent.sh: Likewise.
61443         * iconvdata/run-iconv-test.sh: Likewise.
61444         * intl/tst-gettext.sh: Likewise.
61445         * intl/tst-gettext2.sh: Likewise.
61446         * intl/tst-gettext4.sh: Likewise.
61447         * intl/tst-gettext6.sh: Likewise.
61448         * intl/tst-translit.sh: Likewise.
61449         * io/ftwtest-sh: Likewise.
61450         * libio/test-freopen.sh: Likewise.
61451         * malloc/tst-mtrace.sh: Likewise.
61452         * posix/globtest.sh: Likewise.
61453         * posix/tst-getconf.sh: Likewise.
61454         * posix/wordexp-tst.sh: Likewise.
61455         * stdio-common/tst-printf.sh: Likewise.
61456         * stdio-common/tst-unbputc.sh: Likewise.
61457         * stdlib/tst-fmtmsg.sh: Likewise.
61458         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61459         * catgets/Makefile: Do not specify -e option when running
61460         testsuite shell scripts.
61461         * elf/Makefile: Likewise.
61462         * grp/Makefile: Likewise.
61463         * iconvdata/Makefile: Likewise.
61464         * intl/Makefile: Likewise.
61465         * io/Makefile: Likewise.
61466         * libio/Makefile: Likewise.
61467         * malloc/Makefile: Likewise.
61468         * posix/Makefile: Likewise.
61469         * stdio-common/Makefile: Likewise.
61470         * stdlib/Makefile: Likewise.
61471         * sysdeps/x86_64/Makefile: Likewise.
61473         * io/ftwtest-sh: Add copyright header.
61474         * posix/globtest.sh: Likewise.
61475         * posix/tst-getconf.sh: Likewise.
61476         * posix/wordexp-tst.sh: Likewise.
61477         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61479 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61481         [BZ #13679]
61482         * Makeconfig (+link): Defined as $(+link-static) if
61483         $(build-shared) isn't yes.
61484         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61485         isn't yes.
61486         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61488         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61490         [BZ #14562]
61491         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61492         new chunk size with MALLOC_ALIGN_MASK.
61494 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61496         [BZ #5044]
61497         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61498         <rounding-mode.h>.
61499         (__printf_fphex): Determine rounding using get_rounding_mode and
61500         round_away.
61501         * stdio-common/tst-printf-round.c (struct hex_test): New
61502         structure.
61503         (hex_tests): New variable.
61504         (test_hex_in_one_mode): New function.
61505         (do_test): Also run tests for hex float output.
61507 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61509         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61510         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61511         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61512         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61513         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61514         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61515         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61516         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61518 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61520         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61521         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61522         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61523         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61525 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61527         [BZ #14579]
61528         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61529         mode only.
61530         * elf/tst-rtld-load-self.sh: New test.
61531         * elf/Makefile: Run it.
61533 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61535         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61536         (tst-writev-ENV): Remove.
61537         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61539 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61541         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61543 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61545         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61546         unconditional.
61547         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61548         Likewise.
61549         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61550         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61551         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61552         Likewise.
61554 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61556         [BZ #14587]
61557         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61558         * config.make.in (have-cpp-asm-debuginfo): Removed.
61559         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61560         * configure: Regenerated.
61562 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61564         [BZ #5044]
61565         * stdio-common/printf_fp.c: Include <stdbool.h> and
61566         <rounding-mode.h>.
61567         (___printf_fp): Determine rounding using get_rounding_mode and
61568         round_away.
61569         * stdio-common/tst-printf-round.c: New file.
61570         * stdio-common/Makefile (tests): Add tst-printf-round.
61571         (link-libm): New variable.
61572         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61574 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61576         [BZ #14576]
61577         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61578         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61579         Likewise.
61580         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61581         Likewise.
61583 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61585         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61586         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61587         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61588         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61590 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61592         [BZ #14518]
61593         * include/rounding-mode.h: New file.
61594         * sysdeps/generic/get-rounding-mode.h: Likewise.
61595         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61596         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61597         (MAX_VALUE): New macro.
61598         (MIN_VALUE): Likewise.
61599         (overflow_value): New function.
61600         (underflow_value): Likewise.
61601         (round_and_return): Use overflow_value and underflow_value to
61602         determine return values in overflow and underflow cases.  Use
61603         round_away to determine rounding depending on rounding mode.
61604         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61605         determine return values in overflow and underflow cases.
61606         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61607         (struct test_results): New structure.
61608         (struct test): Use struct test_results to store expected results
61609         for all rounding modes.
61610         (TEST): Include expected results for all rounding modes.
61611         (test_in_one_mode): New function.
61612         (do_test): Use test_in_one_mode to compute and check results.
61613         Check results for all rounding modes.
61614         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61615         $(link-libm).
61617 2012-12-09  Allan McRae  <allan@archlinux.org>
61619         * sysdeps/i386/fpu/libm-test-ulps: Update
61621 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61623         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61624         (_G_int32_t): Likewise.
61625         (_G_uint16_t): Likewise.
61626         (_G_uint32_t): Likewise.
61627         (_G_HAVE_BOOL): Likewise.
61628         (_G_HAVE_ATEXIT): Likewise.
61629         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61630         (_G_HAVE_IO_FILE_OPEN): Likewise.
61631         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61632         (_G_int32_t): Likewise.
61633         (_G_uint16_t): Likewise.
61634         (_G_uint32_t): Likewise.
61635         (_G_HAVE_BOOL): Likewise.
61636         (_G_HAVE_ATEXIT): Likewise.
61637         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61638         (_G_HAVE_IO_FILE_OPEN): Likewise.
61639         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61640         (_G_int32_t): Likewise.
61641         (_G_uint16_t): Likewise.
61642         (_G_uint32_t): Likewise.
61643         (_G_HAVE_BOOL): Likewise.
61644         (_G_HAVE_ATEXIT): Likewise.
61645         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61646         (_G_HAVE_IO_FILE_OPEN): Likewise.
61648 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61650         * csu/libc-tls.c: Update copyright years.
61652 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61654         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61655         [!_G_USING_THUNKS]: Remove conditional code.
61656         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61657         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61659         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61660         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61661         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61662         (_G_VTABLE_LABEL_PREFIX): Likewise.
61663         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61664         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61665         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61666         (_G_VTABLE_LABEL_PREFIX): Likewise.
61667         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61668         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61669         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61670         (_G_VTABLE_LABEL_PREFIX): Likewise.
61671         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61673 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61675         * libio/Makefile: Include ../Makeconfig before tests.
61676         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61677         only if $(build-shared) is yes.
61679         * iconv/gconv_db.c: Update copyright years.
61681 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61683         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61684         unwind info if defined PIC. Fix special cases description.
61685         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61687         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61688         DP_HI_MASK entry.
61689         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61691 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61693         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61695         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61696         is NULL.
61698         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61699         (LDLIBS-tst-chk4): This.
61700         (LDFLAGS-tst-chk5): Renamed to ...
61701         (LDLIBS-tst-chk5): This.
61702         (LDFLAGS-tst-chk6): Renamed to ...
61703         (LDLIBS-tst-chk6): This.
61704         (LDFLAGS-tst-lfschk4): Renamed to ...
61705         (LDLIBS-tst-lfschk4): This.
61706         (LDFLAGS-tst-lfschk5): Renamed to ...
61707         (LDLIBS-tst-lfschk5): This.
61708         (LDFLAGS-tst-lfschk6): Renamed to ...
61709         (LDLIBS-tst-lfschk6): This.
61711         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61712         on $(common-objpfx)soversions.mk.
61714 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61716         [BZ #10014]
61717         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61718         example host name.
61720 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61722         * malloc/arena.c (arena_get_retry): New function that gets
61723         another arena for the caller to try its request on.
61724         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61725         current arena cannot fulfill the request.
61726         (__libc_memalign): Likewise.
61727         (__libc_memalign): Likewise.
61728         (__libc_pvalloc): Likewise.
61729         (__libc_calloc): Likewise.
61731 2012-09-05  John Tobey  <john.tobey@gmail.com>
61733         [BZ #13542]
61734         * manual/arith.texi (Operations on Complex): Fix description
61735         of carg branch cut.
61737 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61739         [BZ #10014]
61740         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61741         host name.
61743         [BZ #10038]
61744         * manual/memory.texi (Memory): Make order of menu items match
61745         order of sections.
61747 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61749         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61750         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61751         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61753 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61755         * csu/libc-tls.c (static_dtv): Renamed to ...
61756         (_dl_static_dtv): This.  Make it global.
61757         (_dl_initial_dtv): Removed.
61758         (__libc_setup_tls): Updated.
61759         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61760         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61761         DL_INITIAL_DTV.
61763 2012-09-06  Petr Machata  <pmachata@redhat.com>
61765         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61766         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61767         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61768         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61770 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61772         [BZ #14545]
61773         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61774         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61775         freeing dtv[-1].
61777 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61779         [BZ #14544]
61780         * Makeconfig (link-static-before-libc): Replace $(+prector)
61781         with $(+prectorT).
61782         (link-static-after-libc): Replace $(+postctor) with
61783         $(+postctorT).
61784         (link-bounded): Replace $(+prector)/$(+postctor) with
61785         $(+prectorT)/$(+postctorT).
61786         (+prectorT): New macro.
61787         (+postctorT): Likewise.
61789 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61791         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61792         (round_str): Handle values above the maximum for IBM long double
61793         as inexact.
61794         * stdlib/tst-strtod-round.c (tests): Regenerated.
61796 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61798         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61799         assembler flag.
61800         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61801         zarch_nohighgprs around the zarch optimized routines.
61802         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61803         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61804         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61805         for zarch.
61807 2012-09-05  David S. Miller  <davem@davemloft.net>
61809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61811         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61812         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61813         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61814         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61815         entries.
61817 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61819         * malloc/arena.c: Fold copyright years.
61820         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61822 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61824         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61826 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61828         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61830 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61832         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61833         change internal state upon failure.
61835 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61837         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61838         * malloc/memusage.c (mmap): Likewise.
61839         (mmap64, mremap): Likewise.  Adjust name in comment.
61841 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61843         * libio/fileops.c: Fix typos in comments.
61844         * libio/oldfileops.c: Likewise.
61845         * libio/wfileops.c: Likewise.
61847 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61849         [BZ #1349]
61850         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61851         (tst-malloc-usable-ENV): Set environment for test case.
61852         * malloc/hooks.c (malloc_check_get_size): New function to get
61853         requested size.
61854         * malloc/malloc.c (musable): Use malloc_check_get_size.
61855         * malloc/tst-malloc-usable.c: New test case.
61857 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61859         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61861 2012-09-05  Allan McRae  <allan@archlinux.org>
61863         [BZ #13966]
61864         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61865         determine header location.
61866         * configure: Regenerated.
61868 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61870         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61871         float format.
61872         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61873         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61874         format.
61875         (test): Regenerate.
61877 2012-09-04  David S. Miller  <davem@davemloft.net>
61879         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61880         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61881         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61883 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61885         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61886         failures.
61888         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61890 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61892         [BZ #9914]
61893         * libio/iogetdelim.c: Include <limits.h>.
61894         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61895         + len + 1 would overflow.
61897 2012-09-03  Andreas Jaeger  <aj@suse.de>
61899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61900         * sysdeps/i386/fpu/libm-test-ulps: Update.
61902 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61904         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61905         Add s_sinf-sse2, s_conf-sse2.
61907         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61908         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61909         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61910         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61912         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61913         for using routine as __sinf_ia32.
61914         Use macro for function declaration and weak_alias.
61915         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61916         for using routine as __cosf_ia32.
61917         Use macro for function declaration and weak_alias.
61919         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61920         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61922         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61923         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61926         * math/libm-test.inc (cos_test): Add more test cases.
61927         (sin_test): Likewise.
61928         (sincos_test): Likewise.
61930 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61932         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61933         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61934         hidden.
61935         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61937 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61939         [BZ #14538]
61940         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61941         first element of the GOT.
61942         (elf_machine_load_address): Return the difference between
61943         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61945 2012-09-01  Allan McRae  <allan@archlinux.org>
61947         [BZ #13412]
61948         * configure.in (AWK): Require gawk version 3.0 or later.
61949         * configure: Regenerated.
61951 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61953         * sysdeps/unix/sysv/linux/kernel-features.h
61954         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61955         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61956         [__NR_clock_getres]: Make code unconditional.
61957         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61958         (clock_getcpuclockid): Remove code left unreachable by removal of
61959         conditionals.
61960         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61961         code unconditional.
61962         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61963         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61964         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61965         Make code unconditional.
61966         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61967         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61968         * sysdeps/unix/sysv/linux/clock_settime.c
61969         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61970         conditional code.
61971         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61972         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61974 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61976         [BZ #14476]
61977         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61978         scripts/test-installation.pl.
61980         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61981         and $ld_so_version if it is set.
61983 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61985         [BZ #14516]
61986         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61987         failure if reading from procfs failed.
61988         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61990 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61992         * sysdeps/unix/sysv/linux/kernel-features.h
61993         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61994         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61995         Remove conditional code.
61996         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61997         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61998         Remove conditional code.
61999         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62000         * sysdeps/unix/sysv/linux/i386/fxstat.c
62001         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62002         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62003         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62004         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62005         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62006         * sysdeps/unix/sysv/linux/i386/lxstat.c
62007         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62008         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62009         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62010         Remove conditional code.
62011         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62012         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62013         Remove conditional code.
62014         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62015         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62016         <kernel-features.h>.
62017         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62018         Remove.
62019         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62020         Remove conditional code.
62021         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62022         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62023         Remove conditional.
62025 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62027         [BZ #5400]
62028         * NEWS: Add fixed bug number.
62030 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62032         [BZ #14519]
62033         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62034         underflowing exponent in case of negative sign.
62035         * stdlib/tst-strtod-round-data: Add more tests.
62036         * stdlib/tst-strtod-round.c (tests): Regenerated.
62038         [BZ #3479]
62039         * stdlib/strtod_l.c (NDIG): Remove.
62040         (HEXNDIG): Likewise.
62041         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62042         smallest representable value.
62043         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62044         lie within an exact representation of 1/2 ulp of the result.
62045         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62046         unconditionally.
62047         (TENS_P9_IDX): Define unconditionally.
62048         (TENS_P9_SIZE): Likewise.
62049         (TENS_P10_IDX): Likewise.
62050         (TENS_P10_SIZE): Likewise.
62051         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62052         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62053         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62054         entries for 10^2^13 and 10^2^14.
62055         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62056         (TENS_P13_IDX): Define.
62057         (TENS_P13_SIZE): Likewise.
62058         (TENS_P14_IDX): Likewise.
62059         (TENS_P14_SIZE): Likewise.
62060         (_fpioconst_pow10): Change array size to
62061         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62062         unconditional.
62063         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62064         1024]: Add entries for 10^2^13 and 10^2^14.
62065         [LAST_POW10 > _LAST_POW10]: Remove #error.
62066         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62067         (_fpioconst_pow10): Change array size to
62068         FPIOCONST_POW10_ARRAY_SIZE.
62069         * stdlib/gen-fpioconst.c: New file.
62070         * stdlib/gen-tst-strtod-round.c: Likewise.
62071         * stdlib/tst-strtod-round-data: Likewise.
62072         * stdlib/tst-strtod-round.c: Likewise.
62073         * stdlib/Makefile (tests): Add tst-strtod-round.
62075         [BZ #14459]
62076         * stdlib/strtod_l.c: Include <stdint.h>.
62077         (NDEBUG): Do not define.
62078         (round_and_return): Change EXPONENT parameter to type intmax_t.
62079         Rearrange calculations to avoid internal overflow possibilities.
62080         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62081         Rearrange calculations to avoid internal overflow possibilities.
62082         Assert that number fits inside MPNSIZE limbs.
62083         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62084         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62085         calculations and add assertions to avoid internal overflow
62086         possibilities.  Add casts to avoid signed/unsigned operations.
62087         * stdlib/tst-strtod-overflow.c: New file.
62088         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62090 2012-08-25  Marek Polacek  <polacek@redhat.com>
62092         * time/time.h: Fix some typos in comments.
62094 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62096         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62097         * posix/tst-rfc3484-2.c: Likewise.
62098         * posix/tst-rfc3484-3.c: Likewise.
62100 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62102         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62103         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62105 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62107         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62108         #include of fxstatat64.c.
62110 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62112         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62113         * shadow/getspent_r.c: Likewise.
62114         * shadow/getspnam.c: Likewise.
62115         * shadow/getspnam_r.c: Likewise.
62116         * gshadow/getsgent.c: Likewise.
62117         * gshadow/getsgent_r.c: Likewise.
62118         * gshadow/getsgnam.c: Likewise.
62119         * gshadow/getsgnam_r.c: Likewise.
62120         * inet/getnetbyad.c: Likewise.
62121         * inet/getnetbyad_r.c: Likewise.
62122         * inet/getnetbynm.c: Likewise.
62123         * inet/getnetbynm_r.c: Likewise.
62124         * inet/getnetent.c: Likewise.
62125         * inet/getnetent_r.c: Likewise.
62126         * inet/getproto.c: Likewise.
62127         * inet/getproto_r.c: Likewise.
62128         * inet/getprtent.c: Likewise.
62129         * inet/getprtent_r.c: Likewise.
62130         * inet/getprtname.c: Likewise.
62131         * inet/getprtname_r.c: Likewise.
62132         * inet/getrpcbyname.c: Likewise.
62133         * inet/getrpcbyname_r.c: Likewise.
62134         * inet/getrpcbynumber.c: Likewise.
62135         * inet/getrpcbynumber_r.c: Likewise.
62136         * inet/getrpcent.c: Likewise.
62137         * inet/getrpcent_r.c: Likewise.
62138         * inet/getaliasent.c: Likewise.
62139         * inet/getaliasent_r.c: Likewise.
62140         * inet/getaliasname.c: Likewise.
62141         * inet/getaliasname_r.c: Likewise.
62142         * nscd/getgrgid_r.c: Likewise.
62143         * nscd/getgrnam_r.c: Likewise.
62144         * nscd/gethstbyad_r.c: Likewise.
62145         * nscd/gethstbynm3_r.c: Likewise.
62146         * nscd/getpwnam_r.c: Likewise.
62147         * nscd/getpwuid_r.c: Likewise.
62148         * nscd/getsrvbynm_r.c: Likewise.
62149         * nscd/getsrvbypt_r.c: Likewise.
62150         * nscd/gai.c: Likewise.
62152         * configure.in (build_nscd): New substituted variable, set
62153         by --disable-build-nscd and defaults to $use_nscd.
62154         * configure: Regenerated.
62155         * config.make.in (build-nscd): New substituted variable.
62156         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62157         Change conditional to require [$(build-nscd) = yes] as well.
62158         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62160         [BZ# 13696]
62161         * configure.in (use_nscd): New substituted variable, set by
62162         --disable-nscd.  If enabled, define USE_NSCD.
62163         * configure: Regenerated.
62164         * config.h.in: Add USE_NSCD.
62165         * config.make.in (use-nscd): New substituted variable.
62166         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62167         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62168         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62169         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62170         (CFLAGS-getgrnam_r.c): Likewise.
62171         (CFLAGS-initgroups.c): Likewise.
62172         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62173         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62174         Variables removed.
62175         * inet/getnetgrent_r.c
62176         (nscd_setnetgrent): New function, broken out of ...
62177         (setnetgrent): ... here.  Call it.
62178         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62179         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62180         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62181         * nscd/Makefile (routines, aux): Move definitions after include of
62182         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62183         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62184         Conditionalize on [USE_NSCD].
62185         (is_nscd, nscd_init_cb): Likewise.
62186         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62187         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62188         * nss/nss_db/db-init.c: Likewise.
62189         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62190         [USE_NSCD].
62191         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62192         (make_request): Use it.
62193         (cache_valid_p): New function.
62194         (__check_pf): Use it.
62195         * NEWS: Add item for --disable-nscd.
62197 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62199         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62200         to support sed >= 4.2.1-20-ga9bf076.
62201         * configure: Regenerated.
62203 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62205         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62206         Conditionalize whole body on [IREL].
62208 2012-08-22  Jeff Law <law@redhat.com>
62210         [BZ #14505]
62211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62212         if the family is PF_UNSPEC.
62214 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62216         * Makerules (lib-version): Rename from V.
62217         (install-lib-nosubdir): Change V to lib-version.
62219 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62221         [BZ #14252]
62222         * powerpc32/power6/wcschr.c: New file.
62223         * powerpc32/power6/wcscpy.c: New file.
62224         * powerpc32/power6/wcsrchr.c: New file.
62225         * powerpc64/power6/wcschr.c: New file.
62226         * powerpc64/power6/wcscpy.c: New file.
62227         * powerpc64/power6/wcsrchr.c: New file.
62229 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62231         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62232         (two_way_short_needle): Use it.
62233         * string/strstr.c (AVAILABLE1_USES_J): Define.
62234         * string/strcasestr.c: Likewise.
62236         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62237         array references.
62238         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62240         [BZ #11607]
62241         * NEWS: Add an entry.
62242         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62243         define their defaults.
62244         (two_way_short_needle): Detect end-of-string on-the-fly.
62245         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62246         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62247         * string/bug-strcasestr1.c: New test.
62248         * string/Makefile: Run it.
62250 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62252         [BZ #11607]
62253         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62254         the first character.
62256 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62258         * csu/elf-init.c (__libc_csu_irel): Function removed.
62259         * csu/libc-start.c (apply_irel): New function.
62260         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62262 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62264         * sysdeps/unix/sysv/linux/kernel-features.h
62265         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62266         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62267         <kernel-features.h>.
62268         [__NR_fadvise64_64]: Make code unconditional.
62269         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62270         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62271         !__NR_fadvise64_64)]: Likewise.
62272         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62273         !__NR_fadvise64_64))]: Likewise.
62274         [__NR_fadvise64]: Make code unconditional.
62275         [!__NR_fadvise64]: Remove conditional code.
62276         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62277         <kernel-features.h>.
62278         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62279         unconditional.
62280         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62281         conditional code.
62282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62283         not include <kernel-features.h>.
62284         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62285         unconditional.
62286         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62287         conditional code.
62288         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62289         include <kernel-features.h>.
62290         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62291         unconditional.
62292         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62293         conditional code.
62295 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62297         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62298         slight instruction rearrangements per scrollpipe analysis.
62299         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62301 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62303         * manual/syslog.texi (syslog; vsyslog, closelog):
62304         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62305         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62307         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62308         DSOCAPS to match condition on defining it.
62310 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62312         * sysdeps/unix/sysv/linux/kernel-features.h
62313         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62315         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62316         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62318         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62319         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62321         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62322         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62324         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62325         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62327         * sysdeps/unix/sysv/linux/kernel-features.h
62328         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62329         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62330         unconditional.
62331         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62332         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62333         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62334         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62335         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62336         Make code unconditional.
62337         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62338         (__mmap64) [!__NR_mmap2]: Likewise.
62339         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62340         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62341         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62342         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62343         [__NR_mmap2]: Make code unconditional.
62344         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62345         (__mmap64) [!__NR_mmap2]: Likewise.
62347 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62349         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62351 2012-08-18  Andreas Jaeger  <aj@suse.de>
62353         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62355 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62357         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62358         * include/unistd.h (__have_sock_cloexec): Likewise.
62359         (__have_pipe2): Likewise.
62360         (__have_dup3): Likewise.
62362 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62364         [BZ #9685]
62365         * include/unistd.h (__have_pipe2): Change define into an extern int.
62366         (__have_dup3): Likewise.
62367         * socket/have_sock_cloexec.c: Include fcntl.h.
62368         (__have_pipe2): New variable.
62369         (__have_dup3): Likewise.
62371 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62373         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62375 2012-08-17  Marek Polacek  <polacek@redhat.com>
62377         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62378         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62380 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62382         * configure.in: Add AC_SUBST for sysheaders.
62383         * configure: Regenerated.
62384         * config.make.in (sysheaders): New substituted variable.
62386         * sysdeps/unix/mkfifo.c: Moved ...
62387         * sysdeps/posix/mkfifo.c: ... here.
62388         * sysdeps/unix/mkfifoat.c: Moved ...
62389         * sysdeps/posix/mkfifoat.c: ... here.
62391         * sysdeps/unix/utime.c: Moved ...
62392         * sysdeps/posix/utime.c: ... here.
62394         * sysdeps/unix/time.c: Moved ...
62395         * sysdeps/posix/time.c: ... here.
62396         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62397         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62399         * sysdeps/unix/nice.c: Moved ...
62400         * sysdeps/posix/nice.c: ... here.
62402         * sysdeps/unix/alarm.c: Moved ...
62403         * sysdeps/posix/alarm.c: ... here.
62405         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62407 2012-08-17  Jeff Law <law@redhat.com>
62409         * intl/Makefile (codeset_mo): New variable.
62410         ($(codeset_mo)): New target.
62411         (tst-codeset.out): Depend on that.  Remove explicit rule.
62412         (tst-gettext3.out, tst-gettext5.out): Likewise.
62413         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62414         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62415         * intl/tst-codeset.sh: Remove.
62416         * intl/tst-gettext3.sh: Likewise.
62417         * intl/tst-gettext5.sh: Likewise.
62419 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62421         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62422         * sysdeps/unix/syscalls.list: ... here.
62424         * sysdeps/posix/getaddrinfo.c
62425         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62426         (gaiconf_init, gaiconf_reload): Use them.
62427         [!_STATBUF_ST_NSEC]
62428         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62429         Define using time_t rather than struct timespec.
62431         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62432         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62433         Macros removed.
62434         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62435         [!NO_THREADS].
62436         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62437         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62438         Likewise.
62440         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62441         __libc_cleanup_push argument.
62443         * bits/param.h: New file.
62444         * misc/sys/param.h: New file.
62445         * include/sys/param.h: New file.
62446         * misc/Makefile (headers): Add bits/param.h.
62447         * sysdeps/generic/sys/param.h: File removed.
62448         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62449         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62450         * sysdeps/mach/hurd/bits/param.h: New file.
62451         * sysdeps/mach/hurd/sys/param.h: File removed.
62453         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62454         last change.
62456         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62457         [_IO_MTSAFE_IO].
62458         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62459         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62460         New macros.
62462         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62463         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62464         rather than -D_IO_MTSAFE_IO conditionally.
62465         * stdio-common/Makefile (CPPFLAGS): Likewise.
62466         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62467         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62468         Use $(libio-mtsafe).
62469         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62470         of -D_IO_MTSAFE_IO.
62471         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62472         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62473         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62474         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62475         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62476         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62477         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62478         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62479         (CFLAGS-fread_u_chk.c): Likewise.
62480         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62481         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62482         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62483         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62484         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62485         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62486         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62487         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62488         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62490         * libio/Makefile: Test [$(libc-reentrant) = yes]
62491         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62493         * Makeconfig
62494         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62495         * sysdeps/pthread/configure: File removed.
62496         * sysdeps/pthread/Makeconfig: New file.
62497         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62498         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62500 2012-08-16  Gary Benson  <gbenson@redhat.com>
62502         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62503         unmapping the first object in a namespace.
62505 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62507         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62508         (__internal_setnetgrent): ... this.  Add internal_function to
62509         definition.  Add libc_hidden_def.
62510         (setnetgrent): Update caller.
62511         (internal_endnetgrent): Renamed to ...
62512         (__internal_endnetgrent): ... this.  Add internal_function to
62513         definition.  Add libc_hidden_def.
62514         (endnetgrent): Update caller.
62515         (internal_getnetgrent_r): Renamed to ...
62516         (__internal_getnetgrent_r): ... this.  Add internal_function to
62517         definition.  Add libc_hidden_def.
62518         (__getnetgrent_r): Update caller.
62519         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62521 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62523         * stdlib/longlong.h: Update from GCC.
62525 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62527         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62528         on _QL, which is set by umul_ppmm but never used.
62529         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62530         variables, which are set by GMP macros but never used.
62531         * stdio-common/_itowa.c (_itowa): Likewise.
62532         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62533         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62535 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62537         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62538         struct La_sh_regs is not constant.
62539         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62540         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62541         and struct La_sparc64_regs are not constant.
62543 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62545         * sysdeps/unix/sysv/linux/kernel-features.h
62546         (__ASSUME_POSIX_TIMERS): Remove.
62547         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62548         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62549         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62550         Make code unconditional.
62551         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62552         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62553         Make code unconditional.
62554         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62555         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62556         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62557         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62558         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62559         Make code unconditional.
62560         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62561         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62562         (__libc_missing_posix_timers): Remove.
62564 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62566         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62567         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62569         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62571         * elf/dl-sym.c: Include <stdlib.h>.
62573         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62574         constants, which avoids warnings in 32-bit builds.
62576         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62577         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62579         * misc/lseek.c: File moved to ...
62580         * io/lseek.c: ... here.
62582         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62584         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62585         shifting LEN more than 31 bits at once.
62587 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62589         [BZ #14195]
62590         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62591         segmentation fault for a case of two empty input strings.
62592         * string/test-strncasecmp.c (check1): Renamed to...
62593         (bz12205): ...this.
62594         (bz14195): Add new testcase for two empty input strings and N > 0.
62595         (test_main): Call new testcase, adapt for renamed function.
62597 2012-08-15  Andreas Jaeger  <aj@suse.de>
62599         [BZ #14090]
62600         * crypt/md5test2.c: New test, based on test supplied by Serge
62601         Belyshev <belyshev@depni.sinp.msu.ru>.
62602         * crypt/Makefile (xtests): Add md5test-giant..
62603         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62605 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62607         [BZ #14090]
62608         * crypt/md5.c (md5_process_block): Don't assume the buffer
62609         length is less than 2**32.
62610         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62611         length is less than 2**64.
62613 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62615         * string/str-two-way.h: Include <sys/param.h>.
62616         (MAX): Macro removed.
62618         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62619         Move #define and #undef of memmove to just before and after
62620         including <string.h>.
62622         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62623         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62624         and after including <string.h>.  Move declarations of
62625         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62626         to before #include "string/memmove.c".
62628         * include/dirent.h: Declare __getdirentries.
62630         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62631         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62633 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62635         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62636         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62637         * sysdeps/i386/configure: Regenerated.
62638         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62639         STABS_CURRENT_FILE, and STABS_FUN.
62640         (END): Remove call to STABS_FUN_END.
62641         (STABS_CURRENT_FILE1): Delete.
62642         (STABS_CURRENT_FILE): Likewise.
62643         (STABS_FUN): Likewise.
62644         (STABS_FUN_END): Likewise.
62645         (STABS_FUN2): Likewise.
62646         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62647         * sysdeps/x86_64/configure: Regenerated.
62649 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62651         * elf/dl-open.c: Include <atomic.h>.
62652         * elf/dl-lookup.c: Likewise.
62654 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62656         * sysdeps/unix/sysv/linux/kernel-features.h
62657         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62658         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62659         unconditionally.
62660         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62661         unconditionally.
62662         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62663         condition on __ASSUME_CLONE_THREAD_FLAGS.
62665 2012-08-14  Andreas Jaeger  <aj@suse.de>
62667         * sysdeps/i386/fpu/libm-test-ulps: Update.
62669 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62671         * include/atomic.h (atomic_exchange_and_add): Split into ...
62672         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62673         New atomic macros.
62675 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62679 2012-08-13  Jeff Law <law@redhat.com>
62681         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62682         null byte in the output string.
62684 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62686         * sysdeps/unix/sysv/linux/kernel-features.h
62687         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62688         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62689         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62690         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62691         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62692         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62693         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62695 2012-08-09  Jeff Law <law@redhat.com>
62697         [BZ #13939]
62698         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62699         When avoid_arena is set, don't retry in the that arena.  Pick the
62700         next one, whatever it might be.
62701         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62702         (arena_lock): Pass in new parameter to arena_get2.
62703         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62704         arena_get2.
62705         (__libc_malloc): Unify retrying after main arena failure with
62706         __libc_memalign version.
62707         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62709 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62711         [BZ #14166]
62712         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62713         to __redirect_strstr.
62714         (__strstr_sse42): Use typeof __redirect_strstr.
62715         (__strstr_ia32): Likewise.
62716         (__libc_strstr): New prototype.
62717         (strstr): Renamed to ...
62718         (__libc_strstr): This.
62719         (strstr): New strong alias of __libc_strstr.
62720         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62721         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62722         __redirect_time.
62723         Include <time.h>.
62724         (__libc_time): New prototype.
62725         (time_ifunc): Replace time with __libc_time.
62726         (time): New strong alias and hidden definition of __libc_time.
62727         (__GI_time): Remove strong alias.
62728         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62729         Include <stddef.h>.
62730         (memmove): Redefined to __redirect_memmove.
62731         (__memmove_sse2): Use typeof __redirect_memmove.
62732         (__memmove_ssse3): Likewise.
62733         (__memmove_ssse3_back): Likewise.
62734         (__libc_memmove): New prototype.
62735         (memmove): Renamed to ...
62736         (__libc_memmove): This.
62737         (memmove): New strong alias of __libc_memmove.
62739 2012-08-08  Mark Salter  <msalter@redhat.com>
62741         * elf/elf.h
62742         (R_MN10300_TLS_GD): Define.
62743         (R_MN10300_TLS_LD): Likewise.
62744         (R_MN10300_TLS_LDO): Likewise.
62745         (R_MN10300_TLS_GOTIE): Likewise.
62746         (R_MN10300_TLS_IE): Likewise.
62747         (R_MN10300_TLS_LE): Likewise.
62748         (R_MN10300_TLS_DTPMOD): Likewise.
62749         (R_MN10300_TLS_DTPOFF): Likewise.
62750         (R_MN10300_TLS_TPOFF): Likewise.
62751         (R_MN10300_SYM_DIFF): Likewise.
62752         (R_MN10300_ALIGN): Likewise.
62753         (R_MN10300_NUM): Update.
62755 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62757         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62758         Remove.
62760 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62762         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62764         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62765         sysdeps/unix -> sysdeps/posix move.
62766         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62768 2012-08-07      Allan McRae     <allan@archlinux.org>
62770         [BZ #14303]
62771         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62772         (SUNOS_CPP): Likewise.
62773         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62774         not found.
62775         (open_input): Call CPP using execvp.
62777 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62779         * sysdeps/unix/sysv/linux/kernel-features.h
62780         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62781         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62782         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62783         (__ASSUME_WAITID_SYSCALL): Likewise.
62784         * sysdeps/unix/sysv/linux/dl-execstack.c
62785         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62786         code unconditional.
62787         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62788         conditional code.
62789         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62790         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62791         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62792         code.
62793         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62794         unconditional.
62795         [__ASSUME_WAITID_SYSCALL]: Likewise.
62796         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62798 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62800         * sysdeps/unix/closedir.c: Renamed to ...
62801         * sysdeps/posix/closedir.c: ... here.
62802         * sysdeps/unix/dirfd.c: Renamed to ...
62803         * sysdeps/posix/dirfd.c: ... here.
62804         * sysdeps/unix/dirstream.h: Renamed to ...
62805         * sysdeps/posix/dirstream.h: ... here.
62806         * sysdeps/unix/fdopendir.c: Renamed to ...
62807         * sysdeps/posix/fdopendir.c: ... here.
62808         * sysdeps/unix/opendir.c: Renamed to ...
62809         * sysdeps/posix/opendir.c: ... here.
62810         * sysdeps/unix/readdir.c: Renamed to ...
62811         * sysdeps/posix/readdir.c: ... here.
62812         * sysdeps/unix/readdir_r.c: Renamed to ...
62813         * sysdeps/posix/readdir_r.c: ... here.
62814         * sysdeps/unix/rewinddir.c: Renamed to ...
62815         * sysdeps/posix/rewinddir.c: ... here.
62816         * sysdeps/unix/seekdir.c: Renamed to ...
62817         * sysdeps/posix/seekdir.c: ... here.
62818         * sysdeps/unix/telldir.c: Renamed to ...
62819         * sysdeps/posix/telldir.c: ... here.
62820         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62821         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62822         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62823         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62825         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62826         * bits/fcntl.h: ... here.
62828         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62829         not 0.
62830         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62831         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62832         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62833         (struct flock): Move l_start, l_len to the beginning.
62834         Use __pid_t for l_pid.
62835         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62836         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62837         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62838         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62839         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62840         [__USE_LARGEFILE64] (struct flock64): New type.
62841         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62843         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62844         * bits/dirent.h: ... here.
62846         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62847         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62849 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62851         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62852         Change from 2.6.0 to 2.6.16.
62853         * sysdeps/unix/sysv/linux/configure: Regenerated.
62854         * sysdeps/unix/sysv/linux/kernel-features.h
62855         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62856         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62857         version.
62858         (__ASSUME_UTIMES): Likewise.
62859         (__ASSUME_CLONE_STOPPED): Remove.
62860         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62861         architectures, not kernel version.
62862         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62863         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62864         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62865         (__ASSUME_WAITID_SYSCALL): Likewise.
62866         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62867         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62868         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62869         refer to older versions.
62871 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62873         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62874         Define alphasort64 as an alias.
62875         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62876         Define versionsort64 as an alias.
62877         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62878         Define scandir64 as an alias.
62879         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62880         Define scandirat64 as an alias.
62881         * dirent/alphasort64.c (alphasort64):
62882         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62883         * dirent/versionsort64.c: Likewise.
62884         * dirent/scandir64.c: Likewise.
62885         * dirent/scandirat64.c: Likewise.
62886         * sysdeps/wordsize-64/alphasort.c: File removed.
62887         * sysdeps/wordsize-64/alphasort64.c: File removed.
62888         * sysdeps/wordsize-64/scandir.c: File removed.
62889         * sysdeps/wordsize-64/scandir64.c: File removed.
62890         * sysdeps/wordsize-64/scandirat.c: File removed.
62891         * sysdeps/wordsize-64/scandirat64.c: File removed.
62892         * sysdeps/wordsize-64/versionsort.c: File removed.
62893         * sysdeps/wordsize-64/versionsort64.c: File removed.
62894         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62895         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62896         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62897         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62898         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62899         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62900         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62901         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62903         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62904         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62905         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62906         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62907         [defined __arch64__ || defined __sparcv9]
62908         (__INO_T_MATCHES_INO64_T): New macro.
62909         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62910         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62911         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62912         * sysdeps/unix/sysv/linux/bits/dirent.h
62913         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62914         (_DIRENT_MATCHES_DIRENT64): New macro.
62916         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62917         Define lockf64 as an alias.
62918         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62919         Define fseeko64 as an alias.
62920         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62921         Define ftello64 as an alias.
62922         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62923         Define _IO_fgetpos64 and fgetpos64 as aliases.
62924         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62925         Define _IO_fsetpos64 and fsetpos64 as aliases.
62926         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62927         Conditionalize body on this.
62928         * libio/fseeko64.c: Likewise.
62929         * libio/ftello64.c: Likewise.
62930         * libio/iofgetpos64.c: Likewise.
62931         * libio/iofsetpos64.c: Likewise.
62932         * sysdeps/wordsize-64/lockf.c: File removed.
62933         * sysdeps/wordsize-64/lockf64.c: File removed.
62934         * sysdeps/wordsize-64/fseeko.c: File removed.
62935         * sysdeps/wordsize-64/fseeko64.c: File removed.
62936         * sysdeps/wordsize-64/ftello.c: File removed.
62937         * sysdeps/wordsize-64/ftello64.c: File removed.
62938         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62939         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62940         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62941         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62942         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62943         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62944         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62945         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62946         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62947         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62948         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62949         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62950         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62951         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62953         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62954         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62955         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62956         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62957         [defined __arch64__ || defined __sparcv9]
62958         (__OFF_T_MATCHES_OFF64_T): New macro.
62959         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62960         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62961         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62962         (__OFF_T_MATCHES_OFF64_T): New macro.
62964 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62966         * stdlib/secure-getenv.c (__secure_getenv): Replace
62967         GLIBC_2_16 with GLIBC_2_17.
62969 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62971         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62972         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62974 2012-08-03  David S. Miller  <davem@davemloft.net>
62976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62978 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62980         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62981         Remove.
62982         (__ASSUME_CORRECT_SI_PID): Likewise.
62983         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62984         (__ASSUME_TMPFS_NAME): Likewise.
62985         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62986         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62987         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62988         (HAVE_AUX_SECURE): Make definition unconditional.
62989         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62990         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62992 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62994         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62995         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62996         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62997         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62998         __eloop_threshold instead of SYMLOOP_MAX.
63000         * sysdeps/generic/eloop-threshold.h: New file.
63001         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63002         of MAXSYMLINKS.
63003         * elf/chroot_canon.c (chroot_canon): Likewise.
63005 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63007         [BZ #13717]
63008         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63009         Change to 2.6.0 everywhere.
63010         * sysdeps/unix/sysv/linux/configure: Regenerated.
63011         * sysdeps/unix/sysv/linux/kernel-features.h
63012         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63013         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63014         kernel versions.
63015         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63016         (__ASSUME_FUTEX_REQUEUE): Remove.
63017         (__ASSUME_STATFS64): Define unconditionally.
63018         (__ASSUME_AT_SECURE): Likewise.
63019         (__ASSUME_CORRECT_SI_PID): Likewise.
63020         (__ASSUME_TGKILL): Define without depending on kernel version for
63021         i386.
63022         (__ASSUME_UTIMES): Likewise.
63023         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63024         kernel version.
63025         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63026         (__ASSUME_TMPFS_NAME): Likewise.
63027         * README: Update reference to Linux kernel versions.
63029 2012-08-02  Marek Polacek  <polacek@redhat.com>
63031         [BZ# 14150]
63032         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63033         libc_cv_asm_type_prefix with %.
63034         * configure: Regenerated.
63035         * include/libc-symbols.h: Remove comment about
63036         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63037         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63038         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63039         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63040         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63041         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63042         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63043         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63044         * elf/tst-unique2mod1.c: Likewise.
63045         * elf/tst-unique1mod2.c: Likewise.
63046         * elf/tst-unique1mod1.c: Likewise.
63047         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63048         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63049         Replace ASM_TYPE_DIRECTIVE with .type.
63050         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63051         * sysdeps/i386/sysdep.h: Likewise.
63052         * sysdeps/x86_64/sysdep.h: Likewise.
63053         * sysdeps/sh/sysdep.h: Likewise.
63054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63055         Do not define ASM_TYPE_DIRECTIVE.
63056         * sysdeps/powerpc/sysdep.h: Likewise.
63057         * sysdeps/powerpc/powerpc32/sysdep.h:
63058         Replace ASM_TYPE_DIRECTIVE with .type.
63059         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63060         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63061         * sysdeps/i386/fpu/e_powf.S: Likewise.
63062         * sysdeps/i386/fpu/e_expl.S: Likewise.
63063         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63064         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63065         * sysdeps/i386/fpu/e_pow.S: Likewise.
63066         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63067         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63068         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63069         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63070         * sysdeps/i386/fpu/e_log2.S: Likewise.
63071         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63072         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63073         * sysdeps/i386/fpu/e_powl.S: Likewise.
63074         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63075         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63076         * sysdeps/i386/fpu/e_logl.S: Likewise.
63077         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63078         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63079         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63080         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63081         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63082         * sysdeps/i386/fpu/e_log.S: Likewise.
63083         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63084         * sysdeps/i386/fpu/e_logf.S: Likewise.
63085         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63086         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63087         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63088         * sysdeps/i386/fpu/e_log10.S: Likewise.
63089         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63090         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63091         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63092         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63093         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63094         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63095         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63096         * sysdeps/i386/i686/strtok.S: Likewise.
63097         * sysdeps/i386/i386-mcount.S: Likewise.
63098         * sysdeps/i386/strtok.S: Likewise.
63099         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63100         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63101         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63102         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63103         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63104         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63105         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63106         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63107         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63108         * sysdeps/x86_64/_mcount.S: Likewise.
63109         * sysdeps/x86_64/strtok.S: Likewise.
63110         * sysdeps/sh/_mcount.S: Likewise.
63112 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63114         * libio/iofopen.c: Include <fcntl.h>.
63115         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63116         (_IO_fopen64, fopen64): Define as aliases.
63117         * libio/iofopen64.c: Include <fcntl.h>.
63118         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63119         Conditionalize body on this.
63120         * sysdeps/wordsize-64/iofopen.c: File removed.
63121         * sysdeps/wordsize-64/iofopen64.c: File removed.
63123 2012-08-01  Marek Polacek  <polacek@redhat.com>
63125         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63126         Use dlfcn directly instead of a variable.
63127         (binfmt-subdir): Do not define.
63128         (dlfcn): Likewise.
63130 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63132         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63133         Remove all definitions.
63134         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63135         <kernel-features.h>.
63136         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63137         (miss_F_GETOWN_EX): Remove all definitions.
63138         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63139         macro definition.
63140         [!__ASSUME_FCNTL64]: Remove conditional code.
63141         [__ASSUME_FCNTL64]: Make code unconditional.
63142         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63143         <kernel-features.h>.
63144         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63145         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63146         (lockf64) [__NR_fcntl64]: Make code unconditional.
63147         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63149         * sysdeps/unix/sysv/linux/kernel-features.h
63150         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63151         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63152         Make code unconditional.
63153         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63154         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63156         [__NR_vfork]: Make code unconditional.
63157         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63158         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63160         [__NR_vfork]: Make code unconditional.
63161         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63162         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63164 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63166         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63167         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63169         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63170         Define mkstemp64 as an alias.
63171         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63172         Define mkstemps64 as an alias.
63173         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63174         Define mkostemp64 as an alias.
63175         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63176         Define mkostemps64 as an alias.
63177         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63178         Conditionalize body on this.
63179         * misc/mkostemp64.c: Likewise.
63180         * misc/mkostemps64.c: Likewise.
63181         * misc/mkstemps64.c: Likewise.
63182         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63183         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63184         * sysdeps/wordsize-64/mkostemp.c: File removed.
63185         * sysdeps/wordsize-64/mkstemp.c: File removed.
63186         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63187         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63188         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63189         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63191         [BZ #14138]
63192         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63193         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63194         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63195         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63197         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63198         compat_symbol macros from <shlib-compat.h> rather than the underlying
63199         default_symbol_version and symbol_version macros, so that DEFAULT
63200         lines in shlib-versions are respected.
63201         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63203 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63205         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63206         Declare with warn_unused_result.
63207         (setgid, setregid, setegid, setresgid): Likewise.
63208         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63209         Likewise.
63210         * WUR-REPORT: Remove set*id functions.
63212 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63214         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63216 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63218         [BZ #10191]
63219         * include/sys/socket.h (__libc_accept, __libc_accept4):
63220         Add attribute_hidden.
63221         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63223         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63224         use of PTR_MANGLE.
63225         * inet/getnetgrent_r.c (setup): Likewise.
63227         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63229 2012-07-31  David S. Miller  <davem@davemloft.net>
63231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63233 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63235         [BZ #13629]
63236         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63237         value between 1.0 and 2.0 and smaller part has absolute value less
63238         than 1.0.
63239         * math/s_clog10.c (__clog10): Likewise.
63240         * math/s_clog10f.c (__clog10f): Likewise.
63241         * math/s_clog10l.c (__clog10l): Likewise.
63242         * math/s_clogf.c (__clogf): Likewise.
63243         * math/s_clogl.c (__clogl): Likewise.
63244         * math/libm-test.inc (clog_test): Add more tests.
63245         (clog10_test): Likewise.
63246         * sysdeps/i386/fpu/libm-test-ulps: Update.
63247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63249 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63251         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63252         Exit with zero in case no suitable GID is found, and write a
63253         message to standard error.
63255 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63257         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63258         rather than to 1.
63259         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63260         (MAXPATHLEN): Removed.
63261         (NOGROUP, NODEV): New macros.
63262         (setbit, clrbit, isset, isclr): New macros.
63263         (howmany, roundup, powerof2): New macros.
63264         (DEV_BSIZE): New macro.
63266         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63267         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63269         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63270         definition on [!__NO_LONG_DOUBLE_MATH].
63272         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63273         PTR_MANGLE and PTR_DEMANGLE.
63275         * socket/accept4.c (accept4): Rename to __libc_accept4.
63276         Define accept4 as a weak alias.
63278         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63279         on [_DIRENT_HAVE_D_TYPE].
63280         * io/ftw.c (ftw_dir): Likewise.
63282         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63284         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63286         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63287         Use the BSD numbers rather than the arbitrary ones we had.
63288         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63289         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63290         (SIGXCPU, SIGXFSZ): New macros.
63291         (_NSIG): Now 32.
63293         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63294         initializer on [_LIBC_REENTRANT].
63296         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63297         definitions inside [_POSIX_MAPPED_FILES].
63299         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63301         * dirent/opendir.c: Include <fcntl.h>.
63303         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63304         (__libc_getspecific): Likewise.
63305         (__libc_key_create): Likewise.
63307         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63308         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63309         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63310         (tmpfile64): Define as alias.
63311         * sysdeps/wordsize-64/tmpfile.c: File removed.
63312         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63313         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63314         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63316         * stdio-common/vfscanf.c: Include <stdbool.h>.
63317         * nss/makedb.c: Likewise.
63318         * stdio-common/_i18n_number.h: Likewise.
63319         * argp/argp-help.c: Likewise.
63320         * posix/wordexp.c: Likewise.
63321         * sysdeps/posix/spawni.c: Likewise.
63322         * nss/nss_files/files-initgroups.c: Likewise.
63323         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63324         * nss/nss_files/files-initgroups.c: Likewise.
63325         * nss/nss_db/db-netgrp.c: Likewise.
63326         * nss/nss_db/db-initgroups.c: Likewise.
63327         * io/fchmodat.c: Include <sys/stat.h>.
63329         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63330         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63332         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63333         [HAVE_MMAP].
63335         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63336         Add multiple inclusion protection.
63338 2012-07-27  David S. Miller  <davem@davemloft.net>
63340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63342 2012-07-27  Gary Benson  <gbenson@redhat.com>
63344         [BZ #14298]
63345         * elf/rtld.c: Include <stap-probe.h>.
63346         (dl_main): Added static probes "init_start" and "init_complete".
63347         * elf/dl-load.c: Include <stap-probe.h>.
63348         (lose): Take new parameter "nsid".
63349         Added static probe "map_failed".
63350         (_dl_map_object_from_fd): Pass namespace id to lose.
63351         Added static probe "map_start".
63352         (open_verify): Pass namespace id to lose.
63353         * elf/dl-open.c: Include <stap-probe.h>.
63354         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63355         and "reloc_complete".
63356         * elf/dl-close.c: Include <stap-probe.h>.
63357         (_dl_close_worker): Added static probes "unmap_start" and
63358         "unmap_complete".
63359         * elf/rtld-debugger-interface.txt: New file documenting the above.
63361 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63363         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63364         rather than a string variable.
63365         * sunrpc/rpc_main.c (h_output): Likewise.
63366         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63368 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63370         * inet/check_native.c: New file.
63372 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63374         [BZ #13629]
63375         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63376         if larger part has absolute value 1.0.
63377         * math/s_clog10.c (__clog10): Likewise.
63378         * math/s_clog10f.c (__clog10f): Likewise.
63379         * math/s_clog10l.c (__clog10l): Likewise.
63380         * math/s_clogf.c (__clogf): Likewise.
63381         * math/s_clogl.c (__clogl): Likewise.
63382         * math/libm-test.inc (clog_test): Add more tests.
63383         (clog10_test): Likewise.
63384         * sysdeps/i386/fpu/libm-test-ulps: Update.
63385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63387         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63388         (pltexit): Likewise.
63389         (La_regs): Likewise.
63390         (La_retval): Likewise.
63391         (int_retval): Likewise.
63392         Update #error for removed macros to refer only to definitions in
63393         tst-audit.h.
63394         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63395         macro.
63396         (pltexit): Likewise.
63397         (La_regs): Likewise.
63398         (La_retval): Likewise.
63399         (int_retval): Likewise.
63400         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63401         macro.
63402         (pltexit): Likewise.
63403         (La_regs): Likewise.
63404         (La_retval): Likewise.
63405         (int_retval): Likewise.
63406         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63407         macro.
63408         (pltexit): Likewise.
63409         (La_regs): Likewise.
63410         (La_retval): Likewise.
63411         (int_retval): Likewise.
63412         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63413         macro.
63414         (pltexit): Likewise.
63415         (La_regs): Likewise.
63416         (La_retval): Likewise.
63417         (int_retval): Likewise.
63418         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63419         macro.
63420         (pltexit): Likewise.
63421         (La_regs): Likewise.
63422         (La_retval): Likewise.
63423         (int_retval): Likewise.
63424         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63425         macro.
63426         (pltexit): Likewise.
63427         (La_regs): Likewise.
63428         (La_retval): Likewise.
63429         (int_retval): Likewise.
63430         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63431         macro definitions in tst-audit.h.
63432         * sysdeps/i386/tst-audit.h: New file.
63433         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63434         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63435         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63436         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63437         * sysdeps/sh/tst-audit.h: Likewise.
63438         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63439         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63440         * sysdeps/x86_64/tst-audit.h: Likewise.
63442 2012-07-26  Andreas Jaeger  <aj@suse.de>
63444         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63445         ptrace.
63447         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63448         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63449         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63450         PTRACE_O_MASK.
63451         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63452         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63453         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63455         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63456         value.
63458         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63459         _sigsys.
63460         (si_call_addr, si_syscall, si_arch): Define new macro.
63461         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63462         _sigsys.
63463         (si_call_addr, si_syscall, si_arch): Define new marcro.
63464         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63465         _sigsys.
63466         (si_call_addr, si_syscall, si_arch): Define new macro.
63467         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63468         _sigsys.
63469         (si_call_addr, si_syscall, si_arch): Define new macro.
63471 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63473         [BZ #13717]
63474         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63475         Change to 2.4.21 where previously 2.4.1.
63476         * sysdeps/unix/sysv/linux/configure: Regenerated.
63477         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63478         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63479         Linux kernel version.
63480         (__ASSUME_STD_AUXV): Remove.
63481         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63482         kernel version.
63483         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63484         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63485         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63486         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63487         (__ASSUME_NETLINK_SUPPORT): Likewise.
63488         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63489         (__no_netlink_support): Remove conditional definition.
63490         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63491         Remove.
63492         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63493         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63494         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63495         (if_nameindex_ioctl): Remove.
63496         (if_nameindex_netlink): Do not handle __no_netlink_support.
63497         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63498         code.
63499         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63500         Remove conditional code.
63501         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63502         code.
63503         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63504         unconditional.
63505         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63506         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63507         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63508         Remove.
63509         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63510         [!__ASSUME_STD_AUXV]: Remove conditional code.
63511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63512         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63513         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63515         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63516         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63517         code.
63518         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63520         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63521         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63522         conditional code.
63523         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63525         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63526         code.
63527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63528         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63529         conditional code.
63530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63531         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63532         code unconditional.
63533         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63534         conditional code.
63535         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63536         unconditional.
63537         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63538         conditional code.
63539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63540         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63541         unconditional.
63542         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63543         conditional code.
63544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63545         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63546         code unconditional.
63547         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63548         conditional code.
63549         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63550         unconditional.
63551         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63552         conditional code.
63553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63554         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63555         code unconditional.
63556         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63557         conditional code.
63558         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63559         unconditional.
63560         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63561         conditional code.
63563 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63565         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63566         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63567         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63568         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63569         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63570         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63572         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63573         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63574         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63575         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63576         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63577         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63578         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63579         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63580         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63581         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63582         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63583         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63584         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63585         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63586         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63587         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63589 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63591         * Versions.def: Add GLIBC_2.17.
63592         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63593         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63594         Introduce __libc_secure_getenv.
63595         * stdlib/Versions (2.17): Add secure_getenv
63596         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63597         * stdlib/secure-getenv.c: Rename __secure_getenv to
63598         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63599         symbol __secure_getenv for GLIBC_2.0.
63600         * stdlib/tst-secure-getenv.c: New.
63601         * stdlib/Makefile (tests): Add testcase.
63602         * manual/startup.texi (Environment Access): Document
63603         secure_getenv.
63604         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63605         __libc_secure_getenv.
63606         * inet/ruserpass.c (ruserpass): Likewise.
63607         * malloc/mtrace.c (mtrace): Likewise.
63608         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63609         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63610         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63611         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63612         HAVE_SECURE_GETENV.
63613         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63614         __secure_getenv to __libc_secure_getenv.
63615         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63617         Likewise.
63618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63619         Likewise.
63620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63628 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63630         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63631         (struct La_i86_retval): Likewise.
63632         (struct La_x86_64_regs): Likewise.
63633         (struct La_x86_64_retval): Likewise.
63634         (struct La_x32_regs): Likewise.
63635         (struct La_x32_retval): Likewise.
63636         (struct La_ppc32_regs): Likewise.
63637         (struct La_ppc32_retval): Likewise.
63638         (struct La_ppc64_regs): Likewise.
63639         (struct La_ppc64_retval): Likewise.
63640         (struct La_sh_regs): Likewise.
63641         (struct La_sh_retval): Likewise.
63642         (struct La_s390_32_regs): Likewise.
63643         (struct La_s390_32_retval): Likewise.
63644         (struct La_s390_64_regs): Likewise.
63645         (struct La_s390_64_retval): Likewise.
63646         (struct La_sparc32_regs): Likewise.
63647         (struct La_sparc32_retval): Likewise.
63648         (struct La_sparc64_regs): Likewise.
63649         (struct La_sparc64_retval): Likewise.
63650         (struct audit_ifaces): Remove architecture-specific pltenter and
63651         pltexit members.
63652         * sysdeps/i386/ldsodefs.h: New file.
63653         * sysdeps/powerpc/ldsodefs.h: Likewise.
63654         * sysdeps/s390/ldsodefs.h: Likewise.
63655         * sysdeps/sh/ldsodefs.h: Likewise.
63656         * sysdeps/sparc/ldsodefs.h: Likewise.
63657         * sysdeps/x86_64/ldsodefs.h: Likewise.
63659 2012-07-25  Marek Polacek  <polacek@redhat.com>
63661         [BZ #6808]
63662         * math/libm-test.inc (yn_test): Add another test.
63663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63664         to ERANGE when the result is +-Inf.
63665         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63666         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63667         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63668         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63670 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63672         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63673         equal to 0.
63674         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63675         clock_t.
63676         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63678 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63680         * configure.in <sysdeps resolving>: Correct printing
63681         Implies_before.
63682         * configure: Regenerate.
63684 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63686         * math/w_ilogb.c: Include <limits.h>.
63687         * math/w_ilogbl.c: Likewise.
63689 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63691         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63692         va_copy.  Document allowing for unavailable va_copy only as
63693         pre-C99 compatibility.
63694         * manual/string.texi (Copying and Concatenation): Use va_copy
63695         instead of __va_copy in concat example.
63697 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63699         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63700         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63701         it if not null.
63703         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63704         with O_NOLINK passed to __file_name_lookup.
63706         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63707         with O_NOLINK passed to __file_name_lookup.
63709         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63710         negative N or less than NGIDS.
63712         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63713         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63714         enough.  Use memcpy instead of strncpy.
63716 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63718         * elf/Makefile (check-data): Remove.
63719         (localplt.data): New vpath directive.
63720         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63721         instead of $(check-data).
63722         * scripts/data/localplt-generic.data: Move to ...
63723         * sysdeps/generic/localplt.data: ... here.
63724         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63725         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63726         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63728         ... here.
63729         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63731         ... here.
63732         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63734         ... here.
63735         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63737         ... here.
63738         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63740         ... here.
63741         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63743         ... here.
63745 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63747         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63748         PPC32 and PPC64 files.
63749         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63750         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63752 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63754         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63755         __makecontext_ret to ...
63756         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63757         ... here and call exit if uc_link is NULL.  New file.
63758         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63759         __makecontext_ret.S.
63760         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63761         __makecontext_ret to ...
63762         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63763         ... here and call exit if uc_link is NULL.  New file.
63764         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63765         __makecontext_ret.S.
63767 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63769         * elf/elf.h (R_390_IRELATIVE): New definition.
63770         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63771         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63772         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63774         (elf_machine_lazy_rel): Likewise.
63775         * sysdeps/s390/dl-irel.h: New file.
63776         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63777         * sysdeps/s390/s390-64/memset.S: New asm code.
63778         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63779         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63780         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63781         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63782         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63783         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63784         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63785         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63786         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63787         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63788         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63789         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63790         * sysdeps/s390/s390-32/memset.S: New asm code.
63791         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63793 2012-07-17  Marek Polacek  <polacek@redhat.com>
63795         [BZ #14349]
63796         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63797         * sysdeps/s390/s390-64/configure.in: Likewise.
63798         * sysdeps/sparc/configure.in: Likewise.
63799         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63800         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63801         * sysdeps/i386/configure.in: Likewise.
63802         * sysdeps/x86_64/configure.in: Likewise.
63803         * sysdeps/sh/configure.in: Likewise.
63804         * sysdeps/s390/s390-32/configure: Regenerated.
63805         * sysdeps/s390/s390-64/configure: Likewise.
63806         * sysdeps/x86_64/configure: Likewise.
63807         * sysdeps/sh/configure: Likewise.
63808         * sysdeps/powerpc/powerpc64/configure: Likewise.
63809         * sysdeps/powerpc/powerpc32/configure: Likewise.
63810         * sysdeps/sparc/configure: Likwise.
63811         * sysdeps/i386/configure: Likewise.
63813         * elf/dl-open.c: Comment fixes.
63815 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63817         * Makefile [CXX] (check-data): Remove.
63818         [CXX] (c++-types.data): New vpath directive.
63819         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63820         vpath.  Do not allow for C++ type data being missing.
63821         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63822         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63823         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63824         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63825         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63826         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63827         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63829         ... here.
63830         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63832         ... here.
63833         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63835         ... here.
63836         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63838         ... here.
63839         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63841         ... here.
63842         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63844         ... here.
63845         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63847         ... here.
63848         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63851         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63852         definitions to architecture-specific files.
63853         (TLS_IE): Likewise.
63854         (TLS_LD): Likewise.
63855         (TLS_GD): Likewise.
63856         * sysdeps/i386/tls-macros.h: New file.
63857         * sysdeps/powerpc/tls-macros.h: Likewise.
63858         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63859         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63860         * sysdeps/sh/tls-macros.h: Likewise.
63861         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63862         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63863         * sysdeps/x86_64/tls-macros.h: Likewise.
63865 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63867         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63868         zero value for regular exit case.
63870         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63871         (__start_context): Preserve zero value for regular exit case.
63873 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63874             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63876         * manual/setjmp.texi (setcontext): Clarify normal process
63877         termination when uc_link is the null pointer.
63878         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63879         exit call.
63881 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63883         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63884         preprocessor.  Test for each exception mask separately.
63886 2012-07-16  Andreas Jaeger  <aj@suse.de>
63888         * po/ru.po: Update from translation team.
63890 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63892         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63893         equal to 0.
63894         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63895         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63896         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63897         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63900 2012-07-13  Andreas Jaeger  <aj@suse.de>
63902         * po/fr.po: Update from translation team.
63904 2012-07-12  Marek Polacek  <polacek@redhat.com>
63906         [BZ #14173]
63907         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63908         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63909         loop condition.
63911 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63913         [BZ #13717]
63914         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63915         Change to 2.4.1 where previously 2.4.0.
63916         * sysdeps/unix/sysv/linux/configure: Regenerated.
63917         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63918         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63919         version.
63920         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63921         (__ASSUME_AT_CLKTCK): Remove.
63922         (__ASSUME_AT_PAGESIZE): Likewise.
63923         (__ASSUME_AT_XID): Likewise.
63924         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63925         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63926         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63927         unconditionally.
63928         (HAVE_AUX_PAGESIZE): Likewise.
63929         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63930         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63931         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63933 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63935         [BZ #14307]
63936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63937         the temporary buffer used to invoke __gethostbyname2_r,
63938         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63939         host_data / struct gaih_addrtuple.
63940         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63941         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63942         header file nss/nsswitch.h.
63943         * nss/nsswitch.h (global scope): Add definition of implementation
63944         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63945         resolv/nss_dns/dns-host.c).
63947 2012-07-11  Andreas Jaeger  <aj@suse.de>
63949         * po/fr.po: Update from translation team.
63951         * po/sv.po: Update from translation team
63952         * po/fr.po: Another update from translation team.
63954 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63956         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63957         for subnormals or multiply small sinh result by itself.
63958         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63961 2012-07-11  David S. Miller  <davem@davemloft.net>
63963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63965 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63967         [BZ #14347]
63968         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63969         (INTERNAL_MARK): Shift it here.
63971 2012-07-10  Marek Polacek  <polacek@redhat.com>
63973         [BZ #14151]
63974         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63975         libc_cv_asm_global_directive with .globl.
63976         * configure: Regenerated.
63977         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63978         with .globl.
63979         * sysdeps/i386/configure: Regenerated.
63980         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63981         with .globl.
63982         * sysdeps/x86_64/configure: Regenerated.
63983         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63984         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63985         * elf/tst-unique2mod2.c: Likewise.
63986         * elf/tst-unique2mod1.c: Likewise.
63987         * elf/tst-unique1mod2.c: Likewise.
63988         * elf/tst-unique1mod1.c: Likewise.
63989         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63990         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63991         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63992         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63993         * sysdeps/mach/sysdep.h: Likewise.
63994         * sysdeps/i386/sysdep.h: Likewise.
63995         * sysdeps/i386/i386-mcount.S: Likewise.
63996         * sysdeps/x86_64/_mcount.S: Likewise.
63997         * sysdeps/x86_64/sysdep.h: Likewise.
63998         * sysdeps/sh/_mcount.S: Likewise.
63999         * sysdeps/sh/sysdep.h: Likewise.
64000         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64001         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64002         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64003         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64004         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64005         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64006         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64007         * locale/localeinfo.h: Likewise.
64008         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64009         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64011 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64013         [BZ #14336]
64014         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64015         system".
64016         * manual/message.texi (The Uniforum approach): Likewise.
64017         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64018         (glibc iconv Implementation): Likewise.
64020 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64022         [BZ #14337]
64023         * math/s_clog.c (__clog): Avoid scaling a value down where that
64024         could result in underflow.
64025         * math/s_clog10.c (__clog10): Likewise.
64026         * math/s_clog10f.c (__clog10f): Likewise.
64027         * math/s_clog10l.c (__clog10l): Likewise.
64028         * math/s_clogf.c (__clogf): Likewise.
64029         * math/s_clogl.c (__clogl): Likewise.
64030         * math/libm-test.inc (clog_test): Add more tests.
64031         (clog10_test): Likewise.
64032         * sysdeps/i386/fpu/libm-test-ulps: Update.
64033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64035 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64037         [BZ #14283]
64038         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64039         by 7 not 8 to examine high bit of fractional part.
64041         [BZ #14042]
64042         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64043         for call to __mcount_internal.
64044         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64045         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64046         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64048 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64050         [BZ #14154]
64051         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64052         approximation for values within 0x1p-13f of an odd multiple of
64053         pi/4.
64054         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64055         exception.  Add more tests.
64056         * sysdeps/i386/fpu/libm-test-ulps: Update.
64058         [BZ #6778]
64059         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64060         inputs and return -1 for them.  Do not check for +Inf in case not
64061         reachable for +Inf.
64062         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64063         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64064         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64065         and return -1 for them.  Do not check for +Inf in case not
64066         reachable for +Inf.
64067         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64068         define.
64069         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64070         and return -1 for them.  Do not check for +Inf in case not
64071         reachable for +Inf.
64072         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64073         spurious underflow.
64074         * sysdeps/i386/fpu/libm-test-ulps: Update.
64075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64077 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64079         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64081 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64083         [BZ #14157]
64084         [BZ #14331]
64085         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64086         could result in spurious underflow.  Scale down values above
64087         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64088         * math/s_csqrtf.c (__csqrtf): Likewise.
64089         * math/s_csqrtl.c (__csqrtl): Likewise.
64090         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64091         spurious underflow.
64092         * sysdeps/i386/fpu/libm-test-ulps: Update.
64093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64095 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64097         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64098         xopen-msg.sed.
64099         * catgets/xopen-msg.awk: New file.
64100         * catgets/xopen-msg.sed: Removed.
64102         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64103         po2text.sed.
64104         * intl/po2test.awk: New file.
64105         * intl/po2test.sed: Removed.
64107 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64109         [BZ #14328]
64110         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64111         or multiply small sinh result by itself.
64112         * math/s_ctanf.c (__ctanf): Likewise.
64113         * math/s_ctanh.c (__ctanh): Likewise.
64114         * math/s_ctanhf.c (__ctanhf): Likewise.
64115         * math/s_ctanhl.c (__ctanhl): Likewise.
64116         * math/s_ctanl.c (__ctanl): Likewise.
64117         * math/libm-test.inc (ctan_test_tonearest): New function.
64118         (ctan_test_towardzero): Likewise.
64119         (ctan_test_downward): Likewise.
64120         (ctan_test_upward): Likewise.
64121         (ctanh_test_tonearest): Likewise.
64122         (ctanh_test_towardzero): Likewise.
64123         (ctanh_test_downward): Likewise.
64124         (ctanh_test_upward): Likewise.
64125         (main): Call these new functions.
64126         * sysdeps/i386/fpu/libm-test-ulps: Update.
64127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64129 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64131         * .gitignore: Delete /ports entry.
64133 2012-07-03  Andreas Jaeger  <aj@suse.de>
64135         * po/bg.po: Update from translation team.
64136         * po/cs.po: Likewise.
64137         * po/de.po: Likewise.
64138         * po/hr.po: Likewise.
64139         * po/nl.pl: Likewise.
64140         * po/pl.po: Likewise.
64141         * po/vi.po: Likewise.
64143 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64145         * Makeconfig [!+link] (+link-before-libc): New variable.
64146         [!+link] (+link-after-libc): Likewise.
64147         [!+link] (+link-tests): Likewise.
64148         [!+link] (+link): Define in terms of $(+link-before-libc) and
64149         $(+link-after-libc).
64150         [!+link-static] (+link-static-before-libc): New variable.
64151         [!+link-static] (+link-static-after-libc): Likewise.
64152         [!+link-static] (+link-static-tests): Likewise.
64153         [!+link-static] (+link-static): Define in terms of
64154         $(+link-static-before-libc) and $(+link-static-after-libc).
64155         [build-shared] (link-libc-before-gnulib): New variable.
64156         [build-shared] (link-libc-tests): Likewise.
64157         [build-shared] (link-libc): Define in terms of
64158         $(link-libc-before-gnulib).
64159         [!build-shared] (link-libc-tests): New variable.
64160         (link-libc-static-tests): New variable.
64161         [!gnulib] (gnulib-arch): New variable.
64162         [!gnulib] (gnulib-tests): Likewise.
64163         [!gnulib] (static-gnulib-arch): Likewise.
64164         [!gnulib] (static-gnulib-tests): Likewise.
64165         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64166         Define with "=" instead of ":=".
64167         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64168         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64169         * Rules (binaries-all-notests): New variable.
64170         (binaries-all-tests): Likewise.
64171         (binaries-static-notests): Likewise.
64172         (binaries-static-tests): Likewise.
64173         (binaries-all): Define using $(binaries-all-notests) and
64174         $(binaries-all-tests).
64175         (binaries-static): Define using $(binaries-static-notests) and
64176         $(binaries-static-tests).
64177         (binaries-shared-tests): New variable.
64178         (binaries-shared-notests): Likewise.
64179         (binaries-shared): Remove variable.
64180         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64181         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64182         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64183         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64184         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64185         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64186         * elf/Makefile (sln-modules): New variable.
64187         (extra-objs): Add $(sln-modules:=.o).
64188         (ldconfig-modules): Add static-stubs.
64189         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64190         * elf/static-stubs.c: New file.
64192         [BZ #14283]
64193         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64194         by 7 not 8 to examine high bit of fractional part.  Use volatile
64195         variables when splitting into final array of floats if
64196         __FLT_EVAL_METHOD__ != 0.
64197         * math/libm-test.inc (cos_test): Add another test.
64198         (sin_test): Likewise.
64199         * sysdeps/i386/fpu/libm-test-ulps: Update.
64201         [BZ #14273]
64202         * math/libm-test.inc (cosh_test): Add more tests.
64204         * version.h (RELEASE): Set to "development".
64205         (VERSION): Set to "2.16.90".
64207 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64209         * NEWS: Update copyright. Remove last-updated date.
64210         Mention math library bug fixes and timezone data changes.
64211         * README: Mention GNU/Hurd, x32, and HPPA support status.
64213 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64215         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64217 2012-06-27  Andreas Jaeger  <aj@suse.de>
64219         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64221 2012-06-25  Andreas Jaeger  <aj@suse.de>
64223         * sysdeps/s390/fpu/libm-test-ulps: Update.
64225 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64226             Thomas Schwinge  <thomas@codesourcery.com>
64228         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64229         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64231         fanotify_mark.
64233 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64235         * sysdeps/mach/start.c: Remove file.
64236         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64237         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64238         * sysdeps/sh/init-first.c: Likewise.
64240         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64241         registers for frame unwinding purposes, add CFI directives.
64242         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64243         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64244         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64245         Likewise.
64247         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64248         __fortify_fail returning.
64249         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64251         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64252         sysdeps/sh/____longjmp_chk.S.
64253         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64254         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64255         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64256         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64258         * sysdeps/sh/abort-instr.h: New file.
64259         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64260         process in case exit returns.
64262         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64263         initialize the GOT register before use.
64265         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64266         calculation of ARGC > 4.
64268         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64269         meaningful names to some local labels.
64271 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64272             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64274         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64275         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64276         (__arch_compare_and_exchange_val_16_acq): Likewise.
64277         (__arch_compare_and_exchange_val_32_acq): Likewise.
64278         (atomic_exchange_and_add): Fix gUSA sequence.
64279         (atomic_add): Likewise.
64280         (atomic_add_negative): Likewise.
64281         (atomic_add_zero): Likewise.
64282         (atomic_bit_test_set): Likewise.
64284 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64286         [BZ #13579]
64287         * include/link.h (struct link_map): Add l_free_initfini.
64288         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64289         l_initfini.
64290         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64291         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64292         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64293         set.
64295 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64297         * configure.in: Use AC_LANG_SOURCE.
64298         * configure: Regenerate.
64300 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64302         * configure.in (libc_cv_localstatedir): New substituted variable.
64303         * configure: Regenerated.
64304         * config.make.in (localstatedir): New variable, substituted from
64305         libc_cv_localstatedir.
64306         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64307         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64308         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64309         * sysdeps/gnu/configure: Regenerated.
64311 2012-06-21  Jeff Law  <law@redhat.com>
64313         [BZ #14277]
64314         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64315         free.  Simplify list management for _LIBC case.
64317 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64319         [BZ #14273]
64320         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64321         Clear sign bit of 64-bit integer value before comparing against
64322         overflow value.
64324         * sysdeps/mach/configure: Regenerated.
64326 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64328         [BZ #14278]
64329         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64331 2012-06-21  Jeff Law  <law@redhat.com>
64333         [BZ #13882]
64334         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64335         uint16_t for elements in the "seen" array to avoid char overflows.
64336         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64337         * elf/dl-open.c (dl_open_worker): Likewise.
64339 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64341         * scripts/list-sources.sh: Scan PORTS for translations.
64342         * po/libc.pot: Regenerated.
64344 2012-06-21  Andreas Jaeger  <aj@suse.de>
64346         [BZ #12194]
64347         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64348         warning.
64349         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64350         * bits/byteswap-16.h (__bswap_16): Likewise.
64351         * bits/byteswap.h (__bswap_constant_16): Likewise.
64353 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64355         [BZ #14117]
64356         * sysdeps/i386/fpu_control.h: Removed.
64357         * sysdeps/x86_64/fpu_control.h: Moved to ...
64358         * sysdeps/x86/fpu_control.h: Here.
64360         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64361         (_FPU_SETCW): Likewise.
64363 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64365         [BZ #14117]
64366         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64367         * sysdeps/x86/fpu/bits/mathinline.h: This.
64368         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64370         [BZ #14050]
64371         [BZ #14117]
64372         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64373         functions if __x86_64__ is defined.
64375 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64377         * string/endian.h: Add !__ASSEMBLER__ condition for including
64378         conversion interfaces.
64380 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64382         [BZ #14241]
64383         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64384         of ABS(x) in calculating zero to negative powers other than odd
64385         integers.
64386         * math/libm-test.inc (pow_test): Add more tests.
64388 2012-06-15  Andreas Jaeger  <aj@suse.de>
64390         * manual/contrib.texi (Contributors): Update entry of Liubov
64391         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64392         Machado Filho.
64394 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64396         * string/string.h: Add __wur to GNU version of strerror_r.
64398 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64400         [BZ #14229]
64401         * string/Makefile (tests): Add tst-strtok_r.
64402         * string/tst-strtok_r.c: New file.
64403         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64404         RAX_LP/RDX_LP on SAVE_PTR.
64406 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64408         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64410 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64412         * libm_test.inc (csqrt_test): Allow more spurious underflow
64413         exceptions.
64414         (j0_test): Likewise.
64415         (j1_test): Likewise.
64416         (y0_test): Likewise.
64417         (y1_test): Likewise.
64419 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64421         * po/Makefile (libc.pot): Use UTF-8 charset.
64423 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64425         [BZ #14210]
64426         Suppress sign-conversion warning from FD_SET.
64427         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64428         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64429         not unsigned long int.
64430         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64432 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64434         [BZ #14050]
64435         [BZ #14117]
64436         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64437         __extern_always_inline instead of __extern_inline.
64438         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64439         (__signbit): Likewise.
64440         (__signbitl): Support C++ namespace.
64441         (lrintf): New inline function.
64442         (lrint): Likewise.
64443         (llrintf): Likewise.
64444         (llrint): Likewise.
64445         (fmaxf): Likewise.
64446         (fmax): Likewise.
64447         (fminf): Likewise.
64448         (fmin): Likewise.
64449         (rint): Likewise.
64450         (rintf): Likewise.
64451         (ceil): Likewise.
64452         (ceilf): Likewise.
64453         (floor): Likewise.
64454         (floorf): Likewise.
64455         (nearbyint): Likewise.
64456         (nearbyintf): Likewise.
64458 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64460         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64461         non-default versions.
64463 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64465         [BZ #14218]
64466         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64468 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64470         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64471         (FE_UPWARD, FE_DOWNWARD): Don't define.
64472         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64473         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64475         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64476         reading it.
64477         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64478         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64480 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64482         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64483         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64484         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64485         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64487 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64489         [BZ #14117]
64490         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64491         * sysdeps/i386/fpu/Implies: New file.
64492         * sysdeps/x86_64/fpu/Implies: Likewise.
64493         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64494         * sysdeps/x86/fpu/bits/fenv.h: This.
64496         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64497         __SSE_MATH__.
64499 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64501         [BZ #14134]
64502         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64503         character 0xffff that matches the last element of the
64504         conversion table.
64506 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64508         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64509         fmodl commit.
64511 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64514         values higher than 25.6283.
64516 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64518         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64519         subnormal exponent extraction and add some __builtin_expect.
64520         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64521         Fix for subnormal mantissa calculation.
64523 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64525         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64526         cpu2 is -1 and errno is not ENOSYS.
64528 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64530         [BZ #14117]
64531         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64532         * sysdeps/x86/bits/string.h: This.
64533         * sysdeps/x86_64/bits/string.h: Removed.
64535         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64536         if not compiling for x86-64, but compiling for >= i486.
64538         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64539         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64541         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64542         New macro from Linux kernel 3.4.0.
64543         (FP_XSTATE_MAGIC2): Likewise.
64544         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64545         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64546         (struct _fpx_sw_bytes): New struct.
64547         (struct _xsave_hdr): Likewise.
64548         (struct _ymmh_state): Likewise.
64549         (struct _xstate): Likewise.
64551         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64552         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64553         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64554         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64555         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64556         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64558         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64559         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64560         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64561         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64562         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64563         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64565 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64567         [BZ #13743]
64568         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64569         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64570         (sysdep_headers): Include sys/platform/ppc.h.
64571         * sysdeps/powerpc/test-gettimebase.c: Test for
64572         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64573         * manual/Makefile (appendices): Include platform.texi.
64574         * manual/contrib.texi (Contributors): Update @node pointers.
64575         * manual/maint.texi (Maintenance): Likewise.
64576         (Platform): New node.
64577         * manual/platform.texi: New file.  Document the new features.
64579 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64580             Jakub Jelinek  <jakub@redhat.com>
64582         [BZ #14188]
64583         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64584         where __builtin_expect is unavailable.
64586 2012-06-03  David S. Miller  <davem@davemloft.net>
64588         * stdlib/longlong.h: Updated from GCC.
64590 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64592         [BZ #14042]
64593         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64594         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64595         __mcount_internal.
64596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64597         (GLIBC_2.16): Likewise.
64599 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64601         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64603 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64606         (default-abi): New variable.
64607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64608         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64609         variable.
64610         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64611         Likewise.
64612         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64613         Likewise.
64614         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64615         Likewise.
64617         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64618         definition.  Document in comment.
64620 2012-06-01  David S. Miller  <davem@davemloft.net>
64622         * stdlib/longlong.h: Updated from GCC.
64624 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64626         [BZ #14117]
64627         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64628         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64629         sys/debugreg.h sys/io.h here.
64630         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64631         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64632         sys/io.h.
64633         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64634         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64635         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64636         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64637         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64638         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64640         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64641         Define only if __x86_64__ is defined.
64643 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64645         [BZ #14048]
64646         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64647         Use int64_t for variable i.
64648         * math/libm-test.inc (fmod_test): Add more tests.
64650         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64651         z computation is not scheduled after fetestexcept.
64652         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64653         Use math_force_eval instead of asm to ensure calculation scheduled
64654         before exception test.
64655         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64656         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64658 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64661         computation is not scheduled after fetestexcept.
64663 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64665         [BZ #14117]
64666         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64667         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64669 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64671         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64672         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64674 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64676         [BZ #14117]
64677         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64678         <bits/wordsize.h>.
64679         (__WCHAR_MIN): Support __WORDSIZE == 64.
64680         (__WCHAR_MAX): Likewise.
64682         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64683         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64685         [BZ #14183]
64686         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64687         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64689         [BZ #14117]
64690         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64691         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64693         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64694         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64696         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64697         Defined to 1 if __x86_64__ isn't defined.
64698         (_STAT_VER_LINUX_OLD): New.
64699         (st_atime): Remove duplicate.
64700         (st_mtime): Likewise.
64701         (st_ctime): Likewise.
64703 2012-05-31  David S. Miller  <davem@davemloft.net>
64705         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64706         entries.
64708 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64710         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64711         gen-libm-test.pl.
64713         [BZ #14132]
64714         * elf/dl-reloc.c: Include <_itoa.h>.
64715         (_dl_reloc_bad_type): Remove use of INTUSE.
64716         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64717         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64718         * stdio-common/psiginfo.c (psiginfo): Likewise.
64719         * stdio-common/psignal.c (psignal): Likewise.
64720         * string/strsignal.c (strsignal): Likewise.
64721         * include/signal.h (_sys_siglist): Declare hidden proto.
64722         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64723         INTVARDEF with libc_hidden_data_def.
64724         * stdio-common/itoa-udigits.c: Likewise.
64725         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64726         (_itoa_lower_digits_internal): Remove declaration.
64727         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64728         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64729         (_sys_sigabbrev_internal): Remove aliases.
64730         (_sys_siglist): Define hidden alias.
64732 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64735         bits/sysctl.h.
64737 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64739         [BZ #14117]
64740         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64741         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64743         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64744         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64745         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64746         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64747         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64748         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64750         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64751         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64752         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64754         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64755         with __addr.
64756         (insw): Likewise.
64757         (insl): Likewise.
64758         (outsb): Likewise.
64759         (outsw): Likewise.
64760         (outsl): Likewise.
64762         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64763         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64764         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64766         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64767         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64768         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64769         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64770         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64771         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64773         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64774         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64776         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64777         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64779         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64780         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64781         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64783         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64784         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64785         to ...
64786         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64788         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64789         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64790         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64792         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64793         for x86-64.
64794         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64796 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64798         * math/math.h (M_El): Use two more decimal places.
64799         (M_LOG2El): Likewise.
64800         (M_LOG10El): Likewise.
64801         (M_LN2l): Likewise.
64802         (M_LN10l): Likewise.
64803         (M_PIl): Likewise.
64804         (M_PI_2l): Likewise.
64805         (M_PI_4l): Likewise.
64806         (M_1_PIl): Likewise.
64807         (M_2_PIl): Likewise.
64808         (M_2_SQRTPIl): Likewise.
64809         (M_SQRT2l): Likewise.
64810         (M_SQRT1_2l): Likewise.
64812 2012-05-31  David S. Miller  <davem@davemloft.net>
64814         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64815         values between float registers.
64816         * sysdeps/sparc/sparc64/memset.S: Likewise.
64817         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64819 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64821         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64822         -D_FORTIFY_SOURCE=1.
64823         (CPPFLAGS-tst-longjmp_chk.c): Define.
64824         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64825         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64826         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64827         CFLAGS-tst-wchar-h.c.
64829 2012-05-31  Marek Polacek  <polacek@redhat.com>
64831         [BZ #14132]
64832         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64833         __endmntent_internal): Remove declaration.
64834         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64835         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64836         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64838 2012-05-30  David S. Miller  <davem@davemloft.net>
64840         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64841         (___Q_simulate_exceptions): Use real FP ops rather than writing
64842         into the %fsr.
64843         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64844         Likewise.
64846 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64848         [BZ #14117]
64849         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64850         * sysdeps/x86/bits/xtitypes.h: This.
64852         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64853         * sysdeps/x86/bits/wordsize.h: This.
64855         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64856         * sysdeps/x86/bits/huge_vall.h: This.
64858         * sysdeps/i386/bits/select.h: Removed.
64859         * sysdeps/x86_64/bits/select.h: Renamed to ...
64860         * sysdeps/x86/bits/select.h: This.
64862         * sysdeps/i386/bits/setjmp.h: Removed.
64863         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64864         * sysdeps/x86/bits/setjmp.h: This.
64866         * sysdeps/i386/bits/mathdef.h: Removed.
64867         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64868         * sysdeps/x86/bits/mathdef.h: This.
64870 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64872         [BZ #14132]
64873         * include/sys/socket.h (__connect_internal)
64874         (__libc_sa_len_internal): Remove declaration.
64875         (__connect, __libc_sa_len): Declare hidden_proto.
64876         (SA_LEN): Remove use of INTUSE.
64877         * socket/connect.c: Add libc_hidden_def.
64878         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64879         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64880         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64881         alias.
64882         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64883         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64884         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64885         of adding _internal alias.
64887 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64889         [BZ #14117]
64890         * sysdeps/i386/bits/link.h: Removed.
64891         * sysdeps/i386/bits/linkmap.h: Likewise.
64892         * sysdeps/x86_64/bits/link.h: Renamed to ...
64893         * sysdeps/x86/bits/link.h: This.
64894         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64895         * sysdeps/x86/bits/linkmap.h: This.
64897         * sysdeps/i386/bits/endian.h: Removed.
64898         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64899         * sysdeps/x86/bits/endian.h: This.
64901         * sysdeps/i386/bits/byteswap.h: Removed.
64902         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64903         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64904         * sysdeps/x86/bits/byteswap.h: This.
64905         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64906         * sysdeps/x86/bits/byteswap-16.h: This.
64907         * sysdeps/i386/Implies: Add x86.
64908         * sysdeps/x86_64/Implies: Likewise.
64910 2012-05-30  David S. Miller  <davem@davemloft.net>
64912         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64913         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64914         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64915         (FP_TRAPPING_EXCEPTIONS): Define.
64916         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64917         (FP_TRAPPING_EXCEPTIONS): Define.
64918         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64919         subnormals only when inexact has been signalled or underflow
64920         exceptions are enabled.
64921         (_FP_PACK_CANONICAL): Likewise.
64923 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64925         [BZ #14183]
64926         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64927         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64929 2012-05-30  Richard Henderson  <rth@twiddle.net>
64931         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64932         with #ifndef NOT_IN_libc.
64934         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64935         marked to avoid plt entry.
64937 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64939         [BZ #14112]
64940         * Makeconfig (default-abi): New macro.
64941         (abi-includes): Likewise.
64942         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64943         $(abi-$(default-abi)-lib-soname) for soname if defined.
64944         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64945         abi-variants.
64946         * Makefile (installed-stubs): Likewise.
64947         * include/stubs-biarch.h: Removed.
64948         * scripts/lib-names.awk: Only handle one library at a time.
64949         * scripts/soversions.awk: Remove WORDSIZE support.
64950         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64951         entries.
64952         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64953         Removed.
64954         (syscall-list-default-condition): Likewise.
64955         (syscall-list-default-condition): Likewise.
64956         (syscall-list-includes): Likewise.
64957         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64958         syscall-list-* with abi-*.  Handle undefined abi-variants.
64959         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64960         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64961         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64962         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64963         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64964         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64965         Removed.
64966         (syscall-list-32-options): Likewise.
64967         (syscall-list-32-condition): Likewise.
64968         (syscall-list-64-options): Likewise.
64969         (syscall-list-64-condition): Likewise.
64970         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64971         macro.
64972         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64973         Renamed to ...
64974         (abi-*): This.
64975         (abi-64-ld-soname): New macro.
64976         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64977         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64978         Renamed to ...
64979         (abi-*): This.
64980         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64981         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64983 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64985         * sysdeps/unix/sysv/linux/kernel-features.h
64986         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64987         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64988         include <kernel-features.h>.
64989         [!__NR_ftruncate64]: Remove conditional code.
64990         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64991         [__NR_ftruncate64]: Make code unconditional.
64992         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64993         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64994         include <kernel-features.h>.
64995         [!__NR_ftruncate64]: Remove conditional code.
64996         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64997         [__NR_ftruncate64]: Make code unconditional.
64998         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65000         include <kernel-features.h>.
65001         [!__NR_ftruncate64]: Remove conditional code.
65002         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65003         [__NR_ftruncate64]: Make code unconditional.
65004         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65006         include <kernel-features.h>.
65007         [!__NR_ftruncate64]: Remove conditional code.
65008         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65009         [__NR_ftruncate64]: Make code unconditional.
65010         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65012         * configure.in (libc_cv_fpie): Weaken to a compile test using
65013         LIBC_TRY_CC_OPTION.
65014         * configure: Regenerated.
65016 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65022         Refreshed.
65023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65029         Refreshed.
65031 2012-05-27  David S. Miller  <davem@davemloft.net>
65033         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65034         (___Q_zero): New.
65035         (__Q_simulate_exceptions): Return void.  Change to simulate
65036         exceptions by writing into the %fsr.
65037         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65038         (__Qp_handle_exceptions): Likewise.
65039         (numbers): Delete.
65040         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65041         __Qp_handle_exceptions.
65042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65043         __Qp_handle_exceptions.
65044         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65045         as unused and give dummy FP_RND_NEAREST initializer.
65046         (FP_INHIBIT_RESULTS): Define.
65047         (___Q_simulate_exceptions): Update declaration.
65048         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65049         formatting.
65050         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65051         as unused and give dummy FP_RND_NEAREST initializer.
65052         (__Qp_handle_exceptions): Update declaration.
65053         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65054         formatting.
65056 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65058         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65059         the temporary FPU control word.
65060         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65061         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65062         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65063         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65064         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65065         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65066         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65067         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65068         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65069         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65070         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65072 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65074         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65075         fields.
65077 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65079         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65080         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65081         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65082         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65083         Likewise.
65084         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65085         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65086         Likewise.
65088 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65090         * po/h.po: Update from translation team.
65092 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65094         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65096         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65097         handling of denormals.
65098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65099         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65100         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65101         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65102         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65105         Likewise.
65107 2012-05-26  Marek Polacek  <polacek@redhat.com>
65109         [BZ #14152]
65110         * math/libm-test.inc (fma_test): Don't always expect underflow
65111         exception.
65113 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65115         [BZ #12416]
65116         * elf/tst-execstack.c: Include stackinfo.h.
65117         (do_test): Adjust test case to ensure that pthread_getattr_np
65118         behaviour remains the same after marking stack executable.
65120 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65122         * sysdeps/unix/sysv/linux/kernel-features.h
65123         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65124         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65125         kernel-features.h.
65126         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65127         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65128         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65129         kernel-features.h.
65130         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65131         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65133 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65135         * configure.in: Define the default includes to being none.
65136         * configure: Regenerated.
65138 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65140         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65141         * sysdeps/x86_64/setjmp.S: Likewise.
65142         * sysdeps/i386/bsd-setjmp.S: Likewise.
65143         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65144         * sysdeps/i386/setjmp.S: Likewise.
65145         * sysdeps/i386/__longjmp.S: Likewise.
65146         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65147         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65149         * include/stap-probe.h: New file.
65150         * configure.in: Handle --enable-systemtap.
65151         * configure: Regenerated.
65152         * config.h.in (USE_STAP_PROBE): New #undef.
65153         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65154         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65155         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65157 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65159         [BZ #13717]
65160         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65161         to 2.4.0 where earlier.
65162         * sysdeps/unix/sysv/linux/configure: Regenerated.
65163         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65164         <kernel-features.h>.
65165         [__ASSUME_32BITUIDS]: Make code unconditional.
65166         [!__ASSUME_32BITUIDS]: Remove conditional code.
65167         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65168         <kernel-features.h>.
65169         [__ASSUME_32BITUIDS]: Make code unconditional.
65170         [!__ASSUME_32BITUIDS]: Remove conditional code.
65171         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65172         [__ASSUME_32BITUIDS]: Make code unconditional.
65173         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65174         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65175         <kernel-features.h>.
65176         [__ASSUME_32BITUIDS]: Make code unconditional.
65177         [!__ASSUME_32BITUIDS]: Remove conditional code.
65178         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65179         <kernel-features.h>.
65180         [__ASSUME_32BITUIDS]: Make code unconditional.
65181         [!__ASSUME_32BITUIDS]: Remove conditional code.
65182         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65183         <kernel-features.h>.
65184         [__ASSUME_32BITUIDS]: Make code unconditional.
65185         [!__ASSUME_32BITUIDS]: Remove conditional code.
65186         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65187         <kernel-features.h>.
65188         [__ASSUME_32BITUIDS]: Make code unconditional.
65189         [!__ASSUME_32BITUIDS]: Remove conditional code.
65190         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65191         <kernel-features.h>.
65192         [__ASSUME_32BITUIDS]: Make code unconditional.
65193         [!__ASSUME_32BITUIDS]: Remove conditional code.
65194         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65195         <kernel-features.h>.
65196         [__ASSUME_32BITUIDS]: Make code unconditional.
65197         [!__ASSUME_32BITUIDS]: Remove conditional code.
65198         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65199         <kernel-features.h>.
65200         [__ASSUME_32BITUIDS]: Make code unconditional.
65201         [!__ASSUME_32BITUIDS]: Remove conditional code.
65202         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65203         <kernel-features.h>.
65204         [__ASSUME_32BITUIDS]: Make code unconditional.
65205         [!__ASSUME_32BITUIDS]: Remove conditional code.
65206         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65207         <kernel-features.h>.
65208         [__ASSUME_32BITUIDS]: Make code unconditional.
65209         [!__ASSUME_32BITUIDS]: Remove conditional code.
65210         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65211         <kernel-features.h>.
65212         [__ASSUME_32BITUIDS]: Make code unconditional.
65213         [!__ASSUME_32BITUIDS]: Remove conditional code.
65214         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65215         <kernel-features.h>.
65216         [__NR_setresgid] (__setresgid): Do not declare.
65217         [__ASSUME_32BITUIDS]: Make code unconditional.
65218         [!__ASSUME_32BITUIDS]: Remove conditional code.
65219         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65220         <kernel-features.h>.
65221         [__NR_setresuid] (__setresuid): Do not declare.
65222         [__ASSUME_32BITUIDS]: Make code unconditional.
65223         [!__ASSUME_32BITUIDS]: Remove conditional code.
65224         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65225         <kernel-features.h>.
65226         [__ASSUME_32BITUIDS]: Make code unconditional.
65227         [!__ASSUME_32BITUIDS]: Remove conditional code.
65228         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65229         <kernel-features.h>.
65230         [__ASSUME_32BITUIDS]: Make code unconditional.
65231         [!__ASSUME_32BITUIDS]: Remove conditional code.
65232         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65233         <kernel-features.h>.
65234         [__ASSUME_32BITUIDS]: Make code unconditional.
65235         [!__ASSUME_32BITUIDS]: Remove conditional code.
65236         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65237         <kernel-features.h>.
65238         [__ASSUME_32BITUIDS]: Make code unconditional.
65239         [!__ASSUME_32BITUIDS]: Remove conditional code.
65240         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65241         <kernel-features.h>.
65242         [__ASSUME_32BITUIDS]: Make code unconditional.
65243         [!__ASSUME_32BITUIDS]: Remove conditional code.
65244         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65245         <kernel-features.h>.
65246         [__ASSUME_32BITUIDS]: Make code unconditional.
65247         [!__ASSUME_32BITUIDS]: Remove conditional code.
65248         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65249         <kernel-features.h>.
65250         [__ASSUME_32BITUIDS]: Make code unconditional.
65251         [!__ASSUME_32BITUIDS]: Remove conditional code.
65252         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65253         <kernel-features.h>.
65254         [__ASSUME_32BITUIDS]: Make code unconditional.
65255         [!__ASSUME_32BITUIDS]: Remove conditional code.
65256         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65257         <kernel-features.h>.
65258         [__ASSUME_32BITUIDS]: Make code unconditional.
65259         [!__ASSUME_32BITUIDS]: Remove conditional code.
65260         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65261         <kernel-features.h>.
65262         [__ASSUME_32BITUIDS]: Make code unconditional.
65263         [!__ASSUME_32BITUIDS]: Remove conditional code.
65264         * sysdeps/unix/sysv/linux/kernel-features.h
65265         (__ASSUME_SETRESUID_SYSCALL): Remove.
65266         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65267         (__ASSUME_32BITUIDS): Likewise.
65268         (__ASSUME_LDT_WORKS): Likewise.
65269         (__ASSUME_O_DIRECTORY): Likewise.
65270         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65271         architecture but not kernel version.
65272         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65273         (__ASSUME_MMAP2_SYSCALL): Likewise.
65274         (__ASSUME_STAT64_SYSCALL): Likewise.
65275         (__ASSUME_IPC64): Likewise.
65276         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65277         <kernel-features.h>.
65278         [__ASSUME_32BITUIDS]: Make code unconditional.
65279         [!__ASSUME_32BITUIDS]: Remove conditional code.
65280         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65281         <kernel-features.h>.
65282         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65283         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65284         132096]: Remove conditional code.
65285         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65286         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65287         <kernel-features.h>.
65288         [__ASSUME_32BITUIDS]: Make code unconditional.
65289         [!__ASSUME_32BITUIDS]: Remove conditional code.
65290         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65291         <kernel-features.h>.
65292         [__ASSUME_32BITUIDS]: Make code unconditional.
65293         [!__ASSUME_32BITUIDS]: Remove conditional code.
65294         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65295         <kernel-features.h>.
65296         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65297         unconditional.
65298         (__setresgid): Do not declare.
65299         [__ASSUME_32BITUIDS]: Make code unconditional.
65300         [!__ASSUME_32BITUIDS]: Remove conditional code.
65301         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65302         <kernel-features.h>.
65303         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65304         unconditional.
65305         (__setresuid): Do not declare.
65306         [__ASSUME_32BITUIDS]: Make code unconditional.
65307         [!__ASSUME_32BITUIDS]: Remove conditional code.
65308         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65309         <kernel-features.h>.
65310         [__ASSUME_32BITUIDS]: Make code unconditional.
65311         [!__ASSUME_32BITUIDS]: Remove conditional code.
65312         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65313         <kernel-features.h>.
65314         [__ASSUME_32BITUIDS]: Make code unconditional.
65315         [!__ASSUME_32BITUIDS]: Remove conditional code.
65317 2012-05-25  Richard Henderson  <rth@twiddle.net>
65319         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65320         dl_hwcap to ifunc resolver.
65321         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65322         elf_ifunc_invoke.
65323         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65324         dl_hwcap to ifunc resolver.
65325         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65327 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65329         [BZ #14153]
65330         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65331         for |x| <= 2**-26, not 2**-57.
65332         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65333         exception.
65335 2012-05-24  Jeff Law  <law@redhat.com>
65337         * stdio-common/Makefile (tests): Add bug25.
65338         * stdio-common/bug25.c: New test.
65340 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65342         [BZ #13576]
65343         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65344         multiple of MALLOC_ALIGNMENT in size.
65345         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65347 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65349         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65350         Require >= 256.
65351         (FILENAME_MAX): Use macro-int-constant.
65352         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65353         (_IOFBF): Use macro-int-constant.
65354         (_IOLBF): Likewise.
65355         (_IONBF): Likewise.
65356         (SEEK_CUR): Likewise.
65357         (SEEK_END): Likewise.
65358         (SEEK_SET): Likewise.
65359         (TMP_MAX): Likewise.
65360         (EOF): Use macro-int-constant.  Require < 0.
65361         (NULL): Use macro-constant.  Require == 0.
65362         (stdin): Require type to be FILE *.
65363         (stdout): Likewise.
65364         (stderr): Likewise.
65365         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65366         macro-int-constant.
65367         (EXIT_SUCCESS): Likewise.
65368         (NULL): Use macro-constant.  Require == 0.
65369         (RAND_MAX): Use macro-int-constant.
65370         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65371         [C99-based standards] (strtof): Require function.
65372         [C99-based standards] (strtold): Likewise.
65373         [C99-based standards] (strtoll): Likewise.
65374         [C99-based standards] (strtoull): Likewise.
65375         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65376         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65377         [ISO || ISO99 || ISO11] (math.h): Likewise.
65378         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65379         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65380         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65382 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65384         [BZ #14132]
65385         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65386         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65387         * intl/dgettext.c (DCGETTEXT): Likewise.
65388         * intl/gettext.c (DCGETTEXT): Likewise.
65389         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65390         * posix/regex_internal.h (gettext): Likewise.
65391         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65392         Remove declaration.
65393         * include/argz.h (__argz_count_internal)
65394         (__argz_stringify_internal): Remove declaration.
65395         (__argz_count, __argz_stringify): Declare hidden proto.
65396         * intl/dcgettext.c: Remove use of INTDEF.
65397         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65398         * string/argz-stringify.c: Likewise.
65399         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65400         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65401         Declare hidden proto.
65402         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65403         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65404         Declare hidden proto.
65405         * include/stdio.h (__asprintf_internal): Don't declare.
65406         (__asprintf): Don't define as macro.  Declare hidden proto.
65407         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65408         (__fsetlocking): Declare hidden proto.
65409         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65410         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65411         hidden proto.
65412         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65413         (_IO_setlinebuf): Remove use of INTUSE.
65414         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65415         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65416         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65417         Remove declaration.
65418         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65419         (_IO_do_flush): Remove use of INTUSE.
65420         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65421         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65422         (_IO_adjust_column, _IO_least_wmarker)
65423         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65424         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65425         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65426         (_IO_default_doallocate, _IO_wdefault_doallocate)
65427         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65428         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65429         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65430         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65431         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65432         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65433         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65434         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65435         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65436         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65437         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65438         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65439         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65440         proto.
65441         (_IO_flush_all_internal, _IO_adjust_column_internal)
65442         (_IO_default_uflow_internal, _IO_default_finish_internal)
65443         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65444         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65445         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65446         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65447         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65448         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65449         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65450         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65451         (_IO_file_close_internal, _IO_file_close_it_internal)
65452         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65453         (_IO_file_init_internal, _IO_file_attach_internal)
65454         (_IO_file_fopen_internal, _IO_file_read_internal)
65455         (_IO_file_sync_internal, _IO_file_seek_internal)
65456         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65457         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65458         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65459         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65460         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65461         (_IO_list_all_internal, _IO_link_in_internal)
65462         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65463         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65464         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65465         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65466         (_IO_do_write_internal, _IO_padn_internal)
65467         (_IO_getline_info_internal, _IO_getline_internal)
65468         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65469         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65470         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65471         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65472         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65473         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65474         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65475         with libc_hidden_ver, remove use of INTUSE.
65476         * libio/genops.c: Likewise.
65477         * libio/freopen.c: Likewise.
65478         * libio/freopen64.c: Likewise.
65479         * libio/iofclose.c: Likewise.
65480         * libio/iofdopen.c: Likewise.
65481         * libio/iofflush.c: Likewise.
65482         * libio/iofflush_u.c: Likewise.
65483         * libio/iofgets.c: Likewise.
65484         * libio/iofgets_u.c: Likewise.
65485         * libio/iofopen.c: Likewise.
65486         * libio/iofopncook.c: Likewise.
65487         * libio/iofread.c: Likewise.
65488         * libio/iofread_u.c: Likewise.
65489         * libio/ioftell.c: Likewise.
65490         * libio/iofwrite.c: Likewise.
65491         * libio/iogetline.c: Likewise.
65492         * libio/iogets.c: Likewise.
65493         * libio/iogetwline.c: Likewise.
65494         * libio/iopadn.c: Likewise.
65495         * libio/iopopen.c: Likewise.
65496         * libio/ioseekoff.c: Likewise.
65497         * libio/ioseekpos.c: Likewise.
65498         * libio/iosetbuffer.c: Likewise.
65499         * libio/iosetvbuf.c: Likewise.
65500         * libio/ioungetc.c: Likewise.
65501         * libio/ioungetwc.c: Likewise.
65502         * libio/iovdprintf.c: Likewise.
65503         * libio/iovsprintf.c: Likewise.
65504         * libio/iovsscanf.c: Likewise.
65505         * libio/memstream.c: Likewise.
65506         * libio/obprintf.c: Likewise.
65507         * libio/oldfileops.c: Likewise.
65508         * libio/oldiofclose.c: Likewise.
65509         * libio/oldiofdopen.c: Likewise.
65510         * libio/oldiofopen.c: Likewise.
65511         * libio/oldiopopen.c: Likewise.
65512         * libio/oldstdfiles.c: Likewise.
65513         * libio/putc.c: Likewise.
65514         * libio/setbuf.c: Likewise.
65515         * libio/setlinebuf.c: Likewise.
65516         * libio/stdfiles.c: Likewise.
65517         * libio/strops.c: Likewise.
65518         * libio/vasprintf.c: Likewise.
65519         * libio/vscanf.c: Likewise.
65520         * libio/vsnprintf.c: Likewise.
65521         * libio/vswprintf.c: Likewise.
65522         * libio/wfiledoalloc.c: Likewise.
65523         * libio/wfileops.c: Likewise.
65524         * libio/wgenops.c: Likewise.
65525         * libio/wmemstream.c: Likewise.
65526         * libio/wstrops.c: Likewise.
65527         * libio/__fpurge.c: Likewise.
65528         * libio/__fsetlocking.c: Likewise.
65529         * assert/assert.c: Likewise.
65530         * debug/fgets_chk.c: Likewise.
65531         * debug/fgets_u_chk.c: Likewise.
65532         * debug/fread_chk.c: Likewise.
65533         * debug/fread_u_chk.c: Likewise.
65534         * debug/gets_chk.c: Likewise.
65535         * debug/obprintf_chk.c: Likewise.
65536         * debug/vasprintf_chk.c: Likewise.
65537         * debug/vdprintf_chk.c: Likewise.
65538         * debug/vsnprintf_chk.c: Likewise.
65539         * debug/vsprintf_chk.c: Likewise.
65540         * malloc/mtrace.c: Likewise.
65541         * misc/error.c: Likewise.
65542         * misc/syslog.c: Likewise.
65543         * stdio-common/asprintf.c: Likewise.
65544         * stdio-common/fxprintf.c: Likewise.
65545         * stdio-common/getw.c: Likewise.
65546         * stdio-common/isoc99_fscanf.c: Likewise.
65547         * stdio-common/isoc99_scanf.c: Likewise.
65548         * stdio-common/isoc99_vfscanf.c: Likewise.
65549         * stdio-common/isoc99_vscanf.c: Likewise.
65550         * stdio-common/isoc99_vsscanf.c: Likewise.
65551         * stdio-common/printf-prs.c: Likewise.
65552         * stdio-common/printf_fp.c: Likewise.
65553         * stdio-common/printf_fphex.c: Likewise.
65554         * stdio-common/printf_size.c: Likewise.
65555         * stdio-common/putw.c: Likewise.
65556         * stdio-common/scanf.c: Likewise.
65557         * stdio-common/sprintf.c: Likewise.
65558         * stdio-common/tmpfile.c: Likewise.
65559         * stdio-common/vfprintf.c: Likewise.
65560         * stdio-common/vfscanf.c: Likewise.
65561         * stdlib/strfmon_l.c: Likewise.
65562         * sunrpc/openchild.c: Likewise.
65563         * sunrpc/xdr_stdio.c: Likewise.
65564         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65565         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65567 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65569         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65571         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65572         in the third column, to generate for the shared library an IFUNC
65573         that uses _dl_vdso_vsym.
65574         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65575         * Makeconfig (object-suffixes-noshared): New variable.
65577         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65578         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65579         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65580         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65582         [BZ #14132]
65583         * include/sys/time.h (__gettimeofday): Remove macro.
65584         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65585         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65586         Remove INTDEF.
65587         (__gettimeofday): Add libc_hidden_def.
65588         (gettimeofday): Add libc_hidden_weak.
65589         * sysdeps/mach/gettimeofday.c: Likewise.
65590         * sysdeps/posix/gettimeofday.c: Likewise.
65591         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65592         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65593         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65594         (__gettimeofday_internal): Remove strong_alias.
65595         (__gettimeofday): Add libc_hidden_def.
65596         (gettimeofday): Add libc_hidden_weak.
65597         * sysdeps/unix/syscalls.list (gettimeofday):
65598         Remove __gettimeofday_internal alias.
65600 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65601             H.J. Lu  <hongjiu.lu@intel.com>
65603         [BZ #12495]
65604         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65605         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65606         (largebin_index_32_big): New.
65607         (largebin_index): Use it for 16-byte alignment.
65608         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65609         correction with front_misalign.
65611 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65615         Likewise.
65616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65617         Likewise.
65618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65619         Likewise.
65620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65621         Likewise.
65622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65623         Likewise.
65624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65625         Likewise.
65626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65627         Likewise.
65628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65629         Likewise.
65630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65631         Likewise.
65632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65633         Likewise.
65634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65635         Likewise.
65636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65637         Likewise.
65639         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65640         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65642 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65644         [BZ #10846]
65645         [BZ #14036]
65646         * math/libm-test.inc (exp_test): Add test from bug 14036.
65647         (pow_test): Add test from bug 10846.
65649         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65650         and other flags.
65651         (special_function): Do not include flags in test name.
65652         (parse_args): Likewise.
65653         * sysdeps/i386/fpu/libm-test-ulps: Update.
65654         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65655         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65656         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65659         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65660         exceptions.
65661         * math/libm-test.inc ("Philosophy"): Update comment about
65662         exception testing.
65663         (UNDERFLOW_EXCEPTION): New macro.
65664         (UNDERFLOW_EXCEPTION_OK): Likewise.
65665         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65666         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65667         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65668         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65669         (INVALID_EXCEPTION_OK): Update value.
65670         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65671         (OVERFLOW_EXCEPTION_OK): Likewise.
65672         (IGNORE_ZERO_INF_SIGN): Likewise.
65673         (test_exceptions): Handle underflow exceptions.
65674         (acos_test): Update for underflow exception expectations.
65675         (cexp_test): Likewise.
65676         (clog_test): Likewise.
65677         (clog10_test): Likewise.
65678         (csqrt_test): Likewise.
65679         (ctan_test): Likewise.
65680         (ctanh_test): Likewise.
65681         (exp_test): Likewise.
65682         (exp10_test): Likewise.
65683         (exp2_test): Likewise.
65684         (expm1_test): Likewise.
65685         (fma_test): Likewise.
65686         (j0_test): Likewise.
65687         (jn_test): Likewise.
65688         (nexttoward_test): Likewise.
65689         (pow_test): Likewise.
65690         (scalbn_test): Likewise.
65691         (scalbln_test): Likewise.
65692         (tan_test): Likewise.
65693         (y1_test): Likewise.
65694         * sysdeps/i386/fpu/libm-test-ulps: Update.
65695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65697 2012-05-23  David S. Miller  <davem@davemloft.net>
65699         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65700         (__libc_sigaction): Remove unused local variables.
65702 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65704         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65706 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65708         mktime: avoid signed integer overflow
65709         * time/mktime.c (__mktime_internal): Do not mishandle the case
65710         where diff == INT_MIN.
65712         mktime: simplify computation of average
65713         * time/mktime.c (ranged_convert): Use new time_t_avg function
65714         instead of rolling our own (probably-slower) code.
65716         mktime: do not assume signed right shift propagates sign bit
65717         * time/mktime.c (isdst_differ): New static function.
65718         (__mktime_internal): No need to normalize tm_isdst now.
65719         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65720         tm_isdst values.
65722         mktime: merge another wrapv change from gnulib
65723         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65724         from some compilers.
65726         mktime: remove incorrect attempt at unusual arithmetics
65727         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65728         The code didn't really work on such machines anyway.
65729         (TYPE_MINIMUM): Assume two's complement.
65730         (twos_complement_arithmetic): Verify that long_int and time_t
65731         are two's complement (or unsigned, in the latter case).
65733         mktime: check signed shifts on long_int and time_t, too
65734         * time/mktime.c (SHR): Check that shifts work as desired
65735         on the types long_int and time_t too, as SHR is used on
65736         such types.
65738         mktime: do not assume 'long' is wide enough
65739         * time/mktime.c (verify): Move decl up.
65740         (long_int): New type.
65741         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65742         to remove assumption in the code that 'long' is wide enough to
65743         store year values.  This assumption is not true on x32 and on
65744         some non-glibc platforms.
65746         mktime: merge wrapv change from gnulib
65747         * time/mktime.c (WRAPV): New macro.
65748         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65749         (guess_time_tm, __mktime_internal): Do not assume that signed
65750         integer overflow wraps around; modern compilers generate code
65751         where this assumption is no longer valid.
65753 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65755         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65756         Replace "jmp L(pseudo_end)" with "ret".
65757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65758         Likewise.
65760 2012-05-23  Andreas Jaeger  <aj@suse.de>
65762         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65763         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65765 2012-05-23  Andreas Jaeger  <aj@suse.de>
65766             Maximilian Attems  <max@stro.at>
65768         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65769         New macros.
65771 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65773         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65774         code so that pseudo_end is just ret and the stack pointer is
65775         correct also for static library in error case.
65777 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65779         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65780         move to syscalls.list.
65781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65786         * manual/install.texi (Running make install): Do not mention Linux
65787         kernel version for which pt_chown is not needed.
65788         (Linux): Do not mention problems with nscd with 2.0 kernels.
65789         * INSTALL: Regenerated.
65791 2012-05-23  Andreas Jaeger  <aj@suse.de>
65793         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65794         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65795         macro.
65796         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65797         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65798         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65799         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65800         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65801         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65802         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65803         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65804         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65805         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65806         * sysdeps/unix/sysv/linux/bits/in.h
65807         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65809 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65811         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65812         (PREPARE_VERSION): Just use assert instead, it will be elided
65813         under [NDEBUG] anyway.
65815 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65817         * sysdeps/unix/sysv/linux/Makefile: Include
65818         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65819         (sysdep_routines): Remove sysctl.
65820         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65821         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65822         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65823         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65824         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65826 2012-05-22  Andreas Jaeger  <aj@suse.de>
65828         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65829         that pseudo_end is just ret and the stack pointer is correct also
65830         for static library in error case.
65832 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65834         [BZ #14122]
65835         * nss/nsswitch.c (defconfig_entries): New variable.
65836         (__nss_database_lookup): Don't leak defconfig entries.
65837         (nss_parse_service_list): Don't leak on error paths.
65838         (free_database_entries): New function.
65839         (free_defconfig): New function.
65840         (free_mem): Move common code to free_database_entries.
65842 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65844         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65845         Add arch_prctl.
65846         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65848         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65849         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65851         New macro.
65852         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65853         (INTERNAL_SYSCALL_TYPES): Likewise.
65854         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65855         (LOAD_REGS_TYPES_[1-6]): Likewise.
65856         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65857         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65859 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65861         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65862         copysignl for GLIBC_2_0.
65863         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65864         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65865         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65866         logbl for GLIBC_2_0.
65867         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65868         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65870 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65872         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65873         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65875         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65876         Use "neg %eax".
65878         * time/mktime.c: Update copyright years.
65880 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65882         mktime: merge comment-quoting-style change from gnulib
65883         * time/mktime.c: Quote 'like this' in comments.
65884         The GNU coding standards suggest that we no longer quote `like this',
65885         as "`" and "'" are typically rendered asymmetrically nowadays.
65886         The typical gnulib style is to quote 'like this' when quoting
65887         code, and "like this" when quoting English.
65889         * time/mktime.c (compile-command): Add "-I.".
65891         mktime: merge mktime-internal.h change from gnulib
65892         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65894         mktime: merge time_r change from gnulib
65895         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65897         mktime: merge DEBUG change from gnulib
65898         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65899         case system <time.h> has a #define.
65901         mktime: merge <sys/types.h> change from gnulib
65902         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65903         since <time.t> is now guaranteed to define time_t.
65905         mktime: merge HAVE_CONFIG_H change from gnulib
65906         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65908 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65910         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65911         Use "neg %eax".
65913         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65914         __rlim_t cast.
65915         (struct rusage): Use anonymous union to pad each field to
65916         __syscall_slong_t.
65918 2012-05-21  David S. Miller  <davem@davemloft.net>
65920         * Makefules (o-iterator): Remove .s cases.
65921         (compile-command.s): Delete.
65922         (COMPILE.s): Delete.
65923         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65925 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65927         * configure.in (libc_cv_predef_stack_protector): Only consider
65928         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65929         * configure: Regenerated.
65931 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65934         New macro.  Use R*LP on int and pointer.
65935         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65936         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65937         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65938         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65940         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65941         [__WORDSIZE_TIME64_COMPAT32] instead of
65942         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65943         (struct utmp): Likewise.
65944         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65945         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65946         Renamed to ...
65947         (__WORDSIZE_TIME64_COMPAT32): This.
65948         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65949         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65950         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65951         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65952         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65953         (__WORDSIZE_TIME64_COMPAT32): New macro.
65955 2012-05-21  Andreas Jaeger  <aj@suse.de>
65957         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65958         only if [SHARED]. Add prototype for __wcschr_ia32.
65960 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65962         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65963         of %rbp unmolested in the jmp_buf while mangling the low bits.
65964         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65965         unmolested high bits of %rbp while demangling the low bits.
65966         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65968 2012-05-21  Andreas Jaeger  <aj@suse.de>
65970         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65971         * sunrpc/svc_simple.c: Use it for registerrpc.
65972         * sunrpc/xcrypt.c: Use it for passwd2des.
65974         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65976 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65978         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65979         Don't define if [__SYSCALL_WORDSIZE != 32].
65980         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65981         New macro.
65983 2012-05-21  Bruno Haible  <bruno@clisp.org>
65984             Andreas Jaeger  <aj@suse.de>
65986         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65987         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65988         inptr and inend for must_buffer_ch.
65989         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65990         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65991         * stdio-common/Makefile (tests): Remove bug15.
65992         (bug15-ENV): Remove macro.
65993         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65994         anymore.
65996 2012-05-19  Andreas Jaeger  <aj@suse.de>
65997             Roland McGrath  <roland@hack.frob.com>
65999         * manual/contrib.texi: Completely rewritten. It contains now an
66000         alphabetical list of contributors and their contributions.
66002 2012-05-21  Richard Henderson  <rth@twiddle.net>
66004         * misc/getauxval.c (__getauxval): Use unsigned long int.
66005         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66006         (getauxval): Use unsigned long int.
66008 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66010         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66012 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66014         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66015         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66016         __alignof__ (long double).
66018 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66022 2012-05-20  Richard Henderson  <rth@twiddle.net>
66024         * misc/getauxval.c: New file.
66025         * misc/sys/auxv.h: New file.
66026         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66027         (routines): Add getauxval.
66028         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66029         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66030         * elf/dl-sysdep.c (_dl_auxv): Remove.
66031         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66032         * elf/dl-support.c (_dl_auxv): New variable.
66033         (_dl_aux_init): Initialize it.
66034         * manual/startup.texi (Auxiliary Vector): New node.
66035         * sysdeps/generic/bits/hwcap.h: New file.
66036         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66037         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66038         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66039         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66040         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66041         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66043         Update.
66044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66047         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66053 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66057 2012-05-19  David S. Miller  <davem@davemloft.net>
66059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66061 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66063         [BZ #14123]
66064         * math/s_ccosh.c: Include <float.h>
66065         (__ccosh): Avoid internal overflow calculating sinh and cosh
66066         values before multiplying by sin and cos values.
66067         * math/s_ccoshf.c: Likewise.
66068         * math/s_ccoshl.c: Likewise.
66069         * math/s_csin.c: Likewise.
66070         * math/s_csinf.c: Likewise.
66071         * math/s_csinl.c: Likewise.
66072         * math/s_csinh.c: Likewise.
66073         * math/s_csinhf.c: Likewise.
66074         * math/s_csinhl.c: Likewise.
66075         * math/libm-test.inc (ccos_test): Add more tests.
66076         (ccosh_test): Likewise.
66077         (csin_test): Likewise.
66078         (csinh_test): Likewise.
66079         * sysdeps/i386/fpu/libm-test-ulps: Update.
66080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66082 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66084         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66085         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66087         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66089 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66091         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66092         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66093         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66094         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66095         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66096         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66097         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66098         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66099         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66100         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66101         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66102         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66103         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66104         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66105         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66106         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66107         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66108         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66109         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66110         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66111         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66112         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66113         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66114         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66115         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66116         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66117         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66118         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66119         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66120         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66121         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66123 2012-05-18  Andreas Jaeger  <aj@suse.de>
66125         * csu/.gitignore: Delete.
66127 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66129         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66130         (timex): Use __syscall_slong_t.
66132 2012-05-18  Andreas Jaeger  <aj@suse.de>
66133             Carlos O'Donell  <carlos_odonell@mentor.com>
66135         * manual/install.texi (Configuring and compiling): Update
66136         description about files modified in the source directory.
66137         * INSTALL: Regenerated.
66139 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66141         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66142         value.  Use "or" to set return value to -1.
66143         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66144         negate return value.
66146 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66148         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66149         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66150         failure if the compiler has Graphite support disabled.
66151         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66152         Likewise.
66153         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66154         (CFLAGS-memmove.c): Likewise.
66155         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66156         Likewise.
66158 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66160         * sysdeps/x86_64/x32/_itoa.h: New file.
66162         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66163         getdents system call only if kernel and user dirents have the
66164         same d_ino and d_off.
66166         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66167         LLONG_MAX != LONG_MAX.
66168         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66169         (_fitoa_word): Likewise.
66171         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66172         years.
66173         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66174         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66175         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66177         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66178         include <bits/wordsize.h>.  Check __x86_64__ instead of
66179         __WORDSIZE.
66180         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66181         if __x86_64__ is defined.  Use anonymous union on fpstate.
66183         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66184         anonymous union.
66186 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66188         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66189         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66190         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66191         Refer to _rtld_local_ro instead of _rtld_global_ro.
66192         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66193         Likewise.
66194         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66195         Likewise.
66196         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66197         Likewise.
66198         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66199         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66200         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66202         [BZ #10882]
66203         * sysdeps/powerpc/powerpc32/dl-machine.c
66204         (__elf_machine_runtime_setup) [PROF]: Don't reference
66205         _dl_prof_resolve.
66207 2012-05-18  Andreas Jaeger  <aj@suse.de>
66209         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66210         function only available for GCCs before 3.4 since GCC 3.4
66211         introduced a builtin.
66212         (lrint): Likewise.
66213         (llrintf): Likewise.
66214         (llrint): Likewise.
66215         (fmaxf): Likewise.
66216         (fmax): Likewise.
66217         (fminf): Likewise.
66218         (fmin): Likewise.
66219         (rint): Likewise.
66220         (rintf): Likewise.
66221         (nearbyint): Likewise.
66222         (nearbyintf): Likewise.
66223         (ceil): Likewise.
66224         (ceilf): Likewise.
66225         (floor): Likewise.
66226         (floorf): Likewise.
66228 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66230         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66231         on both fields and cast pointer to __syscall_ulong_t.
66233         * bits/types.h (__fsword_t): New type.
66234         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66235         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66236         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66237         (__FSWORD_T_TYPE): Likewise.
66238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66239         (__FSWORD_T_TYPE): Likewise.
66240         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66241         (__FSWORD_T_TYPE): Likewise.
66242         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66243         (__FSWORD_T_TYPE): Likewise.
66244         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66245         __SWORD_TYPE with __fsword_t.
66246         (statfs64): Likewise.
66248 2012-05-17  David S. Miller  <davem@davemloft.net>
66250         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66252 2012-05-17  Andreas Jaeger  <aj@suse.de>
66254         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66255         warning.
66257 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66259         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66261 2012-05-17  Andreas Jaeger  <aj@suse.de>
66263         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66264         when it is used.
66266 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66268         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66270 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66272         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66273         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66275 2012-05-17  Andreas Jaeger  <aj@suse.de>
66276             Carlos O'Donell  <carlos_odonell@mentor.com>
66278         [BZ #14059]
66279         * sysdeps/x86_64/multiarch/init-arch.h
66280         (bit_YMM_Usable): Rename to...
66281         (bit_AVX_Usable): ... this.
66282         (bit_FMA4_Usable): New macro.
66283         (bit_XMM_state): New macro.
66284         (bit_YMM_state): New macro.
66285         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66286         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66287         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66288         (CPUID_OSXSAVE): New macro.
66289         (CPUID_AVX): New macro.
66290         (CPUID_FMA4): New macro.
66291         (index_YMM_Usable): Rename to...
66292         (index_AVX_Usable): ... this.
66293         (HAS_AVX): Use HAS_ARCH_FEATURE.
66294         (HAS_FMA4): Likewise.
66295         (HAS_YMM_USABLE): Remove.
66296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66297         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66298         are present.
66299         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66300         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66301         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66302         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66303         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66305 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66307         * math/libm-test.c: Support platforms without multiple rounding modes.
66308         * math/bug-nextafter.c: Support platforms without FP exceptions.
66309         * math/bug-nexttoward.c: Likewise.
66310         * math/test-fenv.c: Likewise.
66311         * math/test-misc.c: Likewise.
66312         * stdlib/bug-getcontext.c: Likewise.
66314 2012-05-17  Andreas Jaeger  <aj@suse.de>
66316         * manual/examples/search.c (critter_cmp): Change signature to
66317         avoid warnings.
66318         * manual/string.texi (Collation Functions): Likewise.
66320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66322         * bits/types.h: Fold copyright years.
66323         * bits/typesizes.h: Likewise.
66324         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66325         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66327         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66328         * time/time.h: Likewise.
66330 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66332         [BZ #208]
66333         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66334         in instead of returning them.  Return void.
66335         (__libc_mallinfo): Accumulate over all arenas.
66336         (__malloc_stats): Adjust for change in int_mallinfo interface.
66338 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66340         [BZ #10375]
66341         * configure.in (NM): Add AC_CHECK_TOOL for it.
66342         (libc_extra_cflags): New substituted variable.
66343         Check for -fstack-protector being used implicitly.
66344         * configure: Regenerated.
66345         * config.make.in (config-extra-cflags): New variable,
66346         gets @libc_extra_cflags@.
66347         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66349         [BZ #10375]
66350         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66351         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66352         * configure: Regenerated.
66353         * config.make.in (CPPUNDEFS): New substituted variable.
66354         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66355         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66356         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66358 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66360         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66361         (mq_attr): Use __syscall_slong_t.
66363 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66365         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66366         Check __x86_64__ instead of __WORDSIZE.
66367         (_STAT_VER_LINUX): Likewise.
66368         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66369         __syscall_ulong_t and __syscall_slong_t.
66370         (stat64): Likewise.
66372 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66374         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66376 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66378         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66380 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66382         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66383         __syscall_ulong_t.
66385         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66386         include <bits/wordsize.h>.  Check __x86_64__ instead of
66387         __WORDSIZE.
66388         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66389         defined.
66390         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66392         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66393         include <bits/wordsize.h>.  Check __x86_64__ instead of
66394         __WORDSIZE.
66395         (user_regs_struct): Use "__extension__ unsigned long long"
66396         instead of "unsigned long" if __x86_64__ is defined.
66397         (user): Likewise.  Pad after pointer field if __ILP32__ is
66398         defined.
66400 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66402         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66403         versions 5 to 9.
66404         * configure: Regenerated.
66405         * manual/install.texi (texinfo): Increase version requirement to
66406         4.5 or later.
66407         * INSTALL: Regenerated.
66409         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66411 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66413         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66415         * sysdeps/x86_64/x32/ffs.c: New file.
66417         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66418         __syscall_ulong_t.
66419         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66420         defined.  Use __syscall_ulong_t.
66421         (shminfo): Use __syscall_ulong_t.
66422         (shm_info): Likewise.
66424         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66425         __syscall_ulong_t.
66427         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66428         <bits/wordsize.h>.
66429         (msgqnum_t): Use __syscall_ulong_t.
66430         (msglen_t): Likewise.
66431         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66432         __syscall_ulong_t.
66434         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66435         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66437         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66439         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66440         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66442         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66443         __syscall_slong_t.
66445         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66446         include <bits/wordsize.h>.  Check __x86_64__ instead of
66447         __WORDSIZE.
66449         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66450         "unsigned long long int" if __x86_64__ is defined.
66451         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66453         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66454         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66455         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66457         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66458         <stdint.h>.
66459         (GET_PC): Cast to uintptr_t first.
66460         (GET_FRAME): Likewise.
66461         (GET_STACK): Likewise.
66463         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66464         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66465         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66466         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66467         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66468         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66469         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66470         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66471         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66472         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66473         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66474         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66475         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66476         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66477         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66478         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66479         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66480         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66481         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66482         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66483         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66484         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66485         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66486         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66487         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66488         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66489         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66490         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66491         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66493 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66495         * Makerules (+depfiles): Also collect depfiles from .oS in
66496         $(extra-objs).
66497         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66498         .oS, $(libnldbl-routines)).
66500         * Makerules (native-compile-mkdep-flags): Define.
66501         * sunrpc/Makefile (extra-objs): Add $(addprefix
66502         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66503         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66504         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66505         calling $(make-target-directory).
66507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66509         * bits/types.h (__snseconds_t): Removed.
66510         * time/time.h (struct timespec): Replace __snseconds_t with
66511         __syscall_slong_t.
66512         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66513         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66514         Likewise.
66515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66516         (__SNSECONDS_T_TYPE): Likewise.
66517         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66518         (__SNSECONDS_T_TYPE): Likewise.
66519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66520         (__SNSECONDS_T_TYPE): Likewise.
66522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66524         * sysdeps/mach/hurd/bits/typesizes.h
66525         (__SYSCALL_SLONG_TYPE): New macro.
66526         (__SYSCALL_ULONG_TYPE): Likewise.
66528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66530         * bits/types.h (__syscall_slong_t): New type.
66531         (__syscall_ulong_t): Likewise.
66533         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66534         (__SYSCALL_ULONG_TYPE): Likewise.
66535         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66536         (__SYSCALL_SLONG_TYPE): Likewise.
66537         (__SYSCALL_ULONG_TYPE): Likewise.
66538         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66539         (__SYSCALL_SLONG_TYPE): Likewise.
66540         (__SYSCALL_ULONG_TYPE): Likewise.
66541         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66542         (__SYSCALL_SLONG_TYPE): Likewise.
66543         (__SYSCALL_ULONG_TYPE): Likewise.
66545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66547         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66548         Add sigaltstack-offsets.sym.
66549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66550         <sigaltstack-offsets.h>.
66551         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66552         longjmp_msg pointer.
66553         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66554         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66555         signal stack.
66556         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66558 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66560         * elf/stackguard-macros.h: Remove file.
66561         * sysdeps/generic/stackguard-macros.h: New file.
66562         * sysdeps/i386/stackguard-macros.h: Likewise.
66563         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66564         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66565         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66566         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66567         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66568         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66569         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66570         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66571         <elf/stackguard-macros.h>.
66573         [BZ #14109]
66574         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66575         __aligned__ in attribute.
66576         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66577         (gregset_t): Likewise.
66579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66581         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66582         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66583         * sysdeps/x86_64/x32/Implies-after: New file.
66585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66587         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66588         and access return value for _dl_profile_fixup.  Use R10_LP to
66589         load frame size.
66591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66593         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66597         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66598         * sysdeps/x86_64/x32/sysdep.h: New file.
66600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66602         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66603         * sysdeps/x86_64/setjmp.S: Likewise.
66605 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66607         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66608         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66609         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66610         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66611         remove unused global constant.
66613 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66615         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66616         include of <not-cancel.h>.
66618 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66620         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66622 2012-05-15  Jeff Law  <law@redhat.com>
66623             Andreas Jaeger  <aj@suse.de>
66625         [BZ #13594]
66626         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66627         out from...
66628         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66629         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66630         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66631         code changing __hst_map_handle.map.
66633 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66635         * configure.in (sysnames): Look for Implies-before and Implies-after
66636         files.
66637         * configure: Regenerated.
66639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66641         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66642         8-byte data alignment with LP_SIZE alignment.
66644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66646         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66647         into R10_LP.
66649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66651         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66655         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66656         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66657         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66658         Likewise.
66659         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66663         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66664         (stackinfo_sub_sp): Likewise.
66666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66668         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66669         RAX_LP.
66671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66673         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66674         into R*_LP.
66676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66678         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66679         sizes into R*_LP.
66681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66683         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66687         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66688         into R11_LP and load __x86_64_shared_cache_size_half into
66689         R8_LP.
66691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66693         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66694         R8_LP.
66696 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66698         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66699         logb for POWER7.
66700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66701         logbf for POWER7.
66702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66703         logbl for POWER7.
66704         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66705         powerpc32/power7/fpu/s_logb.c via #include.
66706         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66707         powerpc32/power7/fpu/s_logbf.c via #include.
66708         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66709         powerpc32/power7/fpu/s_logbl.c via #include.
66711 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66713         * README.libm: Remove file.
66715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66717         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66718         count for x32.  Use R*_LP and omit operand-size suffix.
66720 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66722         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66723         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66724         * sysdeps/x86_64/x32/shlib-versions: New file.
66726 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66728         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66729         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66730         Use _dl_fatal_printf instead.
66732 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66734         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66735         set if not set by the user.  Do not allow for being unset.
66736         * sysdeps/unix/sysv/linux/configure: Regenerated.
66738 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66740         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66741         the `q' suffix from lea and replace .quad with ASM_ADDR.
66743 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66746         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66747         instead of $17.
66748         (PTR_DEMANGLE): Likewise.
66750 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66752         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66753         (LP_OP): Likewise.
66754         (ASM_ADDR): Likewise.
66755         (RAX_LP): Likewise.
66756         (RBP_LP): Likewise.
66757         (RBX_LP): Likewise.
66758         (RCX_LP): Likewise.
66759         (RDI_LP): Likewise.
66760         (RSI_LP): Likewise.
66761         (RSP_LP): Likewise.
66762         (R8_LP): Likewise.
66763         (R9_LP): Likewise.
66764         (R10_LP): Likewise.
66765         (R10_LP): Likewise.
66766         (R11_LP): Likewise.
66767         (R12_LP): Likewise.
66768         (R13_LP): Likewise.
66769         (R14_LP): Likewise.
66770         (R15_LP): Likewise.
66772 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66774         * sysdeps/x86_64/x32/dl-machine.h: New file.
66776 2012-05-14  Andreas Jaeger  <aj@suse.de>
66778         * manual/Makefile (subdir): Remove export of subdir.
66779         (all): Remove target.
66780         (.PHONY): Remove all from list.
66781         (mkinstalldirs): Remove.
66782         (.PHONY): Remove installdirs from list.
66783         ($(inst_infodir)/libc.info): Use make-target-directory.
66784         (installdirs): Remove.
66785         (subdir_%): Remove.
66786         (glibc-targets): Remove.
66787         (lib): Remove.
66788         (stubs): Remove.
66789         ($(objpfx)stubs ../po/manual.pot): Remove.
66790         ($(objpfx)stamp%): Remove.
66791         (make-target-directory): Remove.
66792         (subdir_install): Remove.
66793         (routines): Remove.
66794         (aux): Remove.
66795         (sources): Remove.
66796         (objects): Remove.
66797         (headers): Remove.
66799         [BZ #13750]
66800         * manual/.gitignore: Remove, it's not needed anymore.
66801         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66802         all files in it.
66803         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66804         directory.
66805         (texis): Renamed to $(objpfx)texis.
66806         (texis-path): New, contains path to generated files.
66807         (chapters.%): Use texis-path for complete path, add extra argument
66808         libc-texinfo.sh.
66809         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66810         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66811         (summary,texi, stamp-summary): Use complete path of
66812         files. Generate files in build dir.
66813         (dir-add.texi): Build in build dir.
66814         (libm-err.texi,stamp-libm-err): Likewise.
66815         (version.texi, stamp-version): Likewise.
66816         (.%c.texi): Likewise.
66817         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66818         (mostlyclean): Remove target.
66819         (realclean): Remove target.
66820         (generated): Add new variable with contents from mostlyclean and
66821         realclean, remove entries duplicated in common-mostlyclean, add
66822         stamp-libm-err and stamp-version.
66823         (generated-dirs): Add libc directory.
66824         ($(inst_infodir)/libc.info): Install files from build dir.
66826         * manual/install.texi (Configuring and compiling): Adjust since
66827         the info files are not part of the tar ball anymore.
66829 2012-05-14  Andreas Jaeger  <aj@suse.de>
66831         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66832         variable.
66834 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66836         [BZ #13717]
66837         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66838         to 2.2.0 where earlier.
66839         * sysdeps/unix/sysv/linux/configure: Regenerated.
66840         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66841         Remove conditional code.
66842         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66843         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66844         Remove conditional code.
66845         [!__NR_lchown]: Likewise.
66846         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66847         [__NR_lchown]: Likewise.
66848         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66849         comment referencing __ASSUME_LCHOWN_SYSCALL.
66850         * sysdeps/unix/sysv/linux/i386/sigaction.c
66851         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66852         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66853         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66854         Remove conditional code.
66855         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66856         (__protocol_available): Remove #if 0 code.
66857         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66858         conditional code.
66859         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66860         * sysdeps/unix/sysv/linux/kernel-features.h
66861         (__ASSUME_GETCWD_SYSCALL): Don't define.
66862         (__ASSUME_REALTIME_SIGNALS): Likewise.
66863         (__ASSUME_PREAD_SYSCALL): Likewise.
66864         (__ASSUME_PWRITE_SYSCALL): Likewise.
66865         (__ASSUME_POLL_SYSCALL): Likewise.
66866         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66867         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66868         non-SPARC.
66869         (__ASSUME_SIOCGIFNAME): Don't define.
66870         (__ASSUME_MSG_NOSIGNAL): Likewise.
66871         (__ASSUME_SENDFILE): Define unconditionally.
66872         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66873         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66874         conditional code.
66875         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66876         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66877         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66878         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66879         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66880         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66881         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66883         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66884         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66886         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66887         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66889         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66890         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66892         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66893         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66895         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66896         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66898         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66899         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66901         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66902         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66904         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66905         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66906         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66907         Remove conditional code.
66908         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66909         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66910         Remove conditional code.
66911         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66912         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66913         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66914         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66915         Remove conditional code.
66916         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66917         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66918         Remove conditional code.
66919         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66920         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66921         Remove conditional code.
66922         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66923         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66924         Remove conditional code.
66925         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66926         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66927         Remove conditional code.
66928         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66929         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66930         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66931         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66932         * sysdeps/unix/sysv/linux/sigaction.c
66933         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66934         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66935         * sysdeps/unix/sysv/linux/sigpending.c
66936         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66937         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66938         * sysdeps/unix/sysv/linux/sigprocmask.c
66939         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66940         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66941         * sysdeps/unix/sysv/linux/sigsuspend.c
66942         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66943         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66944         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66945         (__libc_missing_rt_sigs): Remove.
66946         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66947         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66948         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66949         Remove conditional code.
66950         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66951         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66952         return 1.
66953         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66954         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66955         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66956         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66958 2012-05-14  Andreas Jaeger  <aj@suse.de>
66960         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66961         it's not used in glibc.
66962         (__coshm1): Likewise.
66963         (__acosh1p): Likewise.
66964         (__sgn): Likewise.
66966         * manual/string.texi (Copying and Concatenation): Add missing
66967         variable in concat example.
66968         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66972         [BZ #14103]
66973         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66974         __builtin_clzl with __builtin_clzll.
66976 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66978         [BZ #14104]
66979         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66980         libc_freeres_ptr.
66982 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66984         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66985         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66986         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66987         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66989 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66991         * NEWS: Update ia64 info.
66993 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66995         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66996         used as bcopy.
66998 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67000         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67001         * sysdeps/unix/syscalls.list (dup3): Likewise.
67002         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67003         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67005 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67007         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67008         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67010 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67012         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67013         thread pointer.
67014         (TLS_IE): Use mov/add instead of movq/addq to load thread
67015         pointer.
67016         (TLS_GD_PREFIX): New.
67017         (TLS_GD): Use it.
67019 2012-05-11  David S. Miller  <davem@davemloft.net>
67021         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67022         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67023         (_FPU_SETCW): Likewise.
67025 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67027         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67028         is 32-byte aligned.
67030 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67032         [BZ #11837]
67033         * iconvdata/gb18030.c: Update tables.
67034         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67035         characters specially.
67036         (BODY for TO_LOOP): Add encoding of missing ranges.
67038 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67040         [BZ #13673]
67041         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67042         * sysdeps/mach/hurd/dup3.c: Likewise.
67043         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67044         * sysdeps/powerpc/memmove.c:: Likewise.
67046 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67048         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67049         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67051 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67053         * elf/elf.h (R_X86_64_RELATIVE64): New.
67054         (R_X86_64_NUM): Updated.
67055         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67056         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67057         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67058         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67059         tst-quad1pie tst-quad2pie
67060         (modules-names): Add tst-quadmod1 tst-quadmod2.
67061         ($(objpfx)tst-quad1): New dependency.
67062         ($(objpfx)tst-quad2): Likewise.
67063         ($(objpfx)tst-quad1pie): Likewise.
67064         ($(objpfx)tst-quad2pie): Likewise.
67065         * sysdeps/x86_64/tst-quad1.c: New file.
67066         * sysdeps/x86_64/tst-quad1pie.c: New file.
67067         * sysdeps/x86_64/tst-quad2.c: Likewise.
67068         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67069         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67070         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67071         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67072         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67076         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67077         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67078         * streams/stropts.h (t_scalar_t): Define type.
67080         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67081         (_PATH_PRESERVE): Set to "/var/lib".
67082         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67084         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67085         instead of int.
67087         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67088         if __dir_mkfile succeeded.
67090         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67091         checking for _hurd_dtablesize.  Unlock it right after having
67092         finished _hurd_dtable allocation.
67094 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67096         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67097         * sysdeps/mach/hurd/configure: Regenerated.
67098         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67099         special-casing to...
67100         * sysdeps/gnu/configure.in: ... this new file.
67101         * sysdeps/unix/sysv/linux/configure: Regenerated.
67102         * sysdeps/gnu/configure: New generated file.
67104         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67105         for Linux: use nsec instead of usec, as well as:
67106         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67107         members of type struct timespec.
67108         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67109         New macros.
67110         (struct stat64): Likewise.
67111         (_STATBUF_ST_NSEC): New macro.
67112         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67114         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67115         __strtoul_internal rather than strtoul.
67117 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67119         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67120         and reject them.
67122 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67124         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67125         which preserves existing values.
67126         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67128 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67130         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67131         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67132         greater than FD_SETSIZE.
67134 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67136         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67137         allocated, call __vm_protect to finish enabling the existing space, and
67138         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67139         allocate the remainder.
67141 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67143         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67144         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67148         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67149         sysdeps/mach/hurd/readlink.c.
67151         * posix/tst-sysconf.c (posix_options): Only use
67152         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67153         _POSIX_SYNCHRONIZED_IO when they are defined
67154         * sysdeps/mach/hurd/bits/posix_opt.h:
67155         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67156         (_XOPEN_REALTIME): Undefine macro.
67157         (_XOPEN_REALTIME_THREADS): Undefine macro.
67158         (_XOPEN_SHM): Undefine macro.
67159         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67160         macro to -1.
67161         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67162         macro to -1.
67163         (_POSIX_ASYNC_IO): Undefine macro.
67164         (_POSIX_PRIORITIZED_IO): Undefine macro.
67165         (_POSIX_SPIN_LOCKS): Define macro to -1.
67167         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67168         SA_NODEFER, SA_RESETHAND.
67169         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67170         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67171         F_DUPFD_CLOEXEC.
67173 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67175         * elf/Makefile (pldd-modules): Define unconditionally.
67177 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67179         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67181 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67183         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67184         Return ENOENT when name is empty.
67185         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67187 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67189         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67191         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67193 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67195         Fix mlock in all cases except non-readable pages.
67196         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67197         instead of VM_PROT_ALL as parameter to __vm_wire function.
67199         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67200         (__mkdir): When path is `/', just fail with EEXIST.
67201         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67203 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67205         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67206         <sys/uio.h> (for writev).
67207         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67208         and <sys/param.h> (for MIN).
67210 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67212         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67213         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67214         if interrupted.
67216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67218         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67219         Depend on against $(link-rpcuserlibs).
67221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67223         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67224         (__libc_stack_end): Do not use attribute_relro.
67225         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67226         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67227         to libthread-provided value.
67228         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67229         attribute_relro.
67231 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67233         [BZ #3748]
67234         * bits/libc-lock.h (__libc_once_get): New macro.
67235         * sysdeps/mach/bits/libc-lock.h: Likewise.
67236         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67237         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67238         instead of using implementation details.
67240         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67241         * libio/freopen.c: Likewise.
67242         * libio/freopen64.c: Likewise.
67243         * misc/syslog.c: Likewise.
67244         * nscd/connections.c: Likewise.
67245         * nscd/netgroupcache.c: Likewise.
67246         * sysdeps/posix/getcwd.c: Likewise.
67248 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67250         * math/w_ilogbf.c: Add #include <limits.h>.
67252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67254         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67255         path instead of returning without unlocking.
67257         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67258         immediate-write ioctls.
67259         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67261 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67263         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67264         __builtin_frame_address instead of making assumptions about the
67265         location of the return address relative to DATA.  Force early load of
67266         the return address.
67267         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67268         __builtin_frame_address.
67270         dup3 for GNU Hurd.
67271         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67272         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67273         implement dup3 and do some further code clean-ups.
67274         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67275         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67277 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67279         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67281         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67282         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67283         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67284         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67285         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67286         d->port.lock.
67288         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67289         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67290         when handler == SIG_ERR, not when handler != SIG_ERR.
67292 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67294         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67295         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67296         definitions.
67298         accept4 for GNU Hurd.
67299         * include/sys/socket.h (__libc_accept4): New prototype.
67300         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67301         to implement __libc_accept4.
67302         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67303         __libc_accept4.
67304         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67306         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67307         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67308         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67309         signal-defines.sym.
67311 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67313         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67317         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67318         assertion on O_CLOEXEC flag.
67319         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67320         * hurd/intern-fd.c: Likewise.
67321         * hurd/port2fd.c: Likewise.
67323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67325         [BZ #3906]
67326         * bits/in.h (IPV6_PKTINFO): Define new macro.
67327         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67329 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67331         [BZ #13954]
67332         [BZ #13955]
67333         [BZ #13956]
67334         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67335         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67336         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67337         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67339         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67340         * math/libm-test.inc (logb_test) : Additional logb tests.
67342 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67343             Andreas Jaeger  <aj@suse.de>
67345         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67346         * configure: Regenerated.
67347         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67348         * config.make.in (link-obsolete-rpc): New substituted variable.
67349         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67350         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67351         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67352         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67353         so that libc.a contains the symbols.
67354         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67355         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67356         * sunrpc/auth_none.c: Likewise.
67357         * sunrpc/auth_unix.c: Likewise.
67358         * sunrpc/authdes_prot.c: Likewise.
67359         * sunrpc/authuxprot.c: Likewise.
67360         * sunrpc/clnt_gen.c: Likewise.
67361         * sunrpc/clnt_perr.c: Likewise.
67362         * sunrpc/clnt_raw.c: Likewise.
67363         * sunrpc/clnt_simp.c: Likewise.
67364         * sunrpc/clnt_tcp.c: Likewise.
67365         * sunrpc/clnt_udp.c: Likewise.
67366         * sunrpc/clnt_unix.c: Likewise.
67367         * sunrpc/des_crypt.c: Likewise.
67368         * sunrpc/des_soft.c: Likewise.
67369         * sunrpc/get_myaddr.c: Likewise.
67370         * sunrpc/key_call.c: Likewise.
67371         * sunrpc/key_prot.c: Likewise.
67372         * sunrpc/netname.c: Likewise.
67373         * sunrpc/pm_getmaps.c: Likewise.
67374         * sunrpc/pm_getport.c: Likewise.
67375         * sunrpc/pmap_clnt.c: Likewise.
67376         * sunrpc/pmap_prot.c: Likewise.
67377         * sunrpc/pmap_prot2.c: Likewise.
67378         * sunrpc/pmap_rmt.c: Likewise.
67379         * sunrpc/publickey.c: Likewise.
67380         * sunrpc/rpc_cmsg.c: Likewise.
67381         * sunrpc/rpc_common.c: Likewise.
67382         * sunrpc/rpc_dtable.c: Likewise.
67383         * sunrpc/rpc_prot.c: Likewise.
67384         * sunrpc/rpc_thread.c: Likewise.
67385         * sunrpc/rtime.c: Likewise.
67386         * sunrpc/svc.c: Likewise.
67387         * sunrpc/svc_auth.c: Likewise.
67388         * sunrpc/svc_raw.c: Likewise.
67389         * sunrpc/svc_run.c: Likewise.
67390         * sunrpc/svc_tcp.c: Likewise.
67391         * sunrpc/svc_udp.c: Likewise.
67392         * sunrpc/svc_unix.c: Likewise.
67393         * sunrpc/svcauth_des.c: Likewise.
67394         * sunrpc/xcrypt.c: Likewise.
67395         * sunrpc/xdr.c: Likewise.
67396         * sunrpc/xdr_array.c: Likewise.
67397         * sunrpc/xdr_float.c: Likewise.
67398         * sunrpc/xdr_intXX_t.c: Likewise.
67399         * sunrpc/xdr_mem.c: Likewise.
67400         * sunrpc/xdr_rec.c: Likewise.
67401         * sunrpc/xdr_ref.c: Likewise.
67402         * sunrpc/xdr_sizeof.c: Likewise.
67403         * sunrpc/xdr_stdio.c: Likewise.
67405 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67407         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67408         change.  Update copyright years.
67410 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67412         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67414 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67415             Joseph Myers  <joseph@codesourcery.com>
67416             Paul Pluzhnikov  <ppluzhnikov@google.com>
67418         [BZ #14012]
67419         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67420         requiring rpcgen.
67421         [cross-compiling] (extra-libs): Likewise.
67422         [cross-compiling] (extra-libs-others): Likewise.
67423         [cross-compiling] (librpcsvc-routines): Likewise.
67424         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67425         [cross-compiling] (omit-deps): Likewise.
67426         (sunrpc-CPPFLAGS): New variable.
67427         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67428         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67429         (cross-rpcgen-objs): New variable.
67430         (extra-objs): Append $(cross-rpcgen-objs).
67431         ($(cross-rpcgen-objs)): New rule.
67432         ($(objpfx)cross-rpcgen): Likewise.
67433         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67434         comment.
67435         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67436         ($(objpfx)x%.stmp): Likewise.
67437         * sunrpc/proto.h [IS_IN_build] (_): Define.
67438         [IS_IN_build] (_libc_intl_domainname): Likewise.
67440 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67442         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67443         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67444         and R_X86_64_TPOFF64.
67446 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67448         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67449         sysdeps/unix/sysv/syscalls.list.
67450         (stime): Likewise.
67451         (utime): Likewise.
67452         * sysdeps/unix/sysv/syscalls.list: Remove file.
67454 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67456         [BZ #3440]
67457         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67458         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67459         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67460         (__LC_IDENTIFICATION): Make these macros useful in #if
67461         expressions, as required by C99.
67463 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67465         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67466         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67467         after this.
67469 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67471         * stdlib/longlong.h: Updated from GCC.
67473 2012-05-09  Andreas Jaeger  <aj@suse.de>
67475         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67476         default is first entry.
67477         (run_mode): Set type.
67478         (main): Remove informal message about syslog.
67479         (options): Fix typo.
67481         [BZ #14053]
67482         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67483         to asm.
67484         (lrint): Likewise.
67485         (llrintf): Likewise.
67486         (llrint): Likewise.
67487         (rint): Likewise.
67488         (rintf): Likewise.
67489         (nearbyint): Likewise.
67490         (nearbyintf): Likewise.
67492 2012-05-09  Andreas Jaeger  <aj@suse.de>
67493             Pedro Alves  <palves@redhat.com>
67495         * nscd/nscd.c (run_mode): Use enum.
67496         (main): Cleanup coding style issue.
67498 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67499             Andreas Jaeger  <aj@suse.de>
67501         * nscd/nscd.c (go_background): Replaced with...
67502         (run_mode): ... this.
67503         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67504         (options): Add -F --foreground.
67505         (main): Implement it.
67506         (parse_opt): Parse it.
67508 2012-05-09  Andreas Jaeger  <aj@suse.de>
67510         [BZ #14083]
67511         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67512         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67513         -Wconversion warning.
67514         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67515         Likewise.
67517 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67519         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67520         == 0.
67521         (LC_ALL): Use macro-int-constant.
67522         (LC_COLLATE): Likewise.
67523         (LC_CTYPE): Likewise.
67524         (LC_MESSAGES): Likewise.
67525         (LC_MONETARY): Likewise.
67526         (LC_NUMERIC): Likewise.
67527         (LC_TIME): Likewise.
67528         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67529         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67531         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67532         Specify type.
67533         [C99-based standards] (float_t): Expect type.
67534         [C99-based standards] (double_t): Expect type.
67535         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67536         type.
67537         [C99-based standards] (HUGE_VALL): Likewise.
67538         [C99-based standards] (INFINITY): Likewise.
67539         [C99-based standards] (NAN): Likewise.
67540         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67541         [C99-based standards] (FP_NAN): Likewise.
67542         [C99-based standards] (FP_NORMAL): Likewise.
67543         [C99-based standards] (FP_SUBNORMAL): Likewise.
67544         [C99-based standards] (FP_ZERO): Likewise.
67545         [C99-based standards] (FP_FAST_FMA): Use
67546         optional-macro-int-constant.  Specify type.  Require == 1.
67547         [C99-based standards] (FP_FAST_FMAF): Likewise.
67548         [C99-based standards] (FP_FAST_FMAL): Likewise.
67549         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67550         [C99-based standards] (FP_ILOGBNAN): Likewise.
67551         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67552         Specify type.
67553         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67554         [C99-based standards] (math_errhandling): Specify type.
67555         [ISO99 || ISO11] (signgam): Do not allow.
67556         [non-C99-based standards] (copysignf): Do not allow.
67557         [non-C99-based standards] (exp2f): Likewise.
67558         [non-C99-based standards] (log2f): Likewise.
67559         [non-C99-based standards] (modff): Allow.
67560         [non-C99-based standards] (erff): Do not allow.
67561         [non-C99-based standards] (erfcf): Likewise.
67562         [non-C99-based standards] (gammaf): Likewise.
67563         [non-C99-based standards] (hypotf): Likewise.
67564         [non-C99-based standards] (j0f): Likewise.
67565         [non-C99-based standards] (j1f): Likewise.
67566         [non-C99-based standards] (jnf): Likewise.
67567         [non-C99-based standards] (lgammaf): Likewise.
67568         [non-C99-based standards] (tgammaf): Likewise.
67569         [non-C99-based standards] (y0f): Likewise.
67570         [non-C99-based standards] (y1f): Likewise.
67571         [non-C99-based standards] (ynf): Likewise.
67572         [non-C99-based standards] (isnanf): Likewise.
67573         [non-C99-based standards] (acoshf): Likewise.
67574         [non-C99-based standards] (asinhf): Likewise.
67575         [non-C99-based standards] (atanhf): Likewise.
67576         [non-C99-based standards] (cbrtf): Likewise.
67577         [non-C99-based standards] (expm1f): Likewise.
67578         [non-C99-based standards] (ilogbf): Likewise.
67579         [non-C99-based standards] (log1pf): Likewise.
67580         [non-C99-based standards] (logbf): Likewise.
67581         [non-C99-based standards] (nextafterf): Likewise.
67582         [non-C99-based standards] (remainderf): Likewise.
67583         [non-C99-based standards] (rintf): Likewise.
67584         [non-C99-based standards] (scalbf): Likewise.
67585         [non-C99-based standards] (copysignl): Likewise.
67586         [non-C99-based standards] (exp2l): Likewise.
67587         [non-C99-based standards] (log2l): Likewise.
67588         [non-C99-based standards] (modfl): Allow.
67589         [non-C99-based standards] (erfl): Do not allow.
67590         [non-C99-based standards] (erfcl): Likewise.
67591         [non-C99-based standards] (gammal): Likewise.
67592         [non-C99-based standards] (hypotl): Likewise.
67593         [non-C99-based standards] (j0l): Likewise.
67594         [non-C99-based standards] (j1l): Likewise.
67595         [non-C99-based standards] (jnl): Likewise.
67596         [non-C99-based standards] (lgammal): Likewise.
67597         [non-C99-based standards] (tgammal): Likewise.
67598         [non-C99-based standards] (y0l): Likewise.
67599         [non-C99-based standards] (y1l): Likewise.
67600         [non-C99-based standards] (ynl): Likewise.
67601         [non-C99-based standards] (isnanl): Likewise.
67602         [non-C99-based standards] (acoshl): Likewise.
67603         [non-C99-based standards] (asinhl): Likewise.
67604         [non-C99-based standards] (atanhl): Likewise.
67605         [non-C99-based standards] (cbrtl): Likewise.
67606         [non-C99-based standards] (expm1l): Likewise.
67607         [non-C99-based standards] (ilogbl): Likewise.
67608         [non-C99-based standards] (log1pl): Likewise.
67609         [non-C99-based standards] (logbl): Likewise.
67610         [non-C99-based standards] (nextafterl): Likewise.
67611         [non-C99-based standards] (remainderl): Likewise.
67612         [non-C99-based standards] (rintl): Likewise.
67613         [non-C99-based standards] (scalbl): Likewise.
67614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67615         [non-C99-based standards] (FP_*): Do not allow.
67616         [C99-based standards] (FP_*): Change to
67617         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67618         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67619         allow.
67620         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67621         (SIG_ERR): Likewise.
67622         [X/Open-based standards] (SIG_HOLD): Likewise.
67623         (SIG_IGN): Likewise.
67624         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67625         positive value.
67626         (SIGFPE): Likewise.
67627         (SIGILL): Likewise.
67628         (SIGINT): Likewise.
67629         (SIGSEGV): Likewise.
67630         (SIGTER): Likewise.
67631         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67632         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67633         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67634         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67635         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67636         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67637         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67638         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67639         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67640         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67641         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67642         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67643         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67644         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67645         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67646         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67647         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67648         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67649         [X/Open-based standards] (SIGTRAP): Likewise.
67650         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67651         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67652         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67653         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67654         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67655         allow.
67657 2012-05-08  Ian Wienand  <ianw@vmware.com>
67659         [BZ #14080]
67660         * time/tzset.c (__tzset_parse_tz): Update default rules for
67661         daylight time changes in the Energy Policy Act of 2005.
67663 2012-05-09  Andreas Jaeger  <aj@suse.de>
67665         [BZ #13983]
67666         * elf/ldconfig.c (parse_conf): Change string to make clear that
67667         ldconfig only issued a warning if ld.so.conf does not exist.
67669 2012-05-08  David S. Miller  <davem@davemloft.net>
67671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67672         movxtod instead of popping the value on the stack.
67674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67676 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67678         * config.h.in: Add HAVE_ARM_PCS_VFP.
67680 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67682         [BZ #13979]
67683         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67684         checking but the checks are disabled for any reason.
67686 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67688         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67689         and ELF64_R_TYPE with ELFW(R_TYPE).
67691 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67693         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67694         (ulimit): Likewise.
67696         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67697         (settimeofday): Likewise.
67699 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67701         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67702         a struct th_u2 inside the union, and move tu_block/tu_code into
67703         a new th_u3 union of tu_block/tu_code inside of that.  Move
67704         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67705         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67706         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67707         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67708         (th_stuff): Change to th_u1.tu_stuff.
67709         (th_data): Define.
67710         (th_msg): Change to th_u1.th_u2.tu_data.
67712 2012-05-07  David S. Miller  <davem@davemloft.net>
67714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67716         [BZ #14074]
67717         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67718         (SETUP_PIC_REG): Use it.
67719         (SETUP_PIC_REG_LEAF): Use it.
67721 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67723         [BZ #13885]
67724         [BZ #13923]
67725         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67726         USE_AS_EXPM1L.
67727         (EXPL_FINITE): Likewise.
67728         (FLDLOG): Likewise.
67729         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67730         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67731         e_expl.S.
67732         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67733         USE_AS_EXPM1L.
67734         (EXPL_FINITE): Likewise.
67735         (FLDLOG): Likewise.
67736         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67737         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67738         e_expl.S.
67739         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67740         test of -max_value argument for long double.
67741         * sysdeps/i386/fpu/libm-test-ulps: Update.
67742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67744 2012-05-06  David S. Miller  <davem@davemloft.net>
67746         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67747         quad soft-float symbols whose references which are compiler
67748         generated.
67749         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67751 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67753         [BZ #13884]
67754         [BZ #13914]
67755         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67756         USE_AS_EXP10L.
67757         (EXPL_FINITE): Likewise.
67758         (FLDLOG): Likewise.
67759         (c0): Likewise.
67760         (c1): Likewise.
67761         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67762         Adjust comments for base varying.
67763         (__expl_finite): Change alias to EXPL_FINITE.
67764         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67765         e_expl.S.
67766         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67767         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67768         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67769         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67770         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67771         USE_AS_EXP10L.
67772         (EXPL_FINITE): Likewise.
67773         (FLDLOG): Likewise.
67774         (c0): Likewise.
67775         (c1): Likewise.
67776         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67777         Adjust comments for base varying.
67778         (__expl_finite): Change alias to EXPL_FINITE.
67779         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67780         tests for bugs.
67781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67783         [BZ #14064]
67784         * math/libm-test.inc (check_float_internal): Correct ulp
67785         calculation for subnormal expected results.
67787 2012-05-06  Andreas Jaeger  <aj@suse.de>
67789         * Makeconfig (+math-flags): New, set to -frounding-math.
67790         (+cflags): Add +math-flags so that all of glibc gets compiled with
67791         it.
67793         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67795 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67797         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67798         Disable one test.
67800         [BZ #13787]
67801         [BZ #13922]
67802         [BZ #14036]
67803         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67804         (__ieee754_expl): Allow for and saturate large arguments.
67805         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67806         (u_threshold): Likewise.
67807         (__exp): Call __ieee754_exp before checking for overflow and
67808         underflow.
67809         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67810         (u_threshold): Likewise.
67811         (__expf): Call __ieee754_expf before checking for overflow and
67812         underflow.
67813         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67814         (u_threshold): Likewise.
67815         (__expl): Call __ieee754_expl before checking for overflow and
67816         underflow.
67817         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67818         (__ieee754_expl): Allow for and saturate large arguments.
67819         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67820         missing overflow exception on overflow.
67821         (expm1_test): Do not allow missing overflow exception on overflow.
67823         * sysdeps/i386/fpu/e_expl.c: Move to ...
67824         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67825         rather than using inline asm.
67826         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67827         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67828         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67830         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67831         (nice): Likewise.
67832         (poll): Likewise.
67833         (signal): Likewise.
67834         (time): Likewise.
67835         (times): Likewise.
67837 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67839         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67840         sysdeps/unix/common/syscalls.list.
67841         (fchmod): Likewise.
67842         (fchown): Likewise.
67843         (ftruncate): Likewise.
67844         (getrusage): Likewise.
67845         (gettimeofday): Likewise.
67846         (setpgid): Likewise.
67847         (setregid): Likewise.
67848         (setreuid): Likewise.
67849         (sigaction): Likewise.
67850         (truncate): Likewise.
67851         (vhangup): Likewise.
67852         * sysdeps/unix/common/syscalls.list: Remove file.
67853         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67854         * sysdeps/unix/sysv/linux/Implies: Likewise.
67856 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67858         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67860         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67861         Moved to ...
67862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67863         Here.
67864         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67865         to ...
67866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67867         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67868         to ...
67869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67870         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67871         to ...
67872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67873         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67874         to ...
67875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67876         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67877         to ...
67878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67879         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67880         to ...
67881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67882         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67883         to ...
67884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67885         Here.
67886         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67887         to ...
67888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67889         Here.
67890         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67891         to ...
67892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67893         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67894         Moved to ...
67895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67896         Here.
67897         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67898         to ...
67899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67901 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67903         * sysdeps/unix/common/bits/dirent.h: Remove file.
67904         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67906         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67907         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67908         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67909         * sysdeps/unix/bsd/isatty.c: Likewise.
67910         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67911         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67912         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67914 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67916         [BZ #13563]
67917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67918         long double comparison inaccuracies.
67919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67922 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67924         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67925         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67927 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67929         [BZ #14049]
67930         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67931         nonzero digits before rounding a hex value.
67932         * stdlib/tst-strtod.c (tests): Add another test.
67934 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67936         * sysdeps/s390/fpu/libm-test-ulps: Update.
67938 2012-05-03  Andreas Jaeger  <aj@suse.de>
67940         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67941         does not get optimized out.
67942         (malloc_opt_barrier): New.
67944 2012-05-03  Andreas Jaeger  <aj@suse.de>
67945             Roland McGrath  <roland@hack.frob.com>
67947         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67948         intermediate file deletion.
67949         (generated): Add .symlist files.
67951 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67953         [BZ #13775]
67954         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67955         Redirect under this condition.
67956         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67957         [__USE_GNU] (__dprintf_chk): Not under this condition.
67958         [__USE_GNU] (__vdprintf_chk): Likewise.
67959         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67960         under this condition.
67961         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67962         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67963         [__USE_XOPEN2K8] (vdprintf): Likewise.
67964         [__USE_GNU] (__dprintf_chk): Not under this condition.
67965         [__USE_GNU] (__vdprintf_chk): Likewise.
67966         [__USE_GNU] (dprintf): Likewise.
67967         [__USE_GNU] (vdprintf): Likewise.
67969 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67971         * elf/Makefile (common-generated): Set this instead of generated for
67972         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67973         $(all-built-dso)-derived lists.
67975 2012-05-03  Andreas Jaeger  <aj@suse.de>
67977         * sysdeps/i386/fpu/libm-test-ulps: Update.
67979         * FAQ: Removed.
67980         * FAQ.in: Likewise.
67981         * scripts/gen-FAQ.pl: Likewise.
67982         * manual/install.texi (Installation): Point to online location of
67983         FAQ.
67984         * Makefile (files-for-dist): Remove FAQ.
67985         (FAQ): Remove.
67987 2012-05-02  Allan McRae  <allan@archlinux.org>
67989         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67990         (LDFLAGS-reldepmod5.so): Likewise.
67991         (LDFLAGS-reldep6mod1.so): Likewise.
67992         (LDFLAGS-reldep6mod4.so): Likewise.
67993         (LDFLAGS-reldep8mod3.so): Likewise.
67994         (LDFLAGS-unload4mod1.so): Likewise.
67995         (LDFLAGS-unload4mod2.so): Likewise.
67996         (LDFLAGS-tst-initorder): Likewise.
67997         (LDFLAGS-tst-initordera2.so): Likewise.
67998         (LDFLAGS-tst-initordera3.so): Likewise.
67999         (LDFLAGS-tst-initordera4.so): Likewise.
68000         (LDFLAGS-tst-initorderb2.so): Likewise.
68001         (LDFLAGS-noload): Likewise.
68002         (LDFLAGS-next): Likewise.
68003         (LDFLAGS-order2mod1.so): Likewise.
68004         (LDFLAGS-order2mod2.so): Likewise.
68005         (LDFLAGS-tst-initorder2): Likewise.
68006         (LDFLAGS-tst-initorder2a.so): Likewise.
68007         (LDFLAGS-tst-initorder2b.so): Likewise.
68008         (LDFLAGS-tst-initorder2c.so): Likewise.
68009         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68011 2012-05-02  David S. Miller  <davem@davemloft.net>
68013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68015 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68017         [BZ #14055]
68018         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68020 2012-05-02  Andreas Jaeger  <aj@suse.de>
68022         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68023         since we manipulate rounding mode.
68024         (CPPFLAGS-test-idouble.c): Likewise.
68025         (CPPFLAGS-test-ifloat.c): Likewise.
68026         (CFLAGS-test-ldouble.c): Likewise.
68027         (CFLAGS-test-double.c): Likewise.
68028         (CFLAGS-test-float.c): Likewise.
68029         (CFLAGS-test-misc.c): Likewise.
68030         (CFLAGS-test-test-fenv.c): Likewise.
68032 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68034         [BZ #2550]
68035         [BZ #2570]
68036         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68037         comparisons to determine direction to adjust input.
68039 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68041         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68042         output to the target.
68044         * scripts/localplt.awk: New file.
68045         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68046         (check-localplt-CFLAGS): Variable removed.
68047         ($(all-built-dso:=.jmprel)): New static pattern rule.
68048         (generated): Add those targets.
68049         (localplt-built-dso): New variable.
68050         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68052         * elf/check-localplt.c: File removed.
68054         * scripts/check-execstack.awk: New file.
68055         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68056         (check-execstack-CFLAGS): Variable removed.
68057         ($(objpfx)check-execstack.h): Target removed.
68058         ($(objpfx)execstack-default): New target.
68059         (generated): Add that instead of check-execstack.h.
68060         ($(all-built-dso:=.phdr)): New static pattern rule.
68061         (generated): Add those targets.
68062         * elf/check-execstack.c: File removed.
68064         * scripts/check-textrel.awk: New file.
68065         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68066         (check-textrel-CFLAGS): Variable removed.
68067         (all-built-dso): Use := to define.o
68068         ($(all-built-dso:=.dyn)): New static pattern rule.
68069         (generated): Add those targets.
68070         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68071         * config.make.in (READELF): New substituted variable.
68072         * elf/check-textrel.c: File removed.
68074 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68076         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68077         allow.
68078         * conform/data/ctype.h-data [C99-based standards] (isblank):
68079         Expect function.
68080         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68081         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68082         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68083         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68084         Specify type.  Require positive value.
68085         (EILSEQ): Likewise.
68086         (ERANGE): Likewise.
68087         [ISO || POSIX] (EILSEQ): Do not expect.
68088         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68089         Specify type.  Require positive value.
68090         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68091         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68092         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68093         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68094         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68095         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68096         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68097         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68098         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68099         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68100         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68101         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68102         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68103         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68104         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68105         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68106         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68107         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68108         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68109         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68110         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68111         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68112         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68113         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68114         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68115         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68116         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68117         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68118         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68119         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68120         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68121         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68122         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68123         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68124         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68125         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68126         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68127         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68128         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68129         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68130         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68131         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68132         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68133         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68134         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68135         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68136         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68137         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68138         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68139         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68140         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68141         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68142         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68143         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68144         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68145         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68146         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68147         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68148         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68149         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68150         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68151         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68152         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68153         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68154         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68155         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68156         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68157         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68158         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68159         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68160         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68161         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68162         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68163         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68164         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68165         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68166         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68167         Require >= 2.
68168         (FLT_ROUNDS): Expect as macro, not constant.
68169         (FLT_MANT_DIG): Use macro-int-constant.
68170         (DBL_MANT_DIG): Likewise.
68171         (LDBL_MANT_DIG): Likewise.
68172         (FLT_DIG): Likewise.
68173         (DBL_DIG): Likewise.
68174         (LDBL_DIG): Likewise.
68175         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68176         (DBL_MIN_EXP): Likewise.
68177         (LDBL_MIN_EXP): Likewise.
68178         (FLT_MAX_EXP): Use macro-int-constant.
68179         (DBL_MAX_EXP): Likewise.
68180         (LDBL_MAX_EXP): Likewise.
68181         (FLT_MAX_10_EXP): Likewise.
68182         (DBL_MAX_10_EXP): Likewise.
68183         (LDBL_MAX_10_EXP): Likewise.
68184         (FLT_MAX): Use macro-constant.
68185         (DBL_MAX): Likewise.
68186         (LDBL_MAX): Likewise.
68187         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68188         (DBL_EPSILON): Likewise.
68189         (LDBL_EPSILON): Likewise.
68190         (FLT_MIN): Likewise.
68191         (DBL_MIN): Likewise.
68192         (LDBL_MIN): Likewise.
68193         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68194         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68195         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68196         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68197         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68198         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68199         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68200         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68201         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68202         [ISO11] (FLT_TRUE_MIN): Likewise.
68203         [ISO11] (LDBL_TRUE_MIN): Likewise.
68204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68205         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68206         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68207         (SCHAR_MAX): Likewise.
68208         (UCHAR_MAX): Likewise.
68209         (CHAR_MIN): Likewise.
68210         (CHAR_MAX): Likewise.
68211         (MB_LEN_MAX): Use macro-int-constant.
68212         (SHRT_MIN): Use macro-int-constant.  Specify type.
68213         (SHRT_MAX): Likewise.
68214         (USHRT_MAX): Likewise.
68215         (INT_MAX): Likewise.
68216         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68217         bound negative.
68218         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68219         bound with "U".
68220         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68221         bound with "L".
68222         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68223         bound negative.  Suffix upper bound with "L".
68224         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68225         bound with "UL".
68226         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68227         Specify type.
68228         [C99-based standards] (LLONG_MAX): Likewise.
68229         [C99-based standards] (ULLONG_MAX): Likewise.
68230         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68231         == 0.
68232         [ISO11] (max_align_t): Require type.
68233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68235         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68236         from $CFLAGS, without defining away __attribute__ calls.
68237         (checknamespace): Use $CFLAGS_namespace.
68239         * conform/conformtest.pl (@keywords): Only include C99 keywords
68240         for standards based on C99 or C11.
68242         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68243         Disable tests.
68244         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68245         UNIX98]: Likewise.
68247         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68248         usability of symbols in #if.
68250         * conform/conformtest.pl: If macro or constant types start
68251         "promoted:", expect the symbol to be of the following type
68252         promoted by the integer promotions.
68254         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68255         in one place.  Also handle "macro-constant".
68257         * conform/conformtest.pl: Only accept expected macro values with
68258         "==".  Parse all "macro" lines in one place.
68259         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68261         * conform/conformtest.pl: Handle braced types on "constant" lines
68262         instead of handling "typed-constant".
68263         * conform/data/signal.h-data: Use "constant" instead of
68264         "typed-constant".
68266         * conform/conformtest.pl: Handle "optional-" at start of lines in
68267         one place rather than duplicating several cases.  Handle each
68268         format of "macro" line with initial "optional-".
68270         * conform/conformtest.pl: Only accept expected constant or
68271         optional-constant values with "==".  Parse all "constant" lines in
68272         one place.  Parse all "optional-constant" lines in one place.
68273         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68274         * conform/data/fmtmsg.h-data: Likewise.
68275         * conform/data/netinet/in.h-data: Likewise.
68276         * conform/data/tar.h-data: Likewise.
68277         * conform/data/limits.h-data: Use "==" form on "constant" and
68278         "optional-constant" lines.
68280         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68281         Use -std=c99 for XOPEN2K.
68282         (@knownproblems): Remove.
68283         (newtoken): Don't check %isknown.
68285         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68286         Do not expect macro.
68287         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68288         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68289         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68290         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68291         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68292         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68293         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68294         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68295         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68296         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68297         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68298         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68299         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68300         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68301         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68302         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68303         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68304         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68305         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68306         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68307         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68308         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68309         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68310         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68311         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68312         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68313         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68314         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68315         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68316         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68317         [XPG3] (acosh): Likewise.
68318         [XPG3] (asinh): Likewise.
68319         [XPG3] (atanh): Likewise.
68320         [XPG3] (cbrt): Likewise.
68321         [XPG3] (expm1): Likewise.
68322         [XPG3] (ilogb): Likewise.
68323         [XPG3] (log1p): Likewise.
68324         [XPG3] (logb): Likewise.
68325         [XPG3] (nextafter): Likewise.
68326         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68327         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68328         [XPG3] (remainder): Likewise.
68329         [XPG3] (rint): Likewise.
68330         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68331         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68332         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68333         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68334         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68335         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68336         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68337         [UNIX98 || XOPEN2K] (scalb): Expect.
68338         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68339         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68340         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68341         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68342         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68343         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68344         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68345         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68346         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68347         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68348         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68349         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68350         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68351         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68352         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68353         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68354         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68355         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68356         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68357         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68358         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68359         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68360         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68361         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68362         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68363         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68364         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68365         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68366         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68367         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68368         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68369         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68370         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68371         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68372         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68373         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68374         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68375         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68376         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68377         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68378         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68379         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68380         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68381         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68382         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68383         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68384         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68385         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68386         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68387         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68388         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68389         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68390         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68391         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68392         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68393         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68394         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68395         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68396         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68397         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68398         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68399         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68400         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68401         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68402         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68403         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68404         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68405         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68406         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68407         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68408         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68409         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68410         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68411         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68412         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68413         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68414         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68415         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68416         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68417         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68418         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68419         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68420         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68421         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68422         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68423         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68424         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68425         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68426         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68427         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68428         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68429         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68430         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68431         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68432         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68433         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68434         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68435         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68436         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68437         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68438         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68439         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68440         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68441         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68442         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68443         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68444         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68445         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68446         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68447         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68448         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68449         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68450         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68451         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68452         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68453         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68454         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68455         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68456         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68457         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68458         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68459         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68460         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68461         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68462         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68463         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68464         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68465         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68466         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68467         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68468         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68469         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68470         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68471         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68472         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68473         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68474         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68476         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68477         _XOPEN_SOURCE_EXTENDED for XPG4.
68479         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68481         * Makeconfig (localtime): Remove variable.
68482         (inst_localtime-file): Likewise.
68484 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68487         Update.
68488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68489         Update.
68490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68491         Update.
68492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68493         Update.
68494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68495         Update.
68496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68497         Update.
68498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68499         Update.
68500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68501         Update.
68502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68503         Update.
68505 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68507         [BZ #2550]
68508         [BZ #2570]
68509         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68510         comparisons to determine direction to adjust input.
68511         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68512         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68513         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68514         Likewise.
68515         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68516         Likewise.
68517         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68518         Likewise.
68519         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68520         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68521         Likewise.
68522         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68523         Likewise.
68524         * math/libm-test.inc (nexttoward_test): Add more tests.
68526 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68528         [BZ #14040]
68529         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68530         in version GLIBC_2.1, not GLIBC_2.0.
68531         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68532         Likewise.
68534 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68536         [BZ #13942]
68537         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68538         (1 - x) * (1 + x).
68539         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68540         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68541         * math/libm-test.inc (acos_test): Add more tests.
68542         (asin_test): Likewise.
68543         * sysdeps/i386/fpu/libm-test-ulps: Update.
68544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68546         [BZ #14034]
68547         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68548         of square root.
68549         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68550         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68551         * math/libm-test.inc (acos_test_tonearest): New function.
68552         (acos_test_towardzero): Likewise.
68553         (acos_test_downward): Likewise.
68554         (acos_test_upward): Likewise.
68555         (asin_test_tonearest): Likewise.
68556         (asin_test_towardzero): Likewise.
68557         (asin_test_downward): Likewise.
68558         (asin_test_upward): Likewise.
68559         (main): Call the new functions.
68560         * sysdeps/i386/fpu/libm-test-ulps: Update.
68561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68563         [BZ #13884]
68564         [BZ #13924]
68565         * math/e_exp10.c: Include <float.h>.
68566         (__ieee754_exp10): Handle underflow here rather than multiplying
68567         large negative argument by M_LN10.
68568         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68569         of __ieee754_expf.
68570         * math/e_exp10l.c: Include <float.h>.
68571         (__ieee754_exp10l): Handle underflow here rather than multiplying
68572         large negative argument by M_LN10l.
68573         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68574         spurious overflow exception on underflow.
68576 2012-04-29  Marek Polacek  <polacek@redhat.com>
68578         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68579         (__fortify_function): New macro.
68580         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68581         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68582         __extern_always_inline.
68583         * libio/bits/stdio2.h: Likewise.
68584         * libio/bits/stdio.h: Likewise.
68585         * string/string.h: Likewise.
68586         * string/bits/string3.h: Likewise.
68587         * include/stdio.h: Likewise.
68588         * stdlib/bits/stdlib.h: Likewise.
68589         * stdlib/stdlib.h: Likewise.
68590         * rt/bits/mqueue2.h: Likewise.
68591         * rt/mqueue.h: Likewise.
68592         * posix/bits/unistd.h: Likewise.
68593         * posix/unistd.h: Likewise.
68594         * io/bits/poll2.h: Likewise.
68595         * io/bits/fcntl2.h: Likewise.
68596         * io/fcntl.h: Likewise.
68597         * io/sys/poll.h: Likewise.
68598         * misc/bits/syslog.h: Likewise.
68599         * misc/bits/syslog-ldbl.h: Likewise.
68600         * misc/sys/syslog.h: Likewise.
68601         * socket/bits/socket2.h: Likewise.
68602         * socket/sys/socket.h: Likewise.
68603         * debug/tst-chk1.c: Likewise.
68604         * wcsmbs/bits/wchar2.h: Likewise.
68605         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68606         * wcsmbs/wchar.h: Likewise.
68608 2012-04-29  Andreas Jaeger  <aj@suse.de>
68610         * Makerules (tests): Remove enable-check-abi protection.
68611         (check-abi-warn): Remove.
68612         (check-abi-%): Remove check-abi-warn usage.
68614         * configure.in: Remove check-abi configure option.
68615         * configure: Regenerated.
68616         * config.make.in (enable-check-abi): Remove.
68618 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68620         [BZ #14033]
68621         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68622         double functions to double *_finite functions.
68624         [BZ #13941]
68625         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68626         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68627         LDBL_MIN_EXP.
68628         * stdio-common/Makefile (tests): Add tst-sprintf3.
68629         * stdio-common/tst-sprintf3.c: New file.
68631         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68632         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68634 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68636         * conform/conformtest.pl: Remove duplicate typed-constant
68637         handling.
68639 2012-04-28  David S. Miller  <davem@davemloft.net>
68641         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68642         (check-abi-%): Remove AWK script prerequisite and explicit
68643         abilist directory.
68644         (check-abi): Rewrite to just diff the symlist with the abilist.
68645         (config-tls, config-abi-config): Delete, no longer used.
68646         (update-abi-%): Remove AWK script and explicit abilist directory.
68647         (update-abi): Rewrite to simply compare and conditionally copy the
68648         symlist and the sysdep abilist file.  Remove update-abi-config
68649         checks.
68650         * abilist/ld.abilist: Remove.
68651         * abilist/libBrokenLocale.abilist: Remove.
68652         * abilist/libanl.abilist: Remove.
68653         * abilist/libcrypt.abilist: Remove.
68654         * abilist/libdl.abilist: Remove.
68655         * abilist/librt.abilist: Remove.
68656         * abilist/libthread_db.abilist: Remove.
68657         * abilist/libutil.abilist: Remove.
68658         * scripts/extract-abilist.awk: Remove.
68659         * scripts/merge-abilist.awk: Remove.
68660         * sysdeps/generic/libcidn.abilist: New file.
68661         * sysdeps/generic/libnss_compat.abilist: New file.
68662         * sysdeps/generic/libnss_db.abilist: New file.
68663         * sysdeps/generic/libnss_dns.abilist: New file.
68664         * sysdeps/generic/libnss_files.abilist: New file.
68665         * sysdeps/generic/libnss_hesiod.abilist: New file.
68666         * sysdeps/generic/libnss_nis.abilist: New file.
68667         * sysdeps/generic/libnss_nisplus.abilist: New file.
68668         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68669         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68670         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68671         file.
68672         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68673         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68674         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68675         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68676         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68677         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68678         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68679         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68680         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68681         file.
68682         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68683         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68684         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68685         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68686         file.
68687         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68688         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68689         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68690         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68691         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68692         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68693         file.
68694         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68695         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68696         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68697         file.
68698         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68699         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68700         New file.
68701         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68702         New file.
68703         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68704         New file.
68705         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68706         New file.
68707         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68708         New file.
68709         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68710         New file.
68711         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68712         New file.
68713         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68714         New file.
68715         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68716         New file.
68717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68718         New file.
68719         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68720         New file.
68721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68722         New file.
68723         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68724         New file.
68725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68726         file.
68727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68728         New file.
68729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68730         New file.
68731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68732         file.
68733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68734         New file.
68735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68736         New file.
68737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68738         file.
68739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68740         New file.
68741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68742         New file.
68743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68744         New file.
68745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68746         New file.
68747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68748         New file.
68749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68750         New file.
68751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68753         file.
68754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68755         New file.
68756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68757         file.
68758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68759         file.
68760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68761         file.
68762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68763         file.
68764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68765         file.
68766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68767         New file.
68768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68769         file.
68770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68771         file.
68772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68773         New file.
68774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68775         file.
68776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68778         file.
68779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68780         New file.
68781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68782         file.
68783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68784         file.
68785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68786         file.
68787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68788         file.
68789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68790         file.
68791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68792         New file.
68793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68794         file.
68795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68796         file.
68797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68798         New file.
68799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68800         file.
68801         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68802         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68803         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68804         file.
68805         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68806         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68807         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68808         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68809         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68810         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68811         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68812         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68813         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68814         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68817         file.
68818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68819         New file.
68820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68821         file.
68822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68823         file.
68824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68825         file.
68826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68827         file.
68828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68829         file.
68830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68831         New file.
68832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68833         New file.
68834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68835         file.
68836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68837         New file.
68838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68839         file.
68840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68842         file.
68843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68844         New file.
68845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68846         file.
68847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68848         file.
68849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68850         file.
68851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68852         file.
68853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68854         file.
68855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68856         New file.
68857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68858         New file.
68859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68860         file.
68861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68862         New file.
68863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68864         file.
68866 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68868         * conform/conformtest.pl: Fix typo in handling typed-constant from
68869         allow-header.
68871 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68873         * README: Cut down references to pre-2.6 Linux kernels and
68874         Linuxthreads.  Update lists of configurations in libc and ports
68875         and sort alphabetically.  Say "or newer" with Linux kernel version
68876         requirements.
68878         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68880 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68882         [BZ #887]
68883         * math/libm-test.inc (logb_test_downward): New test to expose
68884         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68885         rounding mode.
68887 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68889         [BZ #14027]
68890         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68891         to be done.
68892         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68893         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68895 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68897         * sysdeps/unix/i386/brk.S: Remove file.
68898         * sysdeps/unix/i386/dl-brk.S: Likewise.
68899         * sysdeps/unix/i386/pipe.S: Likewise.
68900         * sysdeps/unix/i386/sigreturn.S: Likewise.
68901         * sysdeps/unix/i386/syscall.S: Likewise.
68902         * sysdeps/unix/i386/vfork.S: Likewise.
68903         * sysdeps/unix/i386/wait.S: Likewise.
68905         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68906         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68908         * configure.in (arm*-none*): Do not allow without
68909         --enable-hacker-mode.
68910         (netbsd*): Remove case setting base_os.
68911         (386bsd*): Likewise.
68912         (freebsd*): Likewise.
68913         (bsdi*): Likewise.
68914         (osf*): Likewise.
68915         (sunos*): Likewise.
68916         (ultrix*): Likewise.
68917         (newsos*): Likewise.
68918         (dynix*): Likewise.
68919         (*bsd*): Likewise.
68920         (sysv*): Likewise.
68921         (isc*): Likewise.
68922         (esix*): Likewise.
68923         (sco*): Likewise.
68924         (minix*): Likewise.
68925         (irix4*): Likewise.
68926         (irix6*): Likewise.
68927         (solaris[2-9]*): Likewise.
68928         (none): Likewise.
68929         * configure: Regenerated.
68931 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68933         [BZ #11521]
68934         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68935         overflow or cancellation in calculating denominator.
68936         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68937         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68938         down expression to avoid unexpected rounding in newer GCCs.
68939         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68941 2012-04-26  David S. Miller  <davem@davemloft.net>
68943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68944         long-double compat symbols.
68945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68959 2012-04-25  David S. Miller  <davem@davemloft.net>
68961         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68962         HWCAP_* values only after the memory barriers have been defined.
68963         (atomic_full_barrier): Define.
68964         (atomic_read_barrier): Define.
68965         (atomic_write_barrier): Define.
68967 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68969         * shlib-versions: Add libgcc_s version information.
68970         * sysdeps/generic/libgcc_s.h: Remove.
68971         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68972         libgcc_s.h.
68973         * sysdeps/gnu/unwind-resume.c: Likewise.
68974         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68976 2012-04-25  David S. Miller  <davem@davemloft.net>
68978         * sysdeps/unix/sparc/brk.S: Delete.
68979         * sysdeps/unix/sparc/dl-brk.S: Delete.
68980         * sysdeps/unix/sparc/pipe.S: Delete.
68981         * sysdeps/unix/sparc/sysdep.S: Delete.
68982         * sysdeps/unix/sparc/sysdep.h: Delete.
68983         * sysdeps/unix/sparc/vfork.S: Delete.
68984         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68985         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68986         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68987         (ret_ERRVAL, r0, r1, MOVE): Define.
68988         (JUMPTARGET): Remove.
68989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68990         sysdeps/unix/sparc/sysdep.h
68991         (ENTRY, END): Remove.
68992         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68994 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68996         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68997         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68998         -DIS_IN_build.
69000         * timezone/README: Update upstream location and email address for
69001         tzcode and tzdata.
69002         * timezone/zdump.c: Update from tzcode 2012b.
69003         * timezone/zic.c: Likewise.
69005         * configure.in (libc_cv_as_needed): Remove test.
69006         * configure: Regenerated.
69007         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69008         conditional definition.
69009         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69010         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69011         * config.make.in (have-as-needed): Remove variable.
69013 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69014             Paul Pluzhnikov  <ppluzhnikov@google.com>
69016         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69017         strings correctly.
69019 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69021         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69022         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69023         * sysdeps/sh/strlen.S: Likewise.
69025 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69027         * sysdeps/unix/fork.S: Remove file.
69028         * sysdeps/unix/i386/fork.S: Likewise.
69029         * sysdeps/unix/sparc/fork.S: Likewise.
69031         * sysdeps/unix/system.c: Remove file.
69032         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69034         * sysdeps/unix/getegid.S: Remove file.
69035         * sysdeps/unix/geteuid.S: Likewise.
69037 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69039         * scripts/check-localplt.awk: New file.
69040         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69041         of diff.
69042         * scripts/data/localplt-generic.data: Add a comment.
69044         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69045         NODE when __dir_mkfile failed.
69046         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69047         Reported by Ludovic Courtès <ludo@gnu.org>.
69049 2012-04-24  Andreas Jaeger  <aj@suse.de>
69051         * Makerules (common-clean): Also remove gen-as-const-headers
69052         files.
69054 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69056         * Makerules (native-compile): Do not change working directory for
69057         build.  Use $(OUTPUT_OPTION) in command.
69058         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69060 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69062         [BZ #13886]
69063         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69064         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69065         * math/libm-test.inc (floor_test): Add more tests.
69066         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69068 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69070         * sysdeps/unix/getdents.c: Remove file.
69071         * sysdeps/unix/sysv/getdents.c: Likewise.
69072         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69074         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69075         sysdeps/unix/mman/syscalls.list.
69076         (mmap): Likewise.
69077         (mprotect): Likewise.
69078         (msync): Likewise.
69079         (munmap): Likewise.
69080         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69081         * sysdeps/unix/mman/syscalls.list: Remove.
69082         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69084         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69085         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69086         * configure: Regenerated.
69087         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69088         $(libgcc_s_suffix).
69089         * config.make.in (libgcc_s_suffix): Remove variable.
69091 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69093         * sysdeps/unix/sysv/gethostname.c: Move to ...
69094         * sysdeps/posix/gethostname.c: ... here.
69096         * sysdeps/unix/execve.S: Remove file.
69098         * sysdeps/unix/_exit.S: Remove file.
69100 2012-04-23  Andreas Jaeger  <aj@suse.de>
69102         [BZ #13739]
69103         * manual/Makefile: Remove make dist support, there's no
69104         need for a stand-alone documentation tar ball.
69105         (TEXI2DVI): Define always, it's not in Makeconfig.
69106         (dist): Removed.
69107         (tar-it): Removed.
69108         (edition): Removed.
69109         (glibc-doc-$(edition).tar): Removed
69110         (%.Z): Removed.
69111         (%.gz): Removed.
69112         (%.uu): Removed.
69113         (ETAGS): Remove, it's in Makeconfig.
69114         (move-if-change): Remove, it's in Makeconfig.
69116 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69118         [BZ #13970]
69119         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69120         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69121         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69122         (strtod_l, strtof_l, strtold_l): Remove __wur.
69123         It is not necessarily an error to ignore strtol's return value.
69124         One can reliably look at the stored endptr to decide whether
69125         the number had valid syntax.
69127 2012-04-21  Andreas Jaeger  <aj@suse.de>
69129         [BZ #13739]
69130         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69132 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69134         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69135         * sysdeps/unix/sysv/Versions: Remove file.
69137 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69139         [BZ #13927]
69140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69142 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69144         [BZ #7064]
69145         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69146         version from __vm86.
69148 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69150         * sysdeps/unix/common/lxstat.c: Remove file.
69151         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69153         * sysdeps/unix/sysv/Makefile: Remove file.
69155         * sysdeps/unix/sysv/direct.h: Remove file.
69157         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69158         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69159         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69160         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69161         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69162         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69163         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69165         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69167         * sysdeps/unix/xmknod.c: Remove file.
69168         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69170         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69172         * sysdeps/unix/sysv/i386/time.S: Remove file.
69174         * sysdeps/unix/fxstat.c: Remove file.
69175         * sysdeps/unix/xstat.c: Likewise.
69176         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69178         * sysdeps/unix/sysv/sigaction.c: Remove file.
69180         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69181         (sysdep_headers): Remove variable.
69182         [termio.h not in sysdep_headers] (generated): Likewise.
69183         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69184         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69185         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69186         * sysdeps/unix/sysv/tcflow.c: Likewise.
69187         * sysdeps/unix/sysv/tcflush.c: Likewise.
69188         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69189         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69190         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69191         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69192         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69194         * sysdeps/unix/siglist.c: Remove file.
69196         * sysdeps/unix/getppid.S: Remove file.
69198         * sysdeps/unix/mkdir.c: Remove file.
69199         * sysdeps/unix/rmdir.c: Likewise.
69201 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69203         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69204         ERR_MAX value.
69205         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69206         errlist-compat value.
69208 2012-04-18  David S. Miller  <davem@davemloft.net>
69210         * sysdeps/generic/memcopy.h (reg_char): Delete.
69211         * debug/strcat_chk.c: Use char, not reg_char.
69212         * debug/strcpy_chk.c: Likewise.
69213         * debug/strncat_chk.c: Likewise.
69214         * debug/strncpy_chk.c: Likewise.
69215         * string/memchr.c: Likewise.
69216         * string/memrchr.c: Likewise.
69217         * string/rawmemchr.c: Likewise.
69218         * string/strcat.c: Likewise.
69219         * string/strchr.c: Likewise.
69220         * string/strchrnul.c: Likewise.
69221         * string/strcmp.c: Likewise.
69222         * string/strcpy.c: Likewise.
69223         * string/strncat.c: Likewise.
69224         * string/strncmp.c: Likewise.
69225         * string/strncpy.c: Likewise.
69227 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69229         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69230         __builtin_memcopy is called when src and dest ranges are known to not
69231         overlap.
69233 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69235         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69236         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69237         fwd_align_merge macro call.
69238         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69239         bwd_align_merge macro call.
69240         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69242 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69244         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69245         bwd_align_merge macros.
69246         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69247         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69248         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69250 2012-04-18  David S. Miller  <davem@davemloft.net>
69252         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69254 2012-04-18  Andreas Jaeger  <aj@suse.de>
69256         [BZ# 6794]
69257         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69258         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69259         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69261         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69262         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69263         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69265         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69266         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69267         Adjust for changed ldbl-128 files.
69269         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69270         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69271         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69273 2012-04-17  David S. Miller  <davem@davemloft.net>
69275         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69277 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69279         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69280         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69281         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69282         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69283         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69284         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69286 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69288         [BZ #6794]
69289         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69290         * math/libm-test.inc: Add ilogb errno and exception tests.
69291         * math/w_ilogb.c: New file: ilogb wrapper.
69292         * math/w_ilogbf.c: New file: ilogbf wrapper.
69293         * math/w_ilogbl.c: New file: ilogbl wrapper.
69294         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69295         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69296         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69297         exception being thrown with 0.0 as argument.
69298         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69299         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69300         exception being thrown with 0.0 as argument.
69301         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69302         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69303         exception being thrown with 0.0 as argument.
69304         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69305         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69306         exception being thrown with 0.0 as argument.
69307         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69308         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69309         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69310         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69311         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69312         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69313         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69314         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69315         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69317 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69319         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69320         with altivec.
69322 2012-04-16  Marek Polacek  <polacek@redhat.com>
69324         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69326 2012-04-16  Marek Polacek  <polacek@redhat.com>
69328         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69329         operands of fdivp instruction.
69331 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69333         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69334         * elf/tst-auditmod3b.c: Likewise.
69335         * elf/tst-auditmod4b.c: Likewise.
69336         * elf/tst-auditmod5b.c: Likewise.
69337         * elf/tst-auditmod6b.c: Likewise.
69338         * elf/tst-auditmod6c.c: Likewise.
69339         * elf/tst-auditmod7b.c: Likewise.
69340         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69341         * sysdeps/x86_64/preconfigure.in: Likewise.
69342         * sysdeps/x86_64/preconfigure: Regenerated.
69344 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69346         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69347         __ILP32__.
69349 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69351         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69352         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69354 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69356         [BZ #13973]
69357         * locale/iso-639.def: Fix gl language name. Spotted by
69358         Yaron Shahrabani.
69360 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69362         [BZ #2074]
69363         * libio/libio.h (__io_write_fn): Update comment.
69365 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69367         [BZ #2074]
69368         * stdio.texi (Hook Functions): The user provided writer function
69369         is not allowed to return -1.
69371 2012-04-11  David S. Miller  <davem@davemloft.net>
69373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69375 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69377         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69378         Add a leading slash to rtkaio.
69380 2012-04-11  Jim Meyering  <meyering@redhat.com>
69382         [BZ #11959]
69383         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69384         It is not necessarily an error to ignore fwrite's return
69385         value.  One can reliably use ferror to test for errors after
69386         the fact.
69388 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69390         * bits/types.h (__snseconds_t): New type.
69391         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69393         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69394         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69395         (__SNSECONDS_T_TYPE): Likewise.
69396         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69397         (__SNSECONDS_T_TYPE): Likewise.
69398         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69399         (__SNSECONDS_T_TYPE): Likewise.
69401 2012-04-10  Andreas Jaeger  <aj@suse.de>
69403         [BZ #2636]
69404         * manual/time.texi (Processor Time): Return type of times is
69405         elapsed real time since an arbitrary point in the past.
69406         (CPU Time): Move CLK_TCK from here...
69407         (Processor Time): ...to here.  Correct description.
69408         * manual/conf.texi (Constants for Sysconf): Correct description of
69409         _SC_CLK_TCK.
69411 2012-04-10  David S. Miller  <davem@davemloft.net>
69413         [BZ #13967]
69414         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69415         where the is a gap between DT_REL(A) and DT_JMPREL.
69417 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69419         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69420         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69421         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69423 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69425         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69426         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69427         (dl_main): Handle --inhibit-cache.
69428         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69429         _dl_inhibit_cache.
69430         * elf/dl-load.c (_dl_map_object): Use it.
69431         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69433 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69435         [BZ #13872]
69436         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69437         (__ieee754_powl): Saturate large exponents rather than testing for
69438         overflow of y*log2(x).
69439         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69440         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69441         exceptions.
69443         [BZ #11521]
69444         * math/s_ctan.c: Include <float.h>.
69445         (__ctan): Avoid internal overflow or cancellation in calculating
69446         denominator.
69447         * math/s_ctanf.c: Likewise.
69448         * math/s_ctanl.c: Likewise.
69449         * math/s_ctanh.c: Likewise.
69450         * math/s_ctanhf.c: Likewise.
69451         * math/s_ctanhl.c: Likewise.
69452         * math/libm-test.inc (ctan_test): Add more tests.
69453         (ctanh_test): Likewise.
69454         * sysdeps/i386/fpu/libm-test-ulps: Update.
69455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69457 2012-04-09  Andreas Jaeger  <aj@suse.de>
69459         [BZ #6894]
69460         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69461         is an optional BSD extension.
69463         [BZ #10254]
69464         * manual/stdio.texi (Opening Streams): Document additional fopen
69465         parameters.
69467 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69469         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69470         %eax without telling the compiler.
69472 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69474         [BZ # 13963]
69475         * manual/install.texi: Use sourceware.org.
69477 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69479         [BZ #13873]
69480         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69481         (__ieee754_pow): Generate overflow and underflow using huge*huge
69482         and tiny*tiny rather than just returning constant infinity or zero
69483         for large exponents.
69484         * math/libm-test.inc (pow_test): Require overflow exceptions for
69485         applicable cases of large exponents.
69487         [BZ #706]
69488         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69489         (__ieee754_pow): Use iterative multiplication algorithm only for
69490         integer exponents with absolute value below 1024.  Check for odd
69491         integer exponents when using algorithm for real exponents.
69492         * math/libm-test.inc (pow_test): Add more tests.
69493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69495 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69497         [BZ #13705]
69498         * math/libm-test.inc (exp_test): Do not allow overflow exception
69499         on underflow test.
69501 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69503         [BZ #13705]
69504         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69505         instead of __kernel_standard_f.
69507 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69509         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69510         * sysdeps/x86_64/memset_chk.S: Likewise.
69512 2012-04-08  Andreas Jaeger  <aj@suse.de>
69514         [BZ #10153]
69515         * manual/startup.texi (Environment Access): Describe return value
69516         for putenv and setenv.
69518         [BZ #6895]
69519         * manual/filesys.texi (Directory Entries): Add description for
69520         DT_LNK.
69522         [BZ #6890]
69523         * manual/filesys.texi (Directory Entries): Clarify that it's file
69524         system not operating system in the description of DT_UNKNOWN.
69526         [BZ #6578]
69527         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69529 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69531         [BZ #6649]
69532         * manual/llio.texi (Opening and Closing Files): Add cross
69533         reference to explain mode argument.
69535 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69537         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69538         * sysdeps/x86_64/memset_chk.S: Likewise.
69540 2012-04-07  David S. Miller  <davem@davemloft.net>
69542         * elf/elf.h (R_SPARC_WDISP10): Define.
69543         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69544         R_SPARC_SIZE32.
69545         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69546         R_SPARC_SIZE64 and R_SPARC_H34.
69548 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69550         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69551         conditions and remove no longer applicable assertion.
69553 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69555         * bits/byteswap.h: Include <features.h>.
69556         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69557         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69559 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69561         * bits/byteswap.h (__bswap_16): Removed.
69562         Include <bits/byteswap-16.h> to get __bswap_16.
69563         * sysdeps/i386/bits/byteswap.h: Likewise.
69564         * sysdeps/s390/bits/byteswap.h: Likewise.
69565         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69566         * bits/byteswap-16.h: New file.
69567         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69568         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69569         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69570         * string/Makefile (headers): Add bits/byteswap-16.h.
69572 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69574         [BZ #13895]
69575         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69576         extra indirection.
69577         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69578         * nss/tst-nss-static.c: New.
69580 2012-04-06  Robert Millan  <rmh@gnu.org>
69582         [BZ #6486]
69583         * manual/llio.texi (File Position Primitive): lseek
69584         refers to WHENCE when it really means OFFSET.
69586 2012-04-06  Andreas Jaeger  <aj@suse.de>
69588         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69589         strncmp declarations.
69591         * abilist/libc.abilist: Add __poll and __ppoll.
69593 2012-04-05  David S. Miller  <davem@davemloft.net>
69595         * scripts/check-local-headers.sh: Accept a host triplet in the
69596         path matched by the exclude regexp.
69598         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69599         definition.
69600         * sysdeps/powerpc/powerpc32/dl-machine.h
69601         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69602         * sysdeps/s390/s390-32/dl-machine.h
69603         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69604         * sysdeps/sparc/sparc32/dl-machine.h
69605         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69606         * sysdeps/sparc/sparc64/dl-machine.h
69607         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69609         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69610         lazy binding.
69611         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69612         undefined symbol errors.
69614         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69615         DT_NEEDED entries.
69617 2012-04-05  Michael Matz  <matz@suse.de>
69619         [BZ #13592]
69620         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69622 2012-04-05  Andreas Jaeger  <aj@suse.de>
69624         [BZ #13908]
69625         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69626         comment.
69628 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69630         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69631         which ROUND is no valid rounding mode.
69633 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69635         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69636         read again.
69637         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69639 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69641         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69642         an exception using FPU order intentionally.
69644 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69646         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69647         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69648         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69649         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69651 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69653         [BZ #12340]
69654         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69655         EINVAL when BUFLEN is too smal.
69657 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69659         [BZ #13553]
69660         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69661         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69663 2012-04-03  Andreas Jaeger  <aj@suse.de>
69665         [BZ #13938]
69666         * manual/setjmp.texi (System V contexts): Fix sentence.
69668         [BZ #13926]
69669         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69670         New macro for this case.
69671         [!__GNUC__] (__bswap_64): New inline function for this case.
69672         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69673         * bits/byteswap.h: Likewise.
69674         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69675         ull, guard with __GLIBC_HAVE_LONG_LONG.
69677         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69678         __GLIBC_HAVE_LONG_LONG.
69680         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69681         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69683 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69685         [BZ #13691]
69686         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69687         inptr and inend, rather than using last_ch.
69689 2012-04-02  David S. Miller  <davem@davemloft.net>
69691         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69692         * stdio-common/printf-parse.h (read_int): Change return type to
69693         'int', return -1 on INT_MAX overflow.
69694         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69695         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69696         overflows INT_MAX.  Check for overflow of in-format-string precision
69697         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69698         SIZE_MAX not INT_MAX for integer overflow test.
69699         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69700         skip the construct in the format string but do not record anything.
69701         * stdio-common/bug22.c: Adjust to test both width/prevision
69702         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69703         explicitly for proper errno values.
69705 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69707         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69708         CHAR_MAX.
69709         * string/test-strcmp.c [! WIDE]: Likewise.
69710         * time/tst-mktime2.c: Likewise for INT_MAX.
69711         * string/test-string.h: #include <sys/param.h> for MIN.
69713         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69714         * sysdeps/i386/init-first.c (init): Likewise.
69715         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69716         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69717         * sysdeps/sh/init-first.c (init): Likewise.
69719 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69721         * po/ru.po: Update from translation team.
69722         * po/vi.po: Likewise.
69724 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69726         * resolv/nss_dns/dns-host.c: Merge copyright years.
69728 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69730         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69731         Optimize memcpy with prefetch if
69732         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69733         src, dst pointers have unequal 16 byte alignments.
69735 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69737         [BZ #13928]
69738         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69739         from a CNAME entry and return the minimum ttl for the query.
69740         (gaih_getanswer_slice): Likewise.
69742 2012-03-30  Jeff Law  <law@redhat.com>
69744         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69745         due to long keys.
69746         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69747         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69749         * resolv/nss_dns/dns-host.c: Update copyright year.
69751 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69753         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69754         requests to save a system call.  Fix check that all bytes are sent.
69756         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69757         comments for sendmmsg.
69759 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69761         [BZ #13691]
69762         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69763         with only 1 character between 0x0041 and 0x01b0.
69764         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69765         * wcsmbs/tst-mbsnrtowcs.c: New file.
69767 2012-03-29  David S. Miller  <davem@davemloft.net>
69769         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69770         small copies by hand.
69772 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69774         [BZ #13761]
69775         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69776         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69777         group memberships.
69779 2012-03-28  David S. Miller  <davem@davemloft.net>
69781         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69782         that branches into memcpy.
69783         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69784         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69785         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69786         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69787         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69788         bits.
69789         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69790         implementation too.
69791         * sysdeps/sparc/mempcpy.S: New file.
69793         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69794         the IFUNC routine in the libc case.
69795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69797         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69798         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69799         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69800         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69801         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69802         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69803         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69804         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69806         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69807         loop to 256 bytes instead of 64 bytes and fix test signedness.
69809         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69810         * sysdeps/sparc/sparc32/Makefile: rather than here...
69811         * sysdeps/sparc/sparc64/Makefile: and here.
69813 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69815         * malloc/mallocbug.c: Avoid warnings about unused variables.
69817 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69819         [BZ #13760]
69820         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69821         in the right place. Discard and retry query if response is
69822         larger than input buffer size.
69824 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69826         [BZ #369]
69827         [BZ #2678]
69828         [BZ #3866]
69829         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69830         x for large integer exponent.
69831         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69832         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69833         sign of result as needed afterwards.
69834         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69835         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69836         result for underflowing pow the same as for overflow.
69837         (__kernel_standard_l): Handle powl overflow and underflow here
69838         rather than calling __kernel_standard.
69839         * math/libm-test.inc (pow_test): Add more tests.
69841         [BZ #3868]
69842         [BZ #13879]
69843         [BZ #13910]
69844         [BZ #13911]
69845         [BZ #13912]
69846         [BZ #13913]
69847         [BZ #13915]
69848         [BZ #13916]
69849         [BZ #13917]
69850         [BZ #13918]
69851         [BZ #13919]
69852         [BZ #13920]
69853         [BZ #13921]
69854         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69855         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69856         (__kernel_standard_l): New function.
69857         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69858         __kernel_standard.
69859         * math/w_acosl.c (__acosl): Likewise.
69860         * math/w_asinl.c (__asinl): Likewise.
69861         * math/w_atan2l.c (__atan2l): Likewise.
69862         * math/w_atanhl.c (__atanhl): Likewise.
69863         * math/w_coshl.c (__coshl): Likewise.
69864         * math/w_exp10l.c (__exp10l): Likewise.
69865         * math/w_exp2l.c (__exp2l): Likewise.
69866         * math/w_fmodl.c (__fmodl): Likewise.
69867         * math/w_hypotl.c (__hypotl): Likewise.
69868         * math/w_j0l.c (__j0l, __y0l): Likewise.
69869         * math/w_j1l.c (__j1l, __y1l): Likewise.
69870         * math/w_jnl.c (__jnl, __ynl): Likewise.
69871         * math/w_lgammal.c (__lgammal): Likewise.
69872         * math/w_log10l.c (__log10l): Likewise.
69873         * math/w_log2l.c (__log2l): Likewise.
69874         * math/w_logl.c (__logl): Likewise.
69875         * math/w_powl.c (__powl): Likewise.
69876         * math/w_remainderl.c (__remainderl): Likewise.
69877         * math/w_scalbl.c (sysv_scalbl): Likewise.
69878         * math/w_sinhl.c (__sinhl): Likewise.
69879         * math/w_sqrtl.c (__sqrtl): Likewise.
69880         * math/w_tgammal.c (__tgammal): Likewise.
69881         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69882         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69883         * math/libm-test.inc (acos_test): Add more tests.
69884         (acosh_test): Likewise.
69885         (asin_test): Likewise.
69886         (atanh_test): Likewise.
69887         (exp_test): Likewise.
69888         (exp10_test): Likewise.
69889         (exp2_test): Likewise.
69890         (expm1_test): Likewise.
69891         (lgamma_test): Likewise.
69892         (log_test): Likewise.
69893         (log10_test): Likewise.
69894         (log1p_test): Likewise.
69895         (log2_test): Likewise.
69896         (pow_test): Do not allow some spurious overflow exceptions.
69897         (sqrt_test): Add more tests.
69898         (tgamma_test): Likewise.
69899         (y0_test): Likewise.
69900         (y1_test): Likewise.
69901         (yn_test): Likewise.
69903 2012-03-27  Anton Blanchard  <anton@samba.org>
69905         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69906         MAP_HUGETLB.
69907         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69908         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69909         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69911 2012-03-27  David S. Miller  <davem@davemloft.net>
69913         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69915         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69916         have-as-vis3 check.
69918 2012-03-27  Andreas Jaeger  <aj@suse.de>
69920         * sysdeps/x86_64/elf/configure.in: Moved to ...
69921         * sysdeps/x86_64/configure.in: ... here.
69922         * sysdeps/x86_64/elf/start.S: Moved to ...
69923         * sysdeps/x86_64/start.S: ... here.
69924         * sysdeps/x86_64/elf/configure: Delete.
69926         * sysdeps/x86_64/configure.in: Merge contents from
69927         sysdeps/i386/configure.in (without i686 check).
69929         * sysdeps/i386/elf/Versions: Merge into ...
69930         * sysdeps/i386/Versions: ... this.
69931         * sysdeps/i386/elf/Versions: Delete file.
69932         * sysdeps/i386/elf/start.S: Moved to ...
69933         * sysdeps/i386/start.S: ...here.
69934         * sysdeps/i386/elf/configure.in: Merge into...
69935         * sysdeps/i386/configure.in: ...here.
69936         * sysdeps/i386/elf/configure.in: Delete file.
69937         * sysdeps/i386/elf/configure: Delete file.
69939         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69940         * debug/backtracesyms.c: ... here.
69941         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69942         * debug/backtracesymsfd.c: ... here.
69943         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69944         * sysdeps/generic/ifunc-sel.h: ... here.
69946         * sysdeps/unix/i386/start.c: Delete file.
69947         * sysdeps/unix/sparc/start.c: Delete file.
69948         * sysdeps/unix/start.c: Delete file.
69950         * sysdeps/sh/elf/configure.in: Moved to ...
69951         * sysdeps/sh/configure.in: ... here.
69952         * sysdeps/sh/elf/start.S: Moved to ...
69953         * sysdeps/sh/start.S: ... here.
69954         * sysdeps/sh/elf/configure: Delete file.
69956         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69957         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69958         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69959         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69960         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69961         * sysdeps/powerpc/powerpc64/start.S: here.
69962         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69963         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69964         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69965         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69966         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69968         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69969         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69970         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69971         * sysdeps/powerpc/powerpc32/start.S: ... here.
69972         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69973         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69974         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69976         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69977         * sysdeps/powerpc/ifunc-sel.h: ... here.
69978         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69979         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69981         * sysdeps/sparc/elf/configure.in: Moved to ...
69982         * sysdeps/sparc/configure.in: ... here.
69983         * sysdeps/sparc/elf/configure: Delete file.
69984         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69985         * sysdeps/sparc/sparc32/start.S: ... here.
69986         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69987         * sysdeps/sparc/sparc64/start.S: ... here.
69988         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69989         * sysdeps/sparc/sparc32/Makefile: ... this.
69990         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69991         * sysdeps/sparc/sparc64/Makefile: ... this.
69993         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69994         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69995         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69996         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69997         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69998         * sysdeps/s390/s390-32/setjmp.S: ... here.
69999         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70000         * sysdeps/s390/s390-32/configure.in: ... here.
70001         * sysdeps/s390/s390-32/elf/configure: Delete file.
70002         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70003         * sysdeps/s390/s390-32/start.S: ... here.
70005         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70006         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70007         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70008         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70009         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70010         * sysdeps/s390/s390-64/setjmp.S: ... here.
70011         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70012         * sysdeps/s390/s390-64/configure.in: ... here
70013         * sysdeps/s390/s390-64/elf/configure: Delete file.
70014         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70015         * sysdeps/s390/s390-64/start.S: ... here.
70016         * sysdeps/s390/s390-64/elf/configure: Delete.
70018         * configure.in: Remove support for elf directories in sysdeps.
70020         * configure: Regenerated.
70021         * sysdeps/i386/configure: Regenerated.
70022         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70023         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70024         * sysdeps/s390/s390-32/configure: Regenerated.
70025         * sysdeps/s390/s390-64/configure: Regenerated.
70026         * sysdeps/sh/configure: Regenerated.
70027         * sysdeps/sparc/configure: Regenerated.
70028         * sysdeps/x86_64/configure: Regenerated.
70030 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70034         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70035         denormal result into account.
70037 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70039         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70040         Reported by Allan McRae <allan@archlinux.org>.
70042 2012-03-23  Jeff Law  <law@redhat.com>
70044         * nss/getnssent.c (__nss_getent): Fix typo.
70046 2012-03-23  David S. Miller  <davem@davemloft.net>
70048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70050 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70052         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70053         to pad to uint64_t for each field.
70054         (dl_tls_index): Replace unsigned long with uint64_t.
70056 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70057         Paul Pluzhnikov  <ppluzhnikov@google.com>
70059         [BZ #6528]
70060         * grp/Makefile (otherlibs): Don't set it.
70061         * inet/Makefile (otherlibs): Likewise.
70062         * login/Makefile (otherlibs): Likewise.
70063         * nscd/Makefile (otherlibs): Likewise.
70064         * posix/Makefile (otherlibs): Likewise.
70065         * pwd/Makefile (otherlibs): Likewise.
70066         * rt/Makefile (otherlibs): Likewise.
70067         * sunrpc/Makefile (otherlibs): Likewise.
70068         * nss/Makefile (otherlibs): Likewise.
70069         Add libnss_files to routines and static-only-routines.
70070         ($(objpfx)getent): Remove rule.
70071         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70072         static-only-routines.
70074 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70076         [BZ #13892]
70077         * math/s_cexp.c: Include <float.h>.
70078         (__cexp): Handle exp result overflowing not necessarily
70079         overflowing both real and imaginary parts of result.
70080         * math/s_cexpf.c: Likewise.
70081         * math/s_cexpl.c: Likewise.
70082         * math/libm-test.inc (cexp_test): Add more tests.
70083         * sysdeps/i386/fpu/libm-test-ulps: Update.
70084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70086 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70088         * include/link.h (ELFW): New macro.
70089         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70090         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70092 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70094         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70095         with uint64_t.
70097 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70099         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70100         declaration.
70101         (struct La_x32_retval): Likewise.
70103 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70105         * sysdeps/x86_64/preconfigure.in: New file.
70106         * sysdeps/x86_64/preconfigure: New generated file.
70108 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70110         [BZ #13824]
70111         * math/e_exp2l.c: Include <float.h>.
70112         (__ieee754_exp2l): Handle overflow and underflow cases
70113         separately.  Only pass fractional part of argument to
70114         __ieee754_expl.
70115         * math/libm-test.inc (exp2_test): Add more tests.
70117         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70118         negating x to take absolute value.
70119         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70120         Likewise.
70121         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70122         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70123         Likewise.
70124         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70125         computing low part if x was negated.
70126         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70128 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70130         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70131         la_x32_gnu_pltexit.
70132         (pltexit): Cast int_retval to ptrdiff_t.
70133         * elf/tst-auditmod3b.c: Likewise.
70134         * elf/tst-auditmod4b.c: Likewise.
70135         * elf/tst-auditmod5b.c: Likewise.
70136         * elf/tst-auditmod6b.c: Likewise.
70137         * elf/tst-auditmod6c.c: Likewise.
70138         * elf/tst-auditmod7b.c: Likewise.
70140         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70141         and x32_gnu_pltexit.
70143         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70144         __ELF_NATIVE_CLASS.
70145         (La_x32_regs): New macro.
70146         (La_x32_retval): Likewise.
70147         (la_x32_gnu_pltenter): New function prototype.
70148         (la_x32_gnu_pltexit): Likewise.
70150 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70153         exponent.
70155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70157         * configure.in (libc_cv_cc_nofma): Check for option to disable
70158         generation of FMA instructions.
70159         * configure: Regenerate.
70160         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70161         * sysdeps/ieee754/dbl-64/Makefile: New file.
70162         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70163         Remove brandred-fma4.
70164         (CFLAGS-brandred-fma4.c): Remove.
70165         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70166         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70167         define.
70168         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70169         define.
70171 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70173         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70174         LLONG_MAX != LONG_MAX.
70175         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70176         (_fitoa_word): Likewise.
70177         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70178         LLONG_MAX != LONG_MAX.
70179         * stdio-common/_itowa.h: Include <_itoa.h>.
70180         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70181         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70182         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70183         only if not defined.
70184         (_ITOA_WORD_TYPE): Likewise.
70185         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70186         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70188 2012-03-21  David S. Miller  <davem@davemloft.net>
70190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70192 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70194         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70195         of x86_64 when setting libc_cv_slibdir, libdir and
70196         libc_cv_localedir.
70197         * sysdeps/unix/sysv/linux/configure: Regenerated.
70199 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70201         * manual/lang.texi (Old Varargs): Remove section.
70202         (How Variadic): Update menu.
70203         (va_start): Do not mention varargs.h.
70205 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70206             Joseph Myers  <joseph@codesourcery.com>
70208         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70209         link test.
70210         * configure: Regenerated.
70212 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70214         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70215         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70216         conformtest.pl
70218 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70220         * NOTES: Remove.
70221         * Makefile (files-for-dist): Remove NOTES.
70222         (NOTES): Remove rule.
70223         * README: Don't refer to NOTES.
70224         * manual/creature.texi: Don't include macros.texi.
70225         * manual/intro.texi (creature.texi): Remove comment referring to
70226         NOTES.
70228         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70229         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70230         * configure: Regenerated.
70231         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70232         LIBC_TRY_CC_OPTION.
70233         (libc_cv_as_i686): Likewise.
70234         (libc_cv_cc_avx): Likewise.
70235         (libc_cv_cc_sse2avx): Likewise.
70236         (libc_cv_cc_fma4): Likewise.
70237         (libc_cv_cc_novzeroupper): Likewise.
70238         * sysdeps/i386/configure: Regenerated.
70240         [BZ #13883]
70241         * sysdeps/i386/fpu/s_cexp.S: Remove.
70242         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70243         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70244         * math/libm-test.inc (cexp_test): Add more tests.
70245         * sysdeps/i386/fpu/libm-test-ulps: Update.
70246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70248 2012-03-21  Allan McRae  <allan@archlinux.org>
70250         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70252 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70254         [BZ #13871]
70255         * math/w_exp2.c: Do not include <float.h>.
70256         (o_threshold, u_threshold): Remove.
70257         (__exp2): Calculate result before checking finiteness and calling
70258         __kernel_standard.
70259         * math/w_exp2f.c: Likewise.
70260         * math/w_exp2l.c: Likewise.
70261         * math/libm-test.inc (exp2_test): Require overflow exception for
70262         1e6 input.
70264         [BZ #3866]
70265         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70266         range of signed 64-bit integers before using fistpll.  Remove
70267         checks for whether integers fit in mantissa bits.
70268         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70269         the range of signed 32-bit integers before using fistpl.  Remove
70270         checks for whether integers fit in mantissa bits.
70271         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70272         (__ieee754_powl): Test for y outside the range of signed 64-bit
70273         integers before using fistpll.  Reduce 64-bit values to 63-bit
70274         ones as needed.
70275         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70276         divide-by-zero is raised for zero to large negative powers.
70277         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70278         (__ieee754_powl): Test for y outside the range of signed 64-bit
70279         integers before using fistpll.  Reduce 64-bit values to 63-bit
70280         ones as needed.
70281         * math/libm-test.inc (pow_test): Add more tests.
70283 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70285         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70286         <stdio-common/_itoa.h>.
70287         * debug/segfault.c: Likewise.
70288         * elf/dl-cache.c: Likewise.
70289         * elf/dl-minimal.c: Likewise.
70290         * elf/dl-misc.c: Likewise.
70291         * elf/dl-sysdep.c: Likewise.
70292         * elf/dl-version.c: Likewise.
70293         * elf/rtld.c: Likewise.
70294         * hurd/hurdsock.c: Likewise.
70295         * hurd/lookup-retry.c: Likewise.
70296         * malloc/malloc.c: Likewise.
70297         * malloc/mtrace.c: Likewise.
70298         * nscd/nscd_getgr_r.c: Likewise.
70299         * nscd/nscd_getpw_r.c: Likewise.
70300         * nscd/nscd_getserv_r.c: Likewise.
70301         * posix/getopt_init.c: Likewise.
70302         * posix/wordexp.c: Likewise.
70303         * stdio-common/_itoa.c: Likewise.
70304         * stdio-common/printf_fphex.c: Likewise.
70305         * stdio-common/vfprintf.c: Likewise.
70306         * string/_strerror.c: Likewise.
70307         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70308         * sysdeps/i386/i686/hp-timing.h: Likewise.
70309         * sysdeps/mach/_strerror.c: Likewise.
70310         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70311         * sysdeps/mach/hurd/sethostid.c: Likewise.
70312         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70313         * sysdeps/mach/xpg-strerror.c: Likewise.
70314         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70315         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70316         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70317         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70318         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70319         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70320         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70321         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70322         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70323         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70324         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70325         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70326         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70327         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70328         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70329         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70330         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70331         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70332         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70333         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70334         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70336         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70338         * stdio-common/_itoa.h: Moved to ...
70339         * sysdeps/generic/_itoa.h: Here.
70341         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70343         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70344         instead of "_itoa.h" and "_itowa.h".
70345         * stdio-common/vfprintf.: Likewise.
70347 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70349         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70350         <bits/wordsize.h>.
70351         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70352         (__signbit): Likwise.
70353         (llrintf): Likwise.
70354         (llrint): Likwise.
70356 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70358         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70359         __WORDSIZE != 64.
70361 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70363         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70364         OVERFLOW_EXCEPTION_OK.
70365         * math/libm-test.inc ("Philosophy"): Update comment about
70366         exception testing.
70367         (OVERFLOW_EXCEPTION): Define.
70368         (OVERFLOW_EXCEPTION_OK): Likewise.
70369         (INVALID_EXCEPTION_OK): Renumber.
70370         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70371         (IGNORE_ZERO_INF_SIGN): Likewise.
70372         (test_exceptions): Handle FE_OVERFLOW.
70373         (exp10_test): Expect overflow exceptions.
70374         (exp2_test): Likewise.
70375         (expm1_test): Likewise.
70376         (nextafter_test): Likewise.
70377         (pow_test): Likewise.
70378         (scalbn_test): Likewise.
70379         (scalbln_test): Likewise.
70381 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70383         * sysdeps/x86_64/bits/atomic.h
70384         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70385         64bit integer.
70386         (atomic_exchange_acq): Likewise.
70387         (__arch_exchange_and_add_body): Likewise.
70388         (__arch_add_body): Likewise.
70389         (atomic_add_negative): Likewise.
70390         (atomic_add_zero): Likewise.
70392 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70394         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70395         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70397 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70399         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70400         Check __x86_64__ instead of __WORDSIZE.
70402 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70404         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70406 2012-03-19  David S. Miller  <davem@davemloft.net>
70408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70410         * sysdeps/sparc/fpu/fenv_private.h: New file.
70411         * sysdeps/sparc/fpu/math_private.h: Use it.
70412         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70413         Remove.
70414         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70415         (libc_feholdexcept_setroundl): Remove.
70416         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70417         Remove.
70418         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70419         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70421 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70423         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70424         int64_t instead of long int.
70425         (INSERT_WORDS64): Likwise.
70427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70429         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70430         _Unwind_GetCFA return to _Unwind_Ptr first.
70432 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70434         [BZ #13629]
70435         * math/s_clog.c: Include <float.h>.
70436         (__clog): Scale large or subnormal inputs.
70437         * math/s_clogf.c: Likewise.
70438         * math/s_clogl.c: Likewise.
70439         * math/s_clog10.c: Include <float.h>.
70440         (M_LOG10_2): Define.
70441         (__clog10): Scale large or subnormal inputs.
70442         * math/s_clog10f.c: Likewise.
70443         * math/s_clog10l.c: Likewise.
70444         * math/libm-test.inc (clog_test): Add more tests.
70445         (clog10_test): Likewise.
70446         * sysdeps/i386/fpu/libm-test-ulps: Update.
70447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70449         [BZ #11451]
70450         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70451         x and y.
70452         * math/libm-test.inc (atan2_test): Add another test.
70454         * Makerules (common-objdir-compile): Remove.
70455         * sysdeps/unix/Makefile (config-generated): Do not add
70456         $(unix-generated) to variable.
70457         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70458         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70459         Remove rule.
70460         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70461         Likewise.
70462         [generic bits/local_lim.h] (before-compile): Do not append to
70463         variable.
70464         [generic bits/local_lim.h] (common-generated): Likewise.
70465         [generic sys/param.h] (before-compile): Do not append to variable.
70466         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70467         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70468         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70469         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70470         include.
70471         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70472         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70473         [generic sys/param.h] ($(addprefix
70474         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70475         [generic sys/param.h] (common-generated): Do not append to
70476         variable.
70477         [generic sys/param.h] (sysdep_headers): Likewise.
70478         [generic bits/errno.h] (before-compile): Do not append to
70479         variable.
70480         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70481         rule.
70482         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70483         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70484         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70485         [generic bits/errno.h] (common-generated): Do not append to
70486         variable.
70487         [generic bits/ioctls.h] (before-compile): Do not append to
70488         variable.
70489         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70490         rule.
70491         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70492         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70493         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70494         rule.
70495         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70496         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70497         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70498         [generic bits/ioctls.h] (common-generated): Do not append to
70499         variable.
70500         [generic sys/syscall.h] (syscall.h): Remove variable.
70501         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70502         rule.
70503         [generic sys/syscall.h] (before-compile): Do not append to
70504         variable.
70505         [generic sys/syscall.h] (common-generated): Likewise.
70506         * sysdeps/unix/errnos-tmpl.c: Remove file.
70507         * sysdeps/unix/errnos.awk: Likewise.
70508         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70509         * sysdeps/unix/ioctls.awk: Likewise.
70510         * sysdeps/unix/mk-local_lim.c: Likewise.
70511         * sysdeps/unix/snarf-ioctls: Likewise.
70513 2012-03-19  Richard Henderson  <rth@twiddle.net>
70515         * sysdeps/i386/fpu/fenv_private.h: New file.
70516         * sysdeps/i386/fpu/math_private.h: Use it.
70517         (math_opt_barrier, math_force_eval): Remove.
70518         (libc_feholdexcept_setround_53bit): Remove.
70519         (libc_feupdateenv_53bit): Remove.
70520         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70521         (math_opt_barrier, math_force_eval): Remove.
70522         (libc_feholdexcept): Remove.
70523         (libc_feholdexcept_setround): Remove.
70524         (libc_fetestexcept, libc_fesetenv): Remove.
70525         (libc_feupdateenv_test): Remove.
70526         (libc_feupdateenv, libc_feholdsetround): Remove.
70527         (libc_feresetround): Remove.
70529         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70530         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70532         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70533         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70534         (libc_feupdateenv_testl): New.
70535         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70536         (libc_feupdateenv_testf): New.
70537         (libc_feupdateenv): Use libc_feupdateenv_test.
70538         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70539         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70541         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70542         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70543         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70544         (libc_feresetround_noex): New.
70545         (libc_feresetround_noexf): New.
70546         (libc_feresetround_noexl): New.
70547         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70548         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70549         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70550         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70551         SET_RESTORE_ROUND.
70552         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70554         (__cos): Likewise.
70555         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70556         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70557         SET_RESTORE_ROUND_NOEX.
70558         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70559         SET_RESTORE_ROUND_NOEXF.
70560         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70561         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70562         (libc_feholdsetroundf): New.
70563         (libc_feresetround, libc_feresetroundf): New.
70565         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70566         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70567         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70569         * sysdeps/generic/math_private.h: Include <fenv.h>.
70570         (default_libc_feholdexcept): New.
70571         (default_libc_feholdexcept_setround): New.
70572         (default_libc_fesetenv, default_libc_feupdateenv): New.
70573         (libc_feholdexcept): Only define if undefined.
70574         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70575         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70576         (libc_feholdexcept_setroundl): Likewise.
70577         (libc_feholdexcept_setround_53bit): Likewise.
70578         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70579         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70580         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70581         (libc_feupdateenv_53bit): Likewise.
70582         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70583         (libc_feholdexcept): Convert from macro to inline function.
70584         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70585         (libc_fesetenv, libc_feupdateenv): Likewise.
70587         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70588         not previously defined.
70589         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70590         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70591         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70592         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70593         * sysdeps/ieee754/flt-32/math_private.h: New file.
70594         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70595         math_private.h below SET_FLOAT_WORD.
70596         (__isnan, __isinf_ns, __finite): Remove.
70597         (__isnanf, __isinf_nsf, __finitef): Remove.
70599 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70603 2012-03-17  David S. Miller  <davem@davemloft.net>
70605         [BZ #6471]
70606         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70607         for 2.16.
70609 2012-03-16  David S. Miller  <davem@davemloft.net>
70611         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70612         warnings.
70614         [BZ #6471]
70615         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70616         properly.
70617         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70618         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70619         sysdep_routines when subdir is sysvipc.
70620         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70621         __getshmlba helper.
70623         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70625 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70627         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70628         [__LP64__].
70630 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70632         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70633         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70634         (__lround): Renamed to ...
70635         (__llround): This.  Replace long int with long long int.
70636         Define lround functions as aliases of llround functions.
70637         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70639 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70641         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70642         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70643         adresses to uintptr_t.  Replace "long int" and "unsigned long
70644         int" with "greg_t" on va_arg.
70646 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70648         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70649         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70651         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70652         Move e_machine check before EI_CLASS check.  Handle x32
70653         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70654         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70655         SKIP_EM_IA_64 and include
70656         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70658         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70659         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70660         (add_system_dir): New macro.
70662         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70663         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70665 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70667         [BZ #2551]
70668         [BZ #2552]
70669         [BZ #2553]
70670         [BZ #2554]
70671         [BZ #2562]
70672         [BZ #2563]
70673         [BZ #2565]
70674         [BZ #2566]
70675         [BZ #2576]
70676         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70677         (y0): Likewise.
70678         * math/w_j0f.c (j0f): Likewise.
70679         (y0f): Likewise.
70680         * math/w_j0l.c (__j0l): Likewise.
70681         (__y0l): Likewise.
70682         * math/w_j1.c (j1): Likewise.
70683         (y1): Likewise.
70684         * math/w_j1f.c (j1f): Likewise.
70685         (y1f): Likewise.
70686         * math/w_j1l.c (__j1l): Likewise.
70687         (__y1l): Likewise.
70688         * math/w_jn.c (jn): Likewise.
70689         (yn): Likewise.
70690         * math/w_jnf.c (jnf): Likewise.
70691         (ynf): Likewise.
70692         * math/w_jnl.c (__jnl): Likewise.
70693         (__ynl): Likewise.
70694         * math/libm-test.inc (j0_test): Add more tests.
70695         (j1_test): Likewise.
70696         (jn_test): Likewise.  Add trailing semicolon to existing test.
70697         (y0_test): Likewise.
70698         (y1_test): Likewise.
70699         * sysdeps/i386/fpu/libm-test-ulps: Update.
70700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70702         [BZ #13851]
70703         [BZ #13854]
70704         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70705         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70706         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70707         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70708         (__tanl): Set errno for infinite argument.
70709         * sysdeps/i386/fpu/mptan.c: Remove.
70710         * sysdeps/i386/fpu/s_tan.S: Likewise.
70711         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70712         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70713         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70714         * math/libm-test.inc (tan_test): Add more tests and enable more
70715         tests for double and long double.
70716         * sysdeps/i386/fpu/libm-test-ulps: Update.
70717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70719 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70721         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70722         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70724 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70726         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70727         * configure.in: Use it for both main tree and add-ons.
70728         * configure: Regenerated.
70730 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70732         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70734 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70736         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70737         in comment.
70739         [BZ #13851]
70740         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70741         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70743         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70744         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70745         infinite argument.
70746         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70747         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70748         != 0 for prec == 2.
70749         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70750         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70751         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70752         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70753         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70754         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70755         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70756         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70757         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70758         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70759         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70760         * math/libm-test.inc (cos_test): Add more tests and enable more
70761         tests for long double.
70762         (sin_test): Likewise.
70763         (sincos_test): Likewise.
70764         * sysdeps/i386/fpu/libm-test-ulps: Update.
70765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70767 2012-03-16  David S. Miller  <davem@davemloft.net>
70769         * sysdeps/sparc/fpu/math_private.h: New file.
70771 2012-03-15  David S. Miller  <davem@davemloft.net>
70773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70774         file.
70775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70777         file.
70778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70784         sysdep routines.
70785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70787         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70788         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70790         * sysdeps/sparc/sparc-ifunc.h: New file.
70791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70792         sparc-ifunc.h
70793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70795         Likewise.
70796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70797         Likewise.
70798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70802         Likewise.
70803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70808         Likewise.
70809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70810         Likewise.
70811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70817         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70818         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70828         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70829         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70830         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70831         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70832         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70833         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70834         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70836 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70838         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70839         scaling.
70840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70842 2012-03-15  Andreas Jaeger  <aj@suse.de>
70844         [BZ #13852]
70845         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70846         ieee754/flt-32 implementation for sin, cos and sincos.
70847         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70848         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70849         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70850         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70851         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70852         ieee754/flt-32 implementation for tan.
70854         * math/libm-test.inc (cos_test): Enable some large input tests for
70855         float as well
70856         (sin_test): Likewise.
70857         (sincos_test): Likewise.
70858         (tan_test): Add tests for large input.
70860         * sysdeps/i386/fpu/libm-test-ulps: Update.
70862 2012-03-15  Andreas Jaeger  <aj@suse.de>
70864         [BZ #13658]
70865         * math/libm-test.inc (cos_test): Add more test cases.
70866         (sin_test): Likewise.
70867         (sincos_test): Likewise.
70869 2012-03-15  Andreas Jaeger  <aj@suse.de>
70871         [BZ #13837]
70872         * math/libm-test.inc (cos_test): Add a test case for large input
70873         value.
70874         (sin_test): Likewise.
70875         (sincos_test): Likewise.
70877 2012-03-15  Andreas Jaeger  <aj@suse.de>
70878             Joseph Myers  <joseph@codesourcery.com>
70880         [BZ #13658]
70881         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70882         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70883         * sysdeps/i386/fpu/branred.c: Likewise.
70884         * sysdeps/i386/fpu/dosincos.c: Likewise.
70885         * sysdeps/i386/fpu/mpa.c: Likewise.
70886         * sysdeps/i386/fpu/s_cos.S: Likewise.
70887         * sysdeps/i386/fpu/s_sin.S: Likewise.
70888         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70889         * sysdeps/i386/fpu/sincos32.c: Likewise.
70891         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70892         Define.
70893         (libc_feupdateenv_53bit): Define.
70894         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70895         Define.
70896         (libc_feupdateenv_53bit): Define.
70898         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70899         53 bit (without extend i386 double precision).
70901         * math/libm-test.inc (sincos_test): Add tests for large input.
70902         (sin): Likewise.
70903         (cos): Likewise.
70905         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70907 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70911 2012-03-15  David S. Miller  <davem@davemloft.net>
70913         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70914         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70915         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70916         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70929         file.
70930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70932         file.
70933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70935         file.
70936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70938         file.
70939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70941         fmin/fmax sysdep routines.
70942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70944 2012-03-14  David S. Miller  <davem@davemloft.net>
70946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70950         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70951         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70952         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70953         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70960         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70961         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70962         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70965         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70966         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70967         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70968         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70969         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70970         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70971         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70972         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70973         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70974         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70975         routines.
70976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70977         file.
70978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70980         file.
70981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70983         file.
70984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70986         file.
70987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70989         file.
70990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70992         file.
70993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70994         file.
70995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70996         file.
70997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70998         file.
70999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71000         New file.
71001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71002         file.
71003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71004         file.
71005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71007         file.
71008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71010         file.
71011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71013         file.
71014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71016         VIS3 routines.
71018         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71019         New file.
71021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71023         * sysdeps/sparc/configure.in: New file.
71024         * sysdeps/sparc/configure: Generate.
71025         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71026         * configure: Regenerate.
71027         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71028         * config.make.in (have-as-vis3): New.
71029         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71030         available use -Av9d instead of -Av9a.
71031         * sysdeps/sparc/sparc64/Makefile: Likewise.
71032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71034         New file.
71035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71036         file.
71037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71038         New file.
71039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71040         file.
71041         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71042         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71043         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71044         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71045         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71047         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71048         fzeros/fnegs to load 0x80000000 into a float register instead of
71049         using the stack.
71050         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71052 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71055         bits/syscall.h.
71056         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71057         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71058         ($(inst_includedir)/bits/syscall.h): Remove rule.
71059         ($(objpfx)bits/syscall.d): Include instead of
71060         $(objpfx)syscall-list.d.
71061         (generated): Change syscall-list.h and syscall-list.d to
71062         bits/syscall.h and bits/syscall.d.
71064 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71066         [BZ #13846]
71067         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71069 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71071         [BZ #13841]
71072         * math/s_csqrt.c: Include <float.h>.
71073         (__csqrt): Scale large or subnormal inputs.
71074         * math/s_csqrtf.c: Likewise.
71075         * math/s_csqrtl.c: Likewise.
71076         * math/libm-test.inc (csqrt_test): Add more tests.
71077         * sysdeps/i386/fpu/libm-test-ulps: Update.
71078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71080         [BZ #13840]
71081         * math/libm-test.inc (hypot_test): Add more tests.
71083 2012-03-13  David S. Miller  <davem@davemloft.net>
71085         [BZ #13840]
71086         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71087         double-precision for the calculation instead of scaling.
71089 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71091         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71092         manipulate bits before adding and subtracting TWO52[sx].
71093         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71094         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71095         Likewise.
71096         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71098 2012-03-13  David S. Miller  <davem@davemloft.net>
71100         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71101         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71103         rtld-global-offsets.h
71104         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71106         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71107         large parameters.
71109         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71111         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71112         'err' in the ifdef scope in which it is actually used.
71114         * nss/nss_db/db-init.c: Include string.h
71116 2012-03-12  David S. Miller  <davem@davemloft.net>
71118         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71119         masking out of the most significant byte of random value used.
71120         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71121         Fix coding style in previous change.
71123         * sysdeps/unix/sysv/linux/kernel-features.h
71124         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71125         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71126         expression.
71127         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71128         later.
71130 2012-03-11  David S. Miller  <davem@davemloft.net>
71132         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71133         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71134         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71135         for 'resultvar' otherwise things get truncated on 64-bit.
71137         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71138         Fix masking out of the most significant byte of random value used.
71140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71142 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71146 2012-03-09  David S. Miller  <davem@davemloft.net>
71148         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71149         variables with appropriate CPP guards.
71150         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71151         from the frame pointer, not the stack pointer.  Correct layout
71152         comments.  Fix test on resulting framesize and the management of
71153         the outregs buffer for pltexit.  Preserve floating point return
71154         values across _dl_call_pltexit call.
71155         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71156         framesize and the management of the outregs buffer for pltexit.
71157         Preserve floating point return values across _dl_call_pltexit
71158         call.
71159         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71160         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71161         (la_sparc64_gnu_pltexit): New functions.
71162         (print_exit): Fix format string for return register value.
71164 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71166         * sunrpc/Makefile (others): Add rpcgen.
71167         ($(objpfx)rpcgen): Remove special build rule and dependency on
71168         libc.
71169         * sunrpc/rpcgen.c: New file.
71171 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71173         [BZ #13673]
71174         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71175         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71176         * sysdeps/i386/crti.S: Likewise.
71177         * sysdeps/i386/crtn.S: Likewise.
71178         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71179         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71180         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71181         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71182         * sysdeps/sh/crti.S: Likewise.
71183         * sysdeps/sh/crtn.S: Likewise.
71184         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71186         [BZ #13673]
71187         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71188         with URL.
71189         * locale/programs/locfile-kw.gperf: Likewise.
71190         * locale/programs/charmap-kw.h: Regenerated.
71191         * locale/programs/locfile-kw.h: Likewise.
71193         [BZ #13673]
71194         * intl/plural.y: Replace FSF snail mail address with URL.
71195         * intl/plural.c: Regenerated.
71197 2012-03-09  Richard Henderson  <rth@twiddle.net>
71199         * include/math_private.h: Remove file.
71200         * math/math_private.h: Move file ...
71201         * sysdeps/generic/math_private.h: ... here.
71203         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71204         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71205         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71207         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71208         and <math_private.h>.
71209         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71210         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71211         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71212         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71213         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71214         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71215         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71216         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71217         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71218         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71219         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71220         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71221         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71222         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71223         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71224         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71225         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71226         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71227         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71228         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71229         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71230         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71231         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71232         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71233         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71234         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71235         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71236         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71237         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71238         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71239         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71240         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71241         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71242         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71243         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71244         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71245         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71246         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71247         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71248         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71249         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71250         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71251         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71252         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71253         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71254         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71255         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71256         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71257         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71258         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71259         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71260         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71261         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71262         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71263         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71264         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71265         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71266         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71267         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71268         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71269         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71270         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71271         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71272         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71273         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71274         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71275         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71276         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71277         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71278         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71279         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71280         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71281         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71282         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71283         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71284         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71285         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71286         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71287         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71288         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71289         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71290         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71291         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71292         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71293         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71294         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71295         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71296         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71297         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71298         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71299         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71300         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71301         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71302         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71303         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71304         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71305         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71306         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71307         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71308         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71309         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71310         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71311         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71312         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71313         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71314         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71315         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71316         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71317         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71318         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71319         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71320         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71321         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71322         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71323         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71324         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71325         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71326         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71327         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71328         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71329         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71330         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71331         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71332         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71333         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71334         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71335         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71336         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71337         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71338         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71339         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71340         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71341         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71342         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71343         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71344         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71345         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71346         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71347         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71348         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71349         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71350         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71351         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71352         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71353         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71354         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71355         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71356         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71357         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71358         * sysdeps/ieee754/k_standard.c: Likewise.
71359         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71360         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71361         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71362         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71363         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71364         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71365         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71366         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71367         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71368         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71369         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71371         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71372         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71373         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71374         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71375         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71376         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71377         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71378         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71379         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71380         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71381         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71382         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71383         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71384         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71385         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71386         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71387         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71388         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71389         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71390         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71391         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71392         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71393         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71394         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71395         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71396         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71397         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71398         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71399         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71400         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71401         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71402         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71403         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71404         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71405         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71406         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71407         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71408         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71409         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71410         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71411         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71412         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71413         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71414         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71415         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71416         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71417         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71418         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71419         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71420         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71421         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71422         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71423         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71424         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71425         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71426         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71427         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71428         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71429         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71431         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71432         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71433         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71434         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71435         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71436         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71437         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71438         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71439         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71440         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71441         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71442         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71443         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71444         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71445         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71446         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71447         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71448         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71449         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71450         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71451         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71452         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71453         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71454         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71455         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71456         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71457         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71458         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71459         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71460         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71461         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71462         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71463         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71464         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71465         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71466         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71467         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71468         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71469         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71470         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71471         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71472         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71473         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71474         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71475         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71476         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71477         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71478         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71479         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71480         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71481         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71482         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71483         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71484         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71485         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71486         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71487         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71488         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71489         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71490         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71491         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71492         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71493         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71494         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71495         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71496         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71497         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71498         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71499         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71500         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71501         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71502         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71503         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71504         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71505         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71506         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71507         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71508         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71509         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71510         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71511         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71512         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71513         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71514         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71515         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71516         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71517         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71518         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71519         * sysdeps/ieee754/s_lib_version.c: Likewise.
71520         * sysdeps/ieee754/s_matherr.c: Likewise.
71521         * sysdeps/ieee754/s_signgam.c: Likewise.
71522         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71523         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71524         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71525         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71526         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71527         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71528         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71529         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71530         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71531         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71532         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71533         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71534         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71535         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71536         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71537         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71538         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71539         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71540         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71541         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71542         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71544 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71546         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71547         * sunrpc/rpc_main.c: Likewise.
71548         * sunrpc/rpc_svcout.c: Likewise.
71550 2012-03-09  David S. Miller  <davem@davemloft.net>
71552         * include/math_private.h: New file.
71554 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71556         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71557         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71558         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71559         from <bits/socket_type.h>.
71560         (enum __socket_type): Don't define here.
71561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71562         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71563         bits/socket_type.h.
71565         [BZ #13566]
71566         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71567         checking __USE_GNU.
71569         * Makerules ($(inst_includedir)/%.h): New rule.
71570         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71571         (install-others): Remove variable setting.
71572         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71574 2012-03-08  Richard Henderson  <rth@twiddle.net>
71576         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71577         from macro to inline function; merge with the
71578         !__LIBC_INTERNAL_MATH_INLINES version.
71579         (__ieee754_sqrtf): Likewise.
71581         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71582         to inline function.
71583         (__rintf, __floor, __floorf): Likewise.
71585         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71586         macro to inline function.
71587         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71589         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71590         not <math/math_private.h>.
71592 2012-03-08  David S. Miller  <davem@davemloft.net>
71594         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71595         copyright year.
71596         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71598 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71600         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71601         normalization.
71602         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71603         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71605 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71607         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71608         be defined individually, they must be defined as a block.  Define
71609         S for printing a string instead of hidint the different by using a
71610         macro for adding the 'l'.
71611         * stdio-common/tst-fphex-wide.c: Adjust.
71613 2012-03-07  Marek Polacek  <polacek@redhat.com>
71615         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71617 2012-03-08  Marek Polacek  <polacek@redhat.com>
71619         [BZ #13806]
71620         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71621         * stdio-common/tst-fphex.c: Define a few macros to make the
71622         test reusable.  Use them.
71623         * stdio-common/tst-fphex-wide.c: New file.
71625 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71627         [BZ #6911]
71628         * manual/macros.texi (gnusystems): New macro.
71629         (nongnusystems): Likewise.
71630         (gnulinuxhurdsystems): Likewise.
71631         (gnuhurdsystems): Likewise..
71632         (gnulinuxsystems): Likewise.
71633         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71634         variants of the GNU system, not "GNU system".
71635         * manual/conf.texi: Likewise.
71636         * manual/errno.texi: Likewise.  Update example of errno macro
71637         expansion.
71638         * manual/filesys.texi: Likewise.
71639         (getumask): Document as specific to GNU/Hurd.
71640         * manual/install.texi: Likewise.  Reword some references to
71641         GNU/Linux.
71642         * manual/intro.texi: Likewise.
71643         * manual/io.texi: Likewise.
71644         (File Name Portability): Detail which constraints are inapplicable
71645         to all GNU systems and which are only inapplicable to GNU/Hurd.
71646         * manual/job.texi: Likewise.
71647         * manual/llio.texi: Likewise.
71648         (O_NOCTTY): Document as present on GNU/Linux.
71649         * manual/maint.texi: Likewise.
71650         * manual/memory.texi: Likewise.
71651         * manual/pattern.texi: Likewise.
71652         * manual/pipe.texi: Likewise.
71653         * manual/process.texi: Likewise.
71654         * manual/resource.texi: Likewise.
71655         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71656         child on GNU/Hurd.
71657         * manual/setjmp.texi: Likewise.
71658         * manual/signal.texi: Likewise.
71659         * manual/startup.texi: Likewise.
71660         * manual/stdio.texi: Likewise.
71661         * manual/terminal.texi: Likewise.
71662         (ONLCR): Document as POSIX.
71663         (OXTABS): Document availability on GNU/Linux as XTABS.
71664         (ONOEOT): Document availability separately from other bits.
71665         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71666         * manual/time.texi: Likewise.
71667         * manual/users.texi: Likewise.
71668         * INSTALL: Regenerated.
71669         * sysdeps/gnu/errlist.c: Regenerated.
71671         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71672         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71673         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71674         puts.
71675         * configure: Regenerated.
71677 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71679         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71680         default includes instead of AC_HEADER_CHECK.
71681         * sysdeps/i386/configure: Regenerated.
71683         [BZ #10716]
71684         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71685         * math/s_cacoshf.c (__cacoshf): Likewise.
71686         * math/s_cacoshl.c (__cacoshl): Likewise.
71687         * math/s_casinh.c (__casinh): Set signs of result from argument.
71688         * math/s_casinhf.c (__casinhf): Likewise.
71689         * math/s_casinhl.c (__casinhl): Likewise.
71690         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71691         (casinh_test): Add more tests.
71692         * sysdeps/i386/fpu/libm-test-ulps: Update.
71693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71695 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71697         * po/zh_TW.po: Update from translation team.
71699         * login/Makefile (distribute): Remove variable.
71700         * catgets/Makefile: Likewise.
71701         * mach/Makefile: Likewise.
71702         * malloc/Makefile: Likewise.
71703         * misc/Makefile: Likewise.
71704         * iconv/Makefile: Likewise.
71705         * nscd/Makefile: Likewise.
71706         * hurd/Makefile: Likewise.
71707         * manual/Makefile: Likewise.
71708         * locale/Makefile: Likewise.
71709         * intl/Makefile: Likewise.
71710         * conform/Makefile: Likewise.
71711         * nss/Makefile: Likewise.
71712         * time/Makefile: Likewise.
71713         * soft-fp/Makefile: Likewise.
71714         * dirent/Makefile: Likewise.
71715         * gmon/Makefile: Likewise.
71716         * po/Makefile: Likewise.
71717         * rt/Makefile: Likewise.
71718         * socket/Makefile: Likewise.
71719         * math/Makefile: Likewise.
71720         * signal/Makefile: Likewise.
71721         * debug/Makefile: Likewise.
71722         * elf/Makefile: Likewise.
71723         * timezone/Makefile: Likewise.
71724         * stdlib/Makefile: Likewise.
71725         * iconvdata/Makefile: Likewise.
71726         * sunrpc/Makefile: Likewise.
71727         * io/Makefile: Likewise.
71728         * argp/Makefile: Likewise.
71729         * inet/Makefile: Likewise.
71730         * hesiod/Makefile: Likewise.
71731         * grp/Makefile: Likewise.
71732         * csu/Makefile: Likewise.
71733         * wctype/Makefile: Likewise.
71734         * crypt/Makefile: Likewise.
71735         * libio/Makefile: Likewise.
71736         * string/Makefile: Likewise.
71737         * nis/Makefile: Likewise.
71738         * resolv/Makefile: Likewise.
71739         * stdio-common/Makefile: Likewise.
71740         * wcsmbs/Makefile: Likewise.
71741         * dlfcn/Makefile: Likewise.
71742         * posix/Makefile: Likewise.
71744         [BZ #6959]
71745         * timezone/Makefile: Don't install timezone files, just the programs
71746         and scripts.
71748 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71750         * nss/databases.def: Add missing gshadow entry.
71752         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71754 2012-03-06  Marek Polacek  <polacek@redhat.com>
71756         [BZ #13726]
71757         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71758         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71759         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71760         * stdio-common/tst-long-dbl-fphex.c: New file.
71762 2012-03-06  David S. Miller  <davem@davemloft.net>
71764         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71765         (set_obp_int): New function.
71766         (get_obp_int): New function.
71767         (__get_clockfreq_via_dev_openprom): Likewise.
71768         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71769         Avoid unused variable warnings on 'val' and use builtin_expect.
71770         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71771         __builtin_expect.
71772         (INLINE_CLONE_SYSCALL): Likewise.
71774 2012-03-05  David S. Miller  <davem@davemloft.net>
71776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71778 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71782         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71783         only for |x| >= 40.
71784         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71786 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71788         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71789         Replace gettimeofday with __vdso_gettimeofday.
71791         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71792         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71793         __vdso_clock_gettime and __vdso_getcpu.
71795         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71796         time with __vdso_time.
71798 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71800         * manual/lang.texi (size_t): Note types to which size_t may be
71801         equivalent with the GNU C Library, but do not describe when
71802         differences between them are significant.
71804 2012-03-05  Andreas Jaeger  <aj@suse.de>
71806         * sysdeps/i386/fpu/libm-test-ulps: Update.
71808 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71810         [BZ #3976]
71811         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71812         (__ieee754_pow): Save and restore rounding mode and use
71813         round-to-nearest for main computations.
71814         * math/libm-test.inc (pow_test_tonearest): New function.
71815         (pow_test_towardzero): Likewise.
71816         (pow_test_downward): Likewise.
71817         (pow_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         [BZ #3976]
71823         * math/libm-test.inc (cosh_test_tonearest): New function.
71824         (cosh_test_towardzero): Likewise.
71825         (cosh_test_downward): Likewise.
71826         (cosh_test_upward): Likewise.
71827         (sinh_test_tonearest): Likewise.
71828         (sinh_test_towardzero): Likewise.
71829         (sinh_test_downward): Likewise.
71830         (sinh_test_upward): Likewise.
71831         (main): Call the new functions.
71832         * sysdeps/i386/fpu/libm-test-ulps: Update.
71833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71835 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71837         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71838         default stack guard is set in last bytes.
71839         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71841 2012-03-05  Kees Cook  <keescook@chromium.org>
71843         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71845         [BZ #13656]
71846         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71847         possibly allocate from heap instead of stack.
71848         * stdio-common/bug-vfprintf-nargs.c: New file.
71849         * stdio-common/Makefile (tests): Add nargs overflow test.
71851 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71855 2012-03-03  Marek Polacek  <polacek@redhat.com>
71857         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71858         * math/math_private.h: Likewise.
71859         * stdlib/tst-strtod.c: Likewise.
71860         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71861         * sysdeps/x86_64/bits/atomic.h: Likewise.
71863 2012-03-02  David S. Miller  <davem@davemloft.net>
71865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71869         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71870         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71871         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71872         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71874 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71876         [BZ #13792]
71877         * manual/examples/README: New file, says the example source files
71878         can be used under GPL>=2.
71879         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71880         line containing just "*/".
71881         * manual/examples/add.c: Add copyright header (GPL>=2).
71882         * manual/examples/argp-ex1.c: Likewise.
71883         * manual/examples/argp-ex2.c: Likewise.
71884         * manual/examples/argp-ex3.c: Likewise.
71885         * manual/examples/argp-ex4.c: Likewise.
71886         * manual/examples/atexit.c: Likewise.
71887         * manual/examples/db.c: Likewise.
71888         * manual/examples/dir.c: Likewise.
71889         * manual/examples/dir2.c: Likewise.
71890         * manual/examples/execinfo.c: Likewise.
71891         * manual/examples/filecli.c: Likewise.
71892         * manual/examples/filesrv.c: Likewise.
71893         * manual/examples/fmtmsgexpl.c: Likewise.
71894         * manual/examples/genpass.c: Likewise.
71895         * manual/examples/inetcli.c: Likewise.
71896         * manual/examples/inetsrv.c: Likewise.
71897         * manual/examples/isockad.c: Likewise.
71898         * manual/examples/longopt.c: Likewise.
71899         * manual/examples/memopen.c: Likewise.
71900         * manual/examples/memstrm.c: Likewise.
71901         * manual/examples/mkfsock.c: Likewise.
71902         * manual/examples/mkisock.c: Likewise.
71903         * manual/examples/mygetpass.c: Likewise.
71904         * manual/examples/pipe.c: Likewise.
71905         * manual/examples/popen.c: Likewise.
71906         * manual/examples/rprintf.c: Likewise.
71907         * manual/examples/search.c: Likewise.
71908         * manual/examples/select.c: Likewise.
71909         * manual/examples/setjmp.c: Likewise.
71910         * manual/examples/sigh1.c: Likewise.
71911         * manual/examples/sigusr.c: Likewise.
71912         * manual/examples/stpcpy.c: Likewise.
71913         * manual/examples/strdupa.c: Likewise.
71914         * manual/examples/strftim.c: Likewise.
71915         * manual/examples/strncat.c: Likewise.
71916         * manual/examples/subopt.c: Likewise.
71917         * manual/examples/swapcontext.c: Likewise.
71918         * manual/examples/termios.c: Likewise.
71919         * manual/examples/testopt.c: Likewise.
71920         * manual/examples/testpass.c: Likewise.
71921         * manual/examples/timeval_subtract.c: Likewise.
71923         [BZ #13792]
71924         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71925         function to ...
71926         * manual/timeval_subtract.c.texi: ... here, new file.
71928 2012-03-02  David S. Miller  <davem@davemloft.net>
71930         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71932 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71934         [BZ #3976]
71935         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71936         (__sin): Save and restore rounding mode and use round-to-nearest
71937         for all computations.
71938         (__cos): Save and restore rounding mode and use round-to-nearest
71939         for all computations.
71940         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71941         <fenv.h>.
71942         (tan): Save and restore rounding mode and use round-to-nearest for
71943         all computations.
71944         * math/libm-test.inc (cos_test_tonearest): New function.
71945         (cos_test_towardzero): Likewise.
71946         (cos_test_downward): Likewise.
71947         (cos_test_upward): Likewise.
71948         (sin_test_tonearest): Likewise.
71949         (sin_test_towardzero): Likewise.
71950         (sin_test_downward): Likewise.
71951         (sin_test_upward): Likewise.
71952         (tan_test_tonearest): Likewise.
71953         (tan_test_towardzero): Likewise.
71954         (tan_test_downward): Likewise.
71955         (tan_test_upward): Likewise.
71956         (main): Call the new functions.
71957         * sysdeps/i386/fpu/libm-test-ulps: Update.
71958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71960         [BZ #10135]
71961         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71962         small n, then large n, before computing and testing k+n.
71963         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71965         Likewise.
71966         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71967         Likewise.
71968         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71969         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71970         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71971         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71972         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71973         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71974         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71975         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71976         * math/libm-test.inc (scalbn_test): Add more tests.
71977         (scalbln_test): Likewise.
71979         * manual/filesys.texi (mode_t): Describe constraints on size and
71980         signedness, not exact equivalence to a particular type.
71981         (ino_t): Likewise.
71982         (ino64_t): Likewise.
71983         (dev_t): Likewise.
71984         (nlink_t): Likewise.
71985         (blkcnt_t): Likewise.
71986         (blkcnt64_t): Likewise.
71987         * manual/llio.texi (off_t): Likewise.
71989         [BZ #3976]
71990         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71991         (__ieee754_exp): Save and restore rounding mode and use
71992         round-to-nearest for all computations.
71993         * math/libm-test.inc (exp_test_tonearest): New function.
71994         (exp_test_towardzero): Likewise.
71995         (exp_test_downward): Likewise.
71996         (exp_test_upward): Likewise.
71997         (main): Call the new functions.
71998         * sysdeps/i386/fpu/libm-test-ulps: Update.
71999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72001 2012-03-01  Chris Demetriou  <cgd@google.com>
72003         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72004         have predictable order.
72006 2012-03-01  David S. Miller  <davem@davemloft.net>
72008         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72010         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72011         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72012         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72013         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72015         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72016         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72017         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72019         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72020         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72021         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72022         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72023         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72027         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72028         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72029         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72031         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72032         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72033         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72034         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72035         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72036         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72037         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72038         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72039         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72040         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72041         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72042         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72043         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72044         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72045         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72047         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72048         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72049         * sysdeps/sparc/elf/configure: Regenerated.
72051 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72053         * configure.in (AS, LD): Require binutils 2.20 or later.
72054         * configure: Regenerated.
72055         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72056         as required minimum version.
72057         * INSTALL: Regenerated.
72059         [BZ #2541]
72060         [BZ #4108]
72061         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72062         before squaring exponent.
72063         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72064         bottom long double and 27 bits of top long double before squaring
72065         exponent.
72066         * math/libm-test.inc (erfc_test): Add more tests.
72067         * sysdeps/i386/fpu/libm-test-ulps: Update.
72068         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72071 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72073         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72074         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72075         containing bit-fields.
72076         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72077         * soft-fp/single.h (_FP_UNION_S): Likewise.
72078         * soft-fp/double.h (_FP_UNION_D): Likewise.
72080 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72082         [BZ #13786]
72083         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72084         not include ../strcmp.S.
72085         [USE_AS_STRNCASECMP_L]: Likewise.
72086         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72087         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72088         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72089         (__strncasecmp_l_ia32): Define as alias to
72090         __strncasecmp_l_nonascii.
72092         [BZ #5794]
72093         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72094         * sysdeps/i386/fpu/libm-test-ulps: Update.
72095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72097         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72100 2012-02-29  Jeff Law  <law@redhat.com>
72102         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72103         out of bounds read.
72105 2012-02-29  Marek Polacek  <polacek@redhat.com>
72107         [BZ #13706]
72108         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72109         * elf/Makefile: Add rules to run tst-unused-dep.out.
72111 2012-02-28  David S. Miller  <davem@davemloft.net>
72113         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72114         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72115         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72116         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72117         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72118         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72120 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72122         * math/libm-test.inc (llround_test): Move one test from
72123         lround_test.  Use TEST_f_L in moved test.
72124         (lround_test): Move misplaced test to llround_test.  Add testcase
72125         from bug 2561.
72127 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72129         * sysdeps/x86_64/fpu/e_expf.S: New file.
72130         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72132 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72134         [BZ #13637]
72135         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72136         of remain_len that may cause incomplete multi-byte character and
72137         false match.
72138         * posix/bug-regex33.c: New file.
72139         * posix/Makefile (tests): Add bug-regex33.
72141 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72143         * manual/macros.texi: New file.
72144         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72145         * manual/libc.texinfo: Include macros.texi.
72146         * manual/creatute.texi: Likewise.
72147         * manual/install.texi: Likewise.
72148         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72149         @glibcadj{} in references to the GNU C Library.
72150         * manual/charset.texi: Likewise.
72151         * manual/conf.texi: Likewise.
72152         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72153         when not using those macros.
72154         * manual/creature.texi: Likewise.
72155         * manual/crypt.texi: Likewise.
72156         * manual/errno.texi: Likewise.
72157         * manual/filesys.texi: Likewise.
72158         * manual/header.texi: Likewise.
72159         * manual/install.texi: Likewise.
72160         * manual/intro.texi: Likewise.
72161         * manual/io.texi: Likewise.
72162         * manual/job.texi: Likewise.
72163         * manual/lang.texi: Likewise.
72164         * manual/libc.texiinfo: Likewise.
72165         * manual/llio.texi: Likewise.
72166         * manual/locale.texi: Likewise.
72167         * manual/maint.texi: Likewise.
72168         * manual/math.texi: Likewise.
72169         * manual/memory.texi: Likewise.
72170         * manual/message.texi: Likewise.
72171         * manual/nss.texi: Likewise.
72172         * manual/pattern.texi: Likewise.
72173         * manual/process.texi: Likewise.
72174         * manual/resource.texi: Likewise.
72175         * manual/search.texi: Likewise.
72176         * manual/setjmp.texi: Likewise.
72177         * manual/signal.texi: Likewise.
72178         * manual/socket.texi: Likewise.
72179         * manual/startup.texi: Likewise.
72180         * manual/stdio.texi: Likewise.
72181         * manual/string.texi: Likewise.
72182         * manual/sysinfo.texi: Likewise.
72183         * manual/syslog.texi: Likewise.
72184         * manual/terminal.texi: Likewise.
72185         * manual/time.texi: Likewise.
72186         * manual/users.texi: Likewise.
72187         * INSTALL: Regenerated.
72188         * NOTES: Regenerated.
72189         * sysdeps/gnu/errlist.c: Regenerated.
72191 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72193         * include/dirent.h: Include <dirstream.h> before
72194         <dirent/dirent.h>.
72196 2012-02-28  David S. Miller  <davem@davemloft.net>
72198         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72199         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72200         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72201         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72203 2012-02-27  David S. Miller  <davem@davemloft.net>
72205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72207         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72208         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72211         frame pointer instead of stack pointer relative arg slot.
72212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72213         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72214         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72216 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72218         [BZ #3992]
72219         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72221 2012-02-27  David S. Miller  <davem@davemloft.net>
72223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72227         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72228         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72229         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72230         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72232 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72234         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72235         later.  Allow versions 5-9.
72236         * configure: Regenerated.
72237         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72238         required minimum version and 4.6 as recommended version.  Do not
72239         mention bugs in GCC 2.7 and 2.8.
72240         * INSTALL: Regenerated.
72242 2012-02-27  David S. Miller  <davem@davemloft.net>
72244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72248         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72249         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72250         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72251         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72253         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72254         manipulate bits before adding and subtracting TWO112[sx].
72255         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72257 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72259         [BZ #13775]
72260         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72261         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72262         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72263         being in POSIX, because they are in 1003.1-2008.
72265         * rt/tst-aio.c: Include <fcntl.h>.
72266         * rt/tst-aio7.c: Likewise.
72267         * rt/tst-aio64.c: Likewise.
72269         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72271 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72273         * manual/install.texi (--with-headers): Describe headers as
72274         interface headers, not private headers.
72275         (Specific advice for GNU/Linux systems): Describe use of headers
72276         from "make headers_install", not private headers from older
72277         kernels.
72278         * INSTALL: Regenerated.
72279         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72280         Change to 2.6.19.
72281         * sysdeps/unix/sysv/linux/configure: Regenerated.
72283         * manual/llio.texi (fclean): Remove documentation.
72285         * manual/Makefile (libc-texi-generated): New variable.  Include
72286         version.texi.
72287         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72288         $(libc-texi-generated), not duplicated list of files.
72289         (version.texi, stamp-version): New rules.
72290         (realclean): Remove $(libc-texi-generated), not individual files
72291         from that list.  Do not remove dir-add.texinfo.
72292         * manual/libc.texinfo: Comment out uses of edition numbers and
72293         references to printed manual.  Remove last-updated dates.
72294         (EDITION): Comment out.
72295         (ISBN): Likewise.
72296         (VERSION, UPDATED): Remove.
72297         (version.texi): Include.
72299 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72301         * sysdeps/posix/spawni.c: Include <signal.h>.
72302         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72303         * sysdeps/pthread/aio_fsync.c: Likewise.
72305 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72307         * conform/Makefile (tests): Run only when not cross-compiling and
72308         when fast-check is not defined.
72310         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72311         * conform/data/limits.h-data: Fixes for POSIX2008.
72312         * conform/run-conformtest.sh: Run all tests.
72313         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72314         headers.
72315         * include/bits/dlfcn.h: Likewise.
72316         * include/langinfo.h: Likewise.
72317         * include/monetary.h: Likewise.
72318         * include/sys/poll.h: Likewise.
72320         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72321         for __USE_GNU.
72322         * posix/spawn.h: Define __need_sigset_t.
72323         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72324         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72325         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72326         to get sigevent_t only.
72327         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72328         only for __USE_GNU.
72329         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72330         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72331         process_vm_writev only for __USE_GNU.
72332         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72334         * conform/Makefile: For now ignore errors from run-conformtest.
72335         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72336         POSIX to avoid namespace pollution.  Don't prepend headers.
72337         * conform/data/aio.h-data: Fixes for POSIX testing.
72338         * conform/data/fcntl.h-data: Likewise.
72339         * conform/data/glob.h-data: Likewise.
72340         * conform/data/grp.h-data: Likewise.
72341         * conform/data/pthread.h-data: Likewise.
72342         * conform/data/pwd.h-data: Likewise.
72343         * conform/data/signal.h-data: Likewise.
72344         * conform/data/spawn.h-data: Likewise.
72345         * conform/data/stdio.h-data: Likewise.
72346         * conform/data/stdlib.h-data: Likewise.
72347         * conform/data/stropts.h-data: Likewise.
72348         * conform/data/sys/mman.h-data: Likewise.
72349         * conform/data/sys/stat.h-data: Likewise.
72350         * conform/data/sys/types.h-data: Likewise.
72351         * conform/data/sys/wait.h-data: Likewise.
72352         * conform/data/time.h-data: Likewise.
72353         * conform/data/unistd.h-data: Likewise.
72354         * conform/data/utime.h-data: Likewise.
72356         * io/sys/stat.h: fchmod was always in POSIX.
72357         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72358         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72359         * rt/aio.h: Define __need_timespec before including <time.h>.
72360         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72361         struct.  Add forward declaration of pthread_attr_t and use it in
72362         sigevent.
72363         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72364         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72365         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72366         always remove CLK_TCK definition.
72368 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72370         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72372 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72374         * conform/run-conformtest.sh: New file.
72375         * conform/Makefile: Run run-conformtest for tests.
72376         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72377         support.
72379         * conform/data/uchar.h-data: New file.
72380         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72381         * conform/data/arpa/inet.h-data: Likewise.
72382         * conform/data/assert.h-data: Likewise.
72383         * conform/data/complex.h-data: Likewise.
72384         * conform/data/cpio.h-data: Likewise.
72385         * conform/data/ctype.h-data: Likewise.
72386         * conform/data/dirent.h-data: Likewise.
72387         * conform/data/dlfcn.h-data: Likewise.
72388         * conform/data/errno.h-data: Likewise.
72389         * conform/data/fcntl.h-data: Likewise.
72390         * conform/data/float.h-data: Likewise.
72391         * conform/data/fmtmsg.h-data: Likewise.
72392         * conform/data/fnmatch.h-data: Likewise.
72393         * conform/data/ftw.h-data: Likewise.
72394         * conform/data/glob.h-data: Likewise.
72395         * conform/data/grp.h-data: Likewise.
72396         * conform/data/iconv.h-data: Likewise.
72397         * conform/data/inttypes.h-data: Likewise.
72398         * conform/data/langinfo.h-data: Likewise.
72399         * conform/data/libgen.h-data: Likewise.
72400         * conform/data/limits.h-data: Likewise.
72401         * conform/data/locale.h-data: Likewise.
72402         * conform/data/math.h-data: Likewise.
72403         * conform/data/monetary.h-data: Likewise.
72404         * conform/data/mqueue.h-data: Likewise.
72405         * conform/data/ndbm.h-data: Likewise.
72406         * conform/data/net/if.h-data: Likewise.
72407         * conform/data/netdb.h-data: Likewise.
72408         * conform/data/netinet/in.h-data: Likewise.
72409         * conform/data/nl_types.h-data: Likewise.
72410         * conform/data/poll.h-data: Likewise.
72411         * conform/data/pthread.h-data: Likewise.
72412         * conform/data/pwd.h-data: Likewise.
72413         * conform/data/regex.h-data: Likewise.
72414         * conform/data/sched.h-data: Likewise.
72415         * conform/data/search.h-data: Likewise.
72416         * conform/data/semaphore.h-data: Likewise.
72417         * conform/data/setjmp.h-data: Likewise.
72418         * conform/data/signal.h-data: Likewise.
72419         * conform/data/spawn.h-data: Likewise.
72420         * conform/data/stdarg.h-data: Likewise.
72421         * conform/data/stdio.h-data: Likewise.
72422         * conform/data/stdlib.h-data: Likewise.
72423         * conform/data/string.h-data: Likewise.
72424         * conform/data/strings.h-data: Likewise.
72425         * conform/data/stropts.h-data: Likewise.
72426         * conform/data/sys/ipc.h-data: Likewise.
72427         * conform/data/sys/mman.h-data: Likewise.
72428         * conform/data/sys/msg.h-data: Likewise.
72429         * conform/data/sys/resource.h-data: Likewise.
72430         * conform/data/sys/select.h-data: Likewise.
72431         * conform/data/sys/sem.h-data: Likewise.
72432         * conform/data/sys/shm.h-data: Likewise.
72433         * conform/data/sys/socket.h-data: Likewise.
72434         * conform/data/sys/stat.h-data: Likewise.
72435         * conform/data/sys/statvfs.h-data: Likewise.
72436         * conform/data/sys/time.h-data: Likewise.
72437         * conform/data/sys/timeb.h-data: Likewise.
72438         * conform/data/sys/times.h-data: Likewise.
72439         * conform/data/sys/types.h-data: Likewise.
72440         * conform/data/sys/uio.h-data: Likewise.
72441         * conform/data/sys/un.h-data: Likewise.
72442         * conform/data/sys/utsname.h-data: Likewise.
72443         * conform/data/sys/wait.h-data: Likewise.
72444         * conform/data/syslog.h-data: Likewise.
72445         * conform/data/tar.h-data: Likewise.
72446         * conform/data/termios.h-data: Likewise.
72447         * conform/data/utime.h-data: Likewise.
72448         * conform/data/utmpx.h-data: Likewise.
72449         * conform/data/varargs.h-data: Likewise.
72450         * conform/data/wchar.h-data: Likewise.
72451         * conform/data/wctype.h-data: Likewise.
72452         * conform/data/wordexp.h-data: Likewise.
72454         * include/stropts.h: New file.
72455         * include/uchar.h: New file.
72456         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72457         * include/assert.h: Likewise.
72458         * include/ctype.h: Likewise.
72459         * include/dirent.h: Likewise.
72460         * include/dlfcn.h: Likewise.
72461         * include/fcntl.h: Likewise.
72462         * include/fnmatch.h: Likewise.
72463         * include/glob.h: Likewise.
72464         * include/grp.h: Likewise.
72465         * include/libio.h: Likewise.
72466         * include/locale.h: Likewise.
72467         * include/math.h: Likewise.
72468         * include/net/if.h: Likewise.
72469         * include/netdb.h: Likewise.
72470         * include/netinet/in.h: Likewise.
72471         * include/pthread.h: Likewise.
72472         * include/pwd.h: Likewise.
72473         * include/regex.h: Likewise.
72474         * include/sched.h: Likewise.
72475         * include/search.h: Likewise.
72476         * include/setjmp.h: Likewise.
72477         * include/signal.h: Likewise.
72478         * include/stdio.h: Likewise.
72479         * include/stdlib.h: Likewise.
72480         * include/string.h: Likewise.
72481         * include/sys/cdefs.h: Likewise.
72482         * include/sys/mman.h: Likewise.
72483         * include/sys/msg.h: Likewise.
72484         * include/sys/resource.h: Likewise.
72485         * include/sys/select.h: Likewise.
72486         * include/sys/socket.h: Likewise.
72487         * include/sys/stat.h: Likewise.
72488         * include/sys/statvfs.h: Likewise.
72489         * include/sys/time.h: Likewise.
72490         * include/sys/times.h: Likewise.
72491         * include/sys/uio.h: Likewise.
72492         * include/sys/utsname.h: Likewise.
72493         * include/sys/wait.h: Likewise.
72494         * include/termios.h: Likewise.
72495         * include/time.h: Likewise.
72496         * include/ulimit.h: Likewise.
72497         * include/unistd.h: Likewise.
72498         * include/utime.h: Likewise.
72499         * include/wchar.h: Likewise.
72500         * include/wctype.h: Likewise.
72501         * include/wordexp.h: Likewise.
72503         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72505         * time/time.h: TIME_UTC must be a macro.
72506         Make timespec_get available for ISO C11 only as well.
72508 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72510         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72511         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72513 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72515         * configure.in: Use -o not -a in test for unsupported multi-arch.
72517 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72519         * manual/texinfo.tex: Update to version 2012-01-19.16.
72521 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72523         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72525 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72527         [BZ #13738]
72528         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72529         * manual/fdl-1.3.texi: New file.
72530         * manual/fdl-1.1.texi: File removed.
72532         [BZ #13738]
72533         * manual/libc.texinfo (FDL_VERSION): New @set.
72534         Use it for mention of FDL in cover text.
72535         (Documentation License): Use it in @include file name.
72537 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72538             Roland McGrath  <roland@hack.frob.com>
72540         [BZ #5461]
72541         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72542         (not LONG_LONG_MAX and LONG_LONG_MIN.
72543         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72544         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72545         name.
72546         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72548 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72550         [BZ #2547]
72551         [BZ #11365]
72552         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72553         manipulate bits before adding and subtracting TWO23[sx].
72554         * math/libm-test.inc (nearbyint_test): Add more tests.
72556 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72558         [BZ #2548]
72559         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72560         bits before adding and subtracting TWO23[sx].
72561         * math/libm-test.inc (rint_test): Add more tests.
72562         (rint_test_tonearest): Likewise.
72563         (rint_test_towardzero): Likewise.
72564         (rint_test_downward): Likewise.
72565         (rint_test_upward: Likewise.
72567 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72569         [BZ #10110]
72570         * include/stdc-predef.h: New file.  Extracted from features.h.
72571         * include/features.h: Include stdc-predef.h.
72572         * Makefile (headers): Add stdc-predef.h.
72573         * CONFORMANCE (Compiler limitations): Update.
72575 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72577         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72579 2012-02-21  David S. Miller  <davem@davemloft.net>
72581         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72582         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72584 2012-02-20  David S. Miller  <davem@davemloft.net>
72586         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72587         using a normal save/restore sequence, rather than allocating a
72588         dummy stack frame just to store a frame pointer and restore.
72589         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72591 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72593         * manual/install.texi: Fix stray word in line-wrapped comment.
72595 2012-02-20  David S. Miller  <davem@davemloft.net>
72597         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72598         both binutils and gcc support GOTDATA.
72600         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72601         "rd %pc" in the PIC register setup sequences.
72603         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72604         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72605         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72606         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72607         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72608         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72609         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72610         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72611         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72612         (SYSCALL_ERROR_HANDLER): Likewise.
72613         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72614         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72615         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72616         (SYSCALL_ERROR_HANDLER): Likewise.
72618         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72619         (HAVE_GCC_GOTDATA): New.
72620         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72621         relocation support in both binutils and gcc.
72622         * sysdeps/sparc/elf/configure: Regenerate.
72624         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72625         * sysdeps/sparc/sparc32/elf/configure: Delete.
72626         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72627         * sysdeps/sparc/sparc64/elf/configure: Delete.
72628         * sysdeps/sparc/elf/configure.in: New file.
72629         * sysdeps/sparc/elf/configure: Generate.
72631         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72632         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72633         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72634         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72635         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72637 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72639         * manual/install.texi: Do not mention specific glibc version
72640         numbers.
72641         * manual/libc.texinfo (VERSION, UPDATED): Update.
72642         (@copying): Use @copyright{} and range of years.
72644 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72646         [BZ #13695]
72647         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72648         [crti.S not in sysdirs] (generated): Do not append.
72649         [crti.S not in sysdirs] (omit-deps): Likewise.
72650         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72651         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72652         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72653         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72654         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72655         Likewise.
72656         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72657         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72658         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72659         * csu/defs.awk: Remove file.
72660         * sysdeps/generic/initfini.c: Likewise.
72661         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72662         variable.
72663         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72664         Likewise.
72666 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72668         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72669         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72670         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72671         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72672         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72673         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72674         <bits/epoll.h>.
72675         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72676         (__EPOLL_PACKED): Define to empty if not defined by
72677         <bits/epoll.h>.
72678         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72680         bits/epoll.h.
72682 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72684         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72685         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72686         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72687         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72688         <bits/timerfd.h>.
72689         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72691         bits/timerfd.h.
72693 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72695         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72696         in C locale.
72697         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72698         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72699         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72702 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72704         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72705         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72707 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72709         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72710         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72711         defined.
72712         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72713         Likewise.
72714         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72715         entry for 2.16.
72717 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72719         * math/w_acos.c: Use non-signaling floating-point comparisons.
72720         * math/w_acosf.c: Likewise.
72721         * math/w_acosh.c: Likewise.
72722         * math/w_acoshf.c: Likewise.
72723         * math/w_acoshl.c: Likewise.
72724         * math/w_acosl.c: Likewise.
72725         * math/w_asin.c: Likewise.
72726         * math/w_asinf.c: Likewise.
72727         * math/w_asinl.c: Likewise.
72728         * math/w_atanh.c: Likewise.
72729         * math/w_atanhf.c: Likewise.
72730         * math/w_atanhl.c: Likewise.
72731         * math/w_exp2.c: Likewise.
72732         * math/w_exp2f.c: Likewise.
72733         * math/w_exp2l.c: Likewise.
72734         * math/w_j0.c: Likewise.
72735         * math/w_j0f.c: Likewise.
72736         * math/w_j0l.c: Likewise.
72737         * math/w_j1.c: Likewise.
72738         * math/w_j1f.c: Likewise.
72739         * math/w_j1l.c: Likewise.
72740         * math/w_jn.c: Likewise.
72741         * math/w_jnf.c: Likewise.
72742         * math/w_log.c: Likewise.
72743         * math/w_log10.c: Likewise.
72744         * math/w_log10f.c: Likewise.
72745         * math/w_log10l.c: Likewise.
72746         * math/w_log2.c: Likewise.
72747         * math/w_log2f.c: Likewise.
72748         * math/w_log2l.c: Likewise.
72749         * math/w_logf.c: Likewise.
72750         * math/w_logl.c: Likewise.
72751         * math/w_sqrt.c: Likewise.
72752         * math/w_sqrtf.c: Likewise.
72753         * math/w_sqrtl.c: Likewise.
72754         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72755         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72756         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72757         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72758         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72760 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72762         [BZ #9739]
72763         * manual/string.texi (strnlen): Use correct parameter name in
72764         equivalent expression.
72766 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72768         [BZ #11174]
72769         * manual/users.texi (seteuid): Consistently use neweuid for
72770         argument name.
72772 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72774         [BZ #13704]
72775         * manual/nss.texi (Services in the NSS configuration): Correct
72776         list of services in example configuration file.
72778 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72780         [BZ #11322]
72781         * manual/arith.texi: Remove statements about negative zero
72782         behaving identically to zero.
72784 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72786         [BZ #5993]
72787         * manual/install.texi: Do not document upgrading from libc5.
72789 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72791         [BZ #4596]
72792         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72794 2012-02-18  David S. Miller  <davem@davemloft.net>
72796         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72797         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72798         %o7 across the call.
72799         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72800         instead.
72801         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72802         SETUP_PIC_REG_LEAF.
72803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72804         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72805         * sysdeps/sparc/crtn.S: Likewise.
72807 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72809         * aout/Makefile: Remove.
72811 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72813         [BZ #13058]
72814         * manual/examples/argp-ex1.c (main): Format definition in GNU
72815         style.
72816         * manual/examples/argp-ex2.c (main): Likewise.
72817         * manual/examples/argp-ex3.c (main): Likewise.
72818         * manual/examples/argp-ex4.c (main): Likewise.
72819         * manual/examples/longopt.c (main): Use new-style prototype
72820         definition.
72821         * manual/examples/strncat.c (main): Specify return type and use
72822         (void) for arguments.
72823         * manual/examples/subopt.c (main): Use char **argv argument.
72825 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72827         [BZ #5077]
72828         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72829         rounding modes.
72831 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72833         [BZ #6907]
72834         * manual/string.texi (strchr): Change when strchrnul is
72835         recommended.
72837 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72839         [BZ #174]
72840         * manual/locale.texi (setlocale): Document LOCPATH.
72842 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72844         [BZ #10210]
72845         * manual/process.texi (execle): Move @dots{} before last argument.
72847 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72849         [BZ #12047]
72850         * manual/charset.texi (Generic Charset Conversion): Fix typo
72851         (LC_TYPE -> LC_CTYPE).
72853 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72855         [BZ #5805]
72856         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72857         (scalbnf): Likewise.
72858         (scalbnl): Likewise.
72859         (scalbln): Likewise.
72860         (scalblnf): Likewise.
72861         (scalblnl): Likewise.
72862         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72863         (vwarnx): Likewise.
72864         (verr): Likewise.
72865         (verrx): Likewise.
72866         * manual/filesys.texi (telldir): Use braces around return type.
72867         * manual/llio.texi (mmap): Add space after comma.
72868         (mmap64): Likewise.
72869         * manual/math.texi (jn): Use @var{} on parameter names.
72870         (jnf): Likewise.
72871         (jnl): Likewise.
72872         (yn): Likewise.
72873         (ynf): Likewise.
72874         (ynl): Likewise.
72875         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72876         line.
72877         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72878         "...".
72879         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72880         (sched_get_priority_max): Likewise.
72881         * manual/signal.texi (sigvec): Add space after comma.
72882         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72883         names.
72884         (if_indextoname): Likewise.
72885         (if_freenameindex): Likewise.
72886         (sendto): Use ',' instead of '.' in prototype.
72887         * manual/startup.texi (syscall): Use @dots{} instead of literal
72888         "...".
72889         * manual/stdio.texi (__fpending): Separate initial words of
72890         paragraph from @deftypefun line.
72891         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72892         "...".
72893         (vsyslog): Use @var{} on parameter names.
72894         * manual/terminal.texi (stty): Use @var{} on parameter names.
72895         * manual/users.texi (getutmp): Use @var{} on parameter names.
72896         (getutmpx): Likewise.
72898 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72900         [BZ #6884]
72901         * manual/stdio.texi (fopen): Fix typos in description of
72902         ",ccs=STRING".
72904 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72906         [BZ #4026]
72907         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72908         get clock_id definition.
72910 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72912         [BZ #4822]
72913         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72914         (madvise): Cast every argument to void on its own.
72916 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72918         [BZ #9902]
72919         * manual/startup.texi (Exit Status): Fix typo.
72921 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72923         [BZ #10140]
72924         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72925         * manual/examples/argp-ex2.c: Likewise.
72926         * manual/examples/argp-ex3.c: Likewise.
72928 2012-02-16  Richard Henderson  <rth@redhat.com>
72930         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72931         * sysdeps/s390/s390-32/initfini.c: Remove.
72932         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72933         * sysdeps/s390/s390-64/initfini.c: Remove.
72935 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72937         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72938         compiler output for sysdeps/generic/initfini.c.
72939         * sysdeps/sh/elf/initfini.c: Remove file.
72941 2012-02-16  David S. Miller  <davem@davemloft.net>
72943         [BZ #11494]
72944         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72946         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72947         * sysdeps/sparc/crti.S: New file.
72948         * sysdeps/sparc/crtn.S: New file.
72949         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72950         * sysdeps/sparc/sparc64/Makefile: Likewise.
72952 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72954         [BZ #3335]
72955         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72957 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72959         [BZ #4822]
72960         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72962         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72963         (write, read, close): Likewise.
72964         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72966 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72968         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72969         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72970         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72971         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72972         <bits/signalfd.h>.
72973         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72975         bits/signalfd.h.
72977 2012-02-14  Marek Polacek  <polacek@redhat.com>
72979         * sysdeps/x86_64/crti.S: New file.
72980         * sysdeps/x86_64/crtn.S: New file.
72981         * sysdeps/x86_64/elf/initfini.c: Remove file.
72983 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72985         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72986         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72987         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72988         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72989         <bits/inotify.h>.
72990         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72992         bits/inotify.h.
72994 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72996         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72997         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72998         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72999         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73000         <bits/eventfd.h>.
73001         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73003         bits/eventfd.h.
73005 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73007         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73008         __feraiseexcept instead of feraiseexcept.
73010         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73011         nanosleep invocations.
73012         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73013         strings, and add error checking for a nanosleep invocations.
73015 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73017         Replace FSF snail mail address with URLs, as per GNU coding standards.
73018         Most of the snail mail addresses were wrong anyway, and omitting
73019         them makes the source code easier to maintain.  Almost all of the
73020         changes are to license notices and to locale LC_IDENTIFICATION
73021         addresses, except for this one:
73022         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73023         not its snail mail address.
73025 2012-02-09  Richard Henderson  <rth@twiddle.net>
73027         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73028         of kernel-features.h.
73030         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73032 2012-02-08  Marek Polacek  <polacek@redhat.com>
73034         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73035         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73036         * sysdeps/gnu/_G_config.h: Likewise.
73037         * sysdeps/generic/_G_config.h: Likewise.
73039 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73041         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73042         tests.
73043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73045         * sysdeps/powerpc/powerpc32/crti.S: New file.
73046         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73047         * sysdeps/powerpc/powerpc64/crti.S: New file.
73048         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73050         * Makeconfig (have-initfini): Don't set.
73051         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73052         * configure.in (nopic_initfini): Don't substitute.
73053         * config.h.in (HAVE_INITFINI): Don't #undef.
73054         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73055         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73057 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73059         Support crti.S and crtn.S provided directly by architectures.
73060         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73061         [crti.S in sysdirs] (omit-deps): Likewise.
73062         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73063         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73064         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73065         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73066         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73067         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73068         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73069         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73070         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73071         compiler output for sysdeps/generic/initfini.c.
73072         * sysdeps/i386/elf/Makefile: Remove file.
73073         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73075 2012-02-07  Marek Polacek  <polacek@redhat.com>
73077         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73078         * sysdeps/gnu/_G_config.h: Likewise.
73079         * sysdeps/mach/hurd/_G_config.h: Likewise.
73081 2012-02-07  Marek Polacek  <polacek@redhat.com>
73083         * math/Makefile (tests): Add tst-CMPLX2.
73084         * math/tst-CMPLX2.c: New file.
73086 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73088         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73090         * math/libm-test.inc (jn_test): Add missing L suffix.
73092 2012-02-06  Marek Polacek  <polacek@redhat.com>
73094         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73095         * sysdeps/i386/fpu/e_powf.S: Likewise.
73096         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73097         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73098         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73099         * sysdeps/i386/fpu/e_pow.S: Likewise.
73100         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73101         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73102         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73103         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73104         * sysdeps/i386/fpu/e_log2.S: Likewise.
73105         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73106         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73107         * sysdeps/i386/fpu/e_powl.S: Likewise.
73108         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73109         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73110         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73111         * sysdeps/i386/fpu/e_logl.S: Likewise.
73112         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73113         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73114         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73115         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73116         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73117         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73118         * sysdeps/i386/fpu/e_log.S: Likewise.
73119         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73120         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73121         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73122         * sysdeps/i386/fpu/e_logf.S: Likewise.
73123         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73124         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73125         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73126         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73127         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73128         * sysdeps/i386/fpu/e_log10.S: Likewise.
73129         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73130         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73131         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73132         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73133         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73134         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73135         * sysdeps/i386/asm-syntax.h: Likewise.
73136         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73137         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73138         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73139         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73140         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73141         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73142         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73143         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73144         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73145         * sysdeps/powerpc/sysdep.h: Likewise.
73146         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73147         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73149 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73151         [BZ #411]
73152         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73154 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73156         * sysdeps/i386/sysdep.h: Include <features.h>.
73157         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73158         version.
73160 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73162         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73163         Define.
73164         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73165         LOAD_PIC_REG_STR.
73167 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73169         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73170         (SETUP_PIC_REG): Use GET_PC_THUNK.
73171         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73172         macro.
73174 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73176         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73177         for non-PIC compilation.
73178         (SETUP_PIC_REG): Add .p2align directive.
73179         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73180         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73181         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73182         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73183         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73184         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73185         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73186         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73187         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73188         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73189         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73190         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73191         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73192         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73193         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73194         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73195         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73196         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73197         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73198         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73199         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73200         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73201         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73202         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73203         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73205         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73206         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73207         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73208         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73209         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73210         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73211         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73212         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73213         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73214         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73215         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73216         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73217         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73218         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73219         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73221 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73223         * math/tst-CMPLX.c: Include <stdio.h>.
73225 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73227         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73228         float.
73229         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73230         * sysdeps/sparc/bits/mathdef.h: Likewise.
73232 2012-01-31  Marek Polacek  <polacek@redhat.com>
73234         * libio/libio.h: Don't define _PARAMS.
73235         * locale/programs/config.h: Don't define PARAMS.
73236         * stdlib/strtol_l.c: Likewise.
73237         (__strtol_l): Remove PARAMS from the prototype.
73239 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73241         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73242         names.  Just use the correct names.  Remove unnecessary wrapper
73243         functions.
73244         * malloc/arena.c: Likewise.
73245         * malloc/hooks.c: Likewise.
73247         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73248         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73249         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73251 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73253         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73254         into tail calls.
73255         (update_get_addr): New function.
73256         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73257         GET_ADDR_MODULE parameter.
73259 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73261         * crypt/cert.c: Remove __STDC__ conditionals.
73262         * crypt/crypt-entry.c: Likewise.
73263         * crypt/crypt_util.c: Likewise.
73264         * libio/filedoalloc.c: Likewise.
73265         * libio/fileops.c: Likewise.
73266         * libio/genops.c: Likewise.
73267         * libio/iofclose.c: Likewise.
73268         * libio/iofdopen.c: Likewise.
73269         * libio/iofopen.c: Likewise.
73270         * libio/iofopen64.c: Likewise.
73271         * libio/iogetdelim.c: Likewise.
73272         * libio/iopopen.c: Likewise.
73273         * libio/obprintf.c: Likewise.
73274         * libio/oldfileops.c: Likewise.
73275         * libio/oldiofclose.c: Likewise.
73276         * libio/oldiofdopen.c: Likewise.
73277         * libio/oldiofopen.c: Likewise.
73278         * libio/oldiopopen.c: Likewise.
73279         * libio/wfiledoalloc.c: Likewise.
73280         * libio/wgenops.c: Likewise.
73281         * locale/programs/xmalloc.c: Likewise.
73282         * misc/syslog.c: Likewise.
73283         * stdio-common/xbug.c: Likewise.
73284         * string/memchr.c: Likewise.
73285         * string/memcmp.c: Likewise.
73286         * string/memrchr.c: Likewise.
73287         * string/rawmemchr.c: Likewise.
73288         * sysdeps/posix/getcwd.c: Likewise.
73289         * time/strftime_l.c: Likewise.
73291 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73293         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73294         * config.make.in (config-cflags-sse2avx): Define.
73295         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73296         Fix typo.
73298 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73300         * scripts/config.guess: Update from upstream config git repository.
73301         * scripts/config.sub: Likewise.
73303 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73305         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73306         (EM_NUM): Update.
73307         (R_TILEPRO_*, R_TILEGX_*): New macros.
73309         * scripts/firstversions.awk: Fix bug in version range handling.
73311         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73313         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73315         * include/sys/epoll.h: New file.
73316         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73317         libc_hidden_def.
73319 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73321         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73322         Avoid unnecessary __WORDSIZE == 64 test.
73323         (fmaxf): Use VEX format if possible.
73324         (fmax): Likewise.
73325         (fminf): Likewise.
73326         (fmin): Likewise.
73328         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73329         * math/math_private.h: Remove libc_fegetround* and
73330         libc_fesetround*.
73331         * sysdeps/i386/configure.in: Check for -msse2avx.
73332         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73333         also if SSE2AVX is defined.
73334         Remove libc_fegetround* and libc_fesetround*.
73335         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73336         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73337         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73338         of HAS_YMM_USABLE.
73339         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73340         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73341         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73342         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73343         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73345         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73347 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73349         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73350         size is not set.
73351         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73353 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73355         [BZ #13618]
73356         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73357         relocation.
73358         * Makeconfig (libm): Define.
73359         * elf/Makefile: Add rules to build and run tst-relsort1.
73360         * elf/tst-relsort1.c: New file.
73361         * elf/tst-relsort1mod1.c: New file.
73362         * elf/tst-relsort1mod2.c: New file.
73364 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73366         * math/s_ldexp.c: Remove __STDC__ conditionals.
73367         * math/s_ldexpf.c: Likewise.
73368         * math/s_ldexpl.c: Likewise.
73369         * math/s_nextafter.c: Likewise.
73370         * math/s_nexttowardf.c: Likewise.
73371         * math/s_significand.c: Likewise.
73372         * math/s_significandf.c: Likewise.
73373         * math/s_significandl.c: Likewise.
73374         * math/w_jnl.c: Likewise.
73375         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73376         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73377         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73378         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73379         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73380         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73381         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73382         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73383         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73384         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73385         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73386         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73387         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73388         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73389         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73390         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73391         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73392         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73393         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73394         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73395         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73396         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73397         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73398         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73399         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73400         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73401         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73402         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73403         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73404         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73405         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73406         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73407         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73408         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73409         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73410         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73411         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73412         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73413         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73414         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73415         * sysdeps/ieee754/k_standard.c: Likewise.
73416         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73417         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73418         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73419         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73420         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73421         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73422         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73423         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73424         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73425         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73426         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73427         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73428         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73429         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73430         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73431         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73432         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73433         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73435         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73436         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73437         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73438         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73439         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73440         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73441         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73442         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73443         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73444         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73445         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73446         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73447         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73448         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73449         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73450         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73451         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73452         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73453         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73454         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73455         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73456         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73457         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73458         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73459         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73460         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73461         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73462         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73463         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73464         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73465         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73466         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73467         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73468         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73469         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73470         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73471         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73472         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73473         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73474         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73475         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73476         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73477         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73478         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73479         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73480         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73481         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73482         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73483         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73484         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73485         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73486         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73487         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73488         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73489         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73490         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73491         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73492         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73493         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73494         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73495         * sysdeps/ieee754/s_matherr.c: Likewise.
73496         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73497         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73499         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73501 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73503         * crypt/md5.h: Remove __STDC__ conditionals.
73504         * libio/libioP.h: Likewise.
73505         * locale/programs/config.h: Likewise.
73506         * sysdeps/generic/sysdep.h: Likewise.
73507         * sysdeps/i386/asm-syntax.h: Likewise.
73508         * sysdeps/s390/asm-syntax.h: Likewise.
73509         * sysdeps/unix/sysdep.h: Likewise.
73510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73513 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73515         * libio/libio.h: Remove __STDC__ conditionals.
73516         * malloc/obstack.h: Likewise.
73517         * math/complex.h: Likewise.
73518         * math/math.h: Likewise.
73519         * sysdeps/generic/_G_config.h: Likewise.
73520         * sysdeps/gnu/_G_config.h: Likewise.
73521         * sysdeps/mach/hurd/_G_config.h: Likewise.
73522         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73523         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73524         * sysdeps/sparc/bits/mathdef.h: Likewise.
73526 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73528         [BZ #13583]
73529         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73530         Clean up HAS_* macros.
73531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73532         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73533         possible.
73534         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73535         HAS_AVX.
73536         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73537         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73538         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73539         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73540         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73542 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73544         * elf/tst-unique3.cc (gets): Remove declaration.
73545         * elf/tst-unique3lib.cc (gets): Likewise.
73546         * elf/tst-unique3lib2.cc (gets): Likewise.
73547         * elf/tst-unique4.cc (gets): Likewise.
73549 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73551         * include/stdio.h: Add C++ protection.  Add gets declarations and
73552         definitions.
73553         * debug/tst-chk1.c: Don't declare gets here.
73554         * stdio-common/tst-gets.c: Likewise.
73556 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73558         * posix/glob: Remove directory.
73560 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73562         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73564 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73566         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73567         of the non-standard EPFNOSUPPORT.
73569 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73571         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73572         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73573         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73575 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73577         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73579 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73581         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73582         transient errors.
73583         * nscd/grpcache.c (cache_addgr): Likewise.
73584         * nscd/hstcache.c (cache_addhst): Likewise.
73585         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73586         * nscd/pwdcache.c (cache_addpw): Likewise.
73587         * nscd/servicescache.c (cache_addserv): Likewise.
73589 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73591         * malloc/malloc.c: Various cleanups.
73592         * malloc/hooks.c: Likewise.
73594         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73595         * stdlib/bug-fmtmsg1.c: New file.
73597         * stdlib/fmtmsg.c (init): Add missing unlock.
73598         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73600 2012-01-12  Marek Polacek  <polacek@redhat.com>
73602         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73603         and _GNU_SOURCE.
73605 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73607         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73608         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73609         macro to ensure uniqueness of label name.
73610         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73611         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73613 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73615         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73617         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73618         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73619         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73622 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73624         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73626         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73627         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73628         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73630         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73632         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73633         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73634         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73635         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73637         * math/bits/math-finite.h: Add ldexp support.
73639 2012-01-10  Marek Polacek  <polacek@redhat.com>
73641         * locale/programs/localedef.h (show_archive_content): Add noreturn
73642         attribute.
73644 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73646         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73648 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73650         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73652         * io/Makefile (headers): Add bits/poll2.h.
73654 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73657         typo #include statement.
73659 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73661         * include/sys/cdefs.h: Define __attribute_alloc_size.
73662         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73663         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73664         * elf/pldd.c: Likewise.
73665         * iconv/iconv_charmap.c: Likewise.
73666         * iconv/iconvconfig.c: Likewise.
73667         * iconv/strtab.c: Likewise.
73668         * locale/programs/locale.c: Likewise.
73669         * locale/programs/localedef.h: Likewise.
73670         * locale/programs/simple-hash.c: Likewise.
73671         * nscd/nscd.h: Likewise.
73672         * nss/makedb.c: Likewise.
73673         * sysdeps/generic/ldconfig.h: Likewise.
73674         * locale/programs/localedef.c: Remove xmalloc prototype.
73675         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73677 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73679         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73680         appropriate.
73682 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73684         * math/Makefile (tests): Add tst-CMPLX.
73685         * math/tst-CMPLX.c: New file.
73687         * math/complex.h (CMPLXL): Fix typo.
73689         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73690         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73691         GLIBC_2.16.
73692         * debug/tst-chk1.c: Add poll and ppoll tests.
73693         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73694         * include/sys/poll.h: Add hidden proto for ppoll.
73695         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73696         * sysdeps/mach/hurd/ppoll.c: Likewise.
73697         * io/ppoll.c: Likewise.
73698         * debug/poll_chk.c: New file.
73699         * debug/ppoll_chk.c: New file.
73700         * include/bits/poll2.h: New file.
73701         * io/bits/poll2.h: New file.
73703         [BZ #1350]
73704         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73706         * configure.in: static is always set to yes.  Remove.
73707         * config.make.in: Don't set build-static.
73708         * Makeconfig: Remove use of build-static.
73709         * dlfcn/Makefile: Likewise.
73710         * elf/Makefile: Likewise.
73711         * math/Makefile: Likewise.
73712         * misc/Makefile: Likewise.
73713         * nptl/Makefile: Likewise.
73714         * sysdeps/mach/hurd/Makefile: Likewise.
73716         * configure.in: PWD_P is not used anymore.
73717         * config.make.in: Remove PWD_P entry.
73719         * configure.in: Remove last remnants of RANLIB.
73720         No need to check for signed size_t anymore.
73721         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73722         and IA-64.
73723         Remove __builtin_expect test because we require at least gcc 3.4.
73724         * aclocal.m4: Likewise.
73726         * wcsmbs/mbrtoc16.c: Implement using towc function.
73727         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73728         * wcsmbs/wcsmbsload.c: Likewise.
73729         * iconv/gconv_simple.c: Likewise.
73730         * iconv/gconv_int.h: Likewise.
73731         * iconv/gconv_builtin.h: Likewise.
73732         * iconv/iconv_prog.c: Remove CHAR16 handling.
73734         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73736         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73738         * configure.in: Remove --with-elf and --enable-bounded options.
73739         Dont set base_machine for ia64.  More non-ELF conditions removed.
73740         Remove testing and setting of leading underscore information.
73741         * config.make.in (build-bounded): Set to no.
73742         * config.h.in: Remove NO_UNDERSCORES entry.
73743         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73744         them.
73745         * csu/start.c: Remove !NO_UNDERSCORE code.
73746         * locale/localeinfo.h: Likewise.
73747         * sysdeps/generic/machine-gmon.h: Likewise.
73748         * sysdeps/generic/sysdep.h: Likewise.
73749         * sysdeps/i386/sysdep.h: Likewise.
73750         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73751         * sysdeps/mach/sysdep.h: Likewise.
73752         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73753         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73754         * sysdeps/sh/sysdep.h: Likewise.
73755         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73756         * sysdeps/unix/i386/sysdep.S: Likewise.
73757         * sysdeps/unix/sparc/start.c: Likewise.
73758         * sysdeps/unix/sparc/sysdep.S: Likewise.
73759         * sysdeps/unix/sparc/sysdep.h: Likewise.
73760         * sysdeps/unix/start.c: Likewise.
73761         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73762         * sysdeps/x86_64/sysdep.h: Likewise.
73764 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73766         [BZ #13553]
73767         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73768         for non-gcc.
73769         * argp/argp-fmtstream.h: Use const instead __const.
73770         * argp/argp.h: Likewise.
73771         * assert/assert.h: Likewise.
73772         * bits/fenv.h: Likewise.
73773         * bits/sched.h: Likewise.
73774         * bits/sigset.h: Likewise.
73775         * bits/sigthread.h: Likewise.
73776         * catgets/nl_types.h: Likewise.
73777         * conform/data/pthread.h-data: Likewise.
73778         * crypt/crypt-private.h: Likewise.
73779         * crypt/crypt.h: Likewise.
73780         * crypt/crypt_util.c: Likewise.
73781         * ctype/ctype.h: Likewise.
73782         * debug/execinfo.h: Likewise.
73783         * debug/mbsnrtowcs_chk.c: Likewise.
73784         * debug/mbsrtowcs_chk.c: Likewise.
73785         * debug/wcsnrtombs_chk.c: Likewise.
73786         * debug/wcsrtombs_chk.c: Likewise.
73787         * debug/wcstombs_chk.c: Likewise.
73788         * dirent/dirent.h: Likewise.
73789         * dlfcn/dlfcn.h: Likewise.
73790         * elf/neededtest4.c: Likewise.
73791         * grp/grp.h: Likewise.
73792         * gshadow/gshadow.h: Likewise.
73793         * iconv/gconv.h: Likewise.
73794         * iconv/gconv_int.h: Likewise.
73795         * iconv/gconv_simple.c: Likewise.
73796         * iconv/iconv.h: Likewise.
73797         * iconv/loop.c: Likewise.
73798         * iconv/skeleton.c: Likewise.
73799         * include/aio.h: Likewise.
73800         * include/aliases.h: Likewise.
73801         * include/argz.h: Likewise.
73802         * include/arpa/inet.h: Likewise.
73803         * include/assert.h: Likewise.
73804         * include/dirent.h: Likewise.
73805         * include/dlfcn.h: Likewise.
73806         * include/execinfo.h: Likewise.
73807         * include/fcntl.h: Likewise.
73808         * include/fenv.h: Likewise.
73809         * include/glob.h: Likewise.
73810         * include/grp.h: Likewise.
73811         * include/libintl.h: Likewise.
73812         * include/mntent.h: Likewise.
73813         * include/netdb.h: Likewise.
73814         * include/pwd.h: Likewise.
73815         * include/rpc/netdb.h: Likewise.
73816         * include/sched.h: Likewise.
73817         * include/search.h: Likewise.
73818         * include/shadow.h: Likewise.
73819         * include/signal.h: Likewise.
73820         * include/stdio.h: Likewise.
73821         * include/stdlib.h: Likewise.
73822         * include/string.h: Likewise.
73823         * include/sys/socket.h: Likewise.
73824         * include/sys/stat.h: Likewise.
73825         * include/sys/statfs.h: Likewise.
73826         * include/sys/statvfs.h: Likewise.
73827         * include/sys/syslog.h: Likewise.
73828         * include/sys/time.h: Likewise.
73829         * include/sys/uio.h: Likewise.
73830         * include/time.h: Likewise.
73831         * include/unistd.h: Likewise.
73832         * include/utmp.h: Likewise.
73833         * include/wchar.h: Likewise.
73834         * include/wctype.h: Likewise.
73835         * inet/aliases.h: Likewise.
73836         * inet/arpa/inet.h: Likewise.
73837         * inet/netinet/ether.h: Likewise.
73838         * inet/netinet/in.h: Likewise.
73839         * intl/libintl.h: Likewise.
73840         * io/bits/fcntl2.h: Likewise.
73841         * io/fcntl.h: Likewise.
73842         * io/ftw.h: Likewise.
73843         * io/sys/poll.h: Likewise.
73844         * io/sys/stat.h: Likewise.
73845         * io/sys/statfs.h: Likewise.
73846         * io/sys/statvfs.h: Likewise.
73847         * io/utime.h: Likewise.
73848         * libio/bits/stdio.h: Likewise.
73849         * libio/bits/stdio2.h: Likewise.
73850         * libio/libio.h: Likewise.
73851         * libio/libioP.h: Likewise.
73852         * libio/stdio.h: Likewise.
73853         * locale/lc-ctype.c: Likewise.
73854         * locale/locale.h: Likewise.
73855         * login/utmp.h: Likewise.
73856         * malloc/arena.c: Likewise.
73857         * malloc/malloc.c: Likewise.
73858         * malloc/malloc.h: Likewise.
73859         * malloc/mcheck.c: Likewise.
73860         * malloc/mtrace.c: Likewise.
73861         * math/bits/mathcalls.h: Likewise.
73862         * math/fenv.h: Likewise.
73863         * math/math_private.h: Likewise.
73864         * misc/bits/error.h: Likewise.
73865         * misc/bits/syslog.h: Likewise.
73866         * misc/err.h: Likewise.
73867         * misc/error.h: Likewise.
73868         * misc/fstab.h: Likewise.
73869         * misc/mntent.h: Likewise.
73870         * misc/regexp.h: Likewise.
73871         * misc/search.h: Likewise.
73872         * misc/sgtty.h: Likewise.
73873         * misc/sys/mman.h: Likewise.
73874         * misc/sys/syslog.h: Likewise.
73875         * misc/sys/uio.h: Likewise.
73876         * misc/sys/xattr.h: Likewise.
73877         * misc/ttyent.h: Likewise.
73878         * nis/rpcsvc/ypclnt.h: Likewise.
73879         * nss/nss.h: Likewise.
73880         * posix/bits/unistd.h: Likewise.
73881         * posix/fnmatch.h: Likewise.
73882         * posix/glob.h: Likewise.
73883         * posix/sched.h: Likewise.
73884         * posix/spawn.h: Likewise.
73885         * posix/sys/wait.h: Likewise.
73886         * posix/unistd.h: Likewise.
73887         * posix/wordexp.h: Likewise.
73888         * pwd/pwd.h: Likewise.
73889         * resolv/netdb.h: Likewise.
73890         * resource/sys/resource.h: Likewise.
73891         * rt/aio.h: Likewise.
73892         * rt/bits/mqueue2.h: Likewise.
73893         * rt/mqueue.h: Likewise.
73894         * shadow/shadow.h: Likewise.
73895         * signal/signal.h: Likewise.
73896         * socket/send.c: Likewise.
73897         * socket/sendto.c: Likewise.
73898         * socket/sys/socket.h: Likewise.
73899         * stdio-common/printf.h: Likewise.
73900         * stdlib/bits/stdlib.h: Likewise.
73901         * stdlib/fmtmsg.h: Likewise.
73902         * stdlib/monetary.h: Likewise.
73903         * stdlib/stdlib.h: Likewise.
73904         * stdlib/ucontext.h: Likewise.
73905         * streams/stropts.h: Likewise.
73906         * string/argz.h: Likewise.
73907         * string/bits/string2.h: Likewise.
73908         * string/string.h: Likewise.
73909         * string/strings.h: Likewise.
73910         * sunrpc/rpc/auth.h: Likewise.
73911         * sunrpc/rpc/auth_des.h: Likewise.
73912         * sunrpc/rpc/clnt.h: Likewise.
73913         * sunrpc/rpc/netdb.h: Likewise.
73914         * sunrpc/rpc/pmap_clnt.h: Likewise.
73915         * sunrpc/rpc/xdr.h: Likewise.
73916         * sysdeps/generic/inttypes.h: Likewise.
73917         * sysdeps/generic/net/if.h: Likewise.
73918         * sysdeps/generic/sys/swap.h: Likewise.
73919         * sysdeps/gnu/net/if.h: Likewise.
73920         * sysdeps/gnu/utmpx.h: Likewise.
73921         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73922         * sysdeps/i386/i486/bits/string.h: Likewise.
73923         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73924         * sysdeps/s390/bits/string.h: Likewise.
73925         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73926         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73927         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73928         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73929         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73930         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73931         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73932         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73933         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73934         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73935         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73936         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73937         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73938         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73939         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73940         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73941         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73942         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73943         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73944         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73945         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73946         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73947         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73948         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73949         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73950         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73951         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73952         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73953         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73954         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73955         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73956         * sysvipc/sys/ipc.h: Likewise.
73957         * sysvipc/sys/msg.h: Likewise.
73958         * sysvipc/sys/sem.h: Likewise.
73959         * sysvipc/sys/shm.h: Likewise.
73960         * termios/termios.h: Likewise.
73961         * time/sys/time.h: Likewise.
73962         * time/time.h: Likewise.
73963         * wcsmbs/bits/wchar2.h: Likewise.
73964         * wcsmbs/uchar.h: Likewise.
73965         * wcsmbs/wchar.h: Likewise.
73966         * wctype/wctype.h: Likewise.
73968         [BZ #13551]
73969         * Makeconfig: Remove all but ELF support including AIX support.
73970         * Makerules: Likewise.
73971         * config.h.in: Likewise.
73972         * config.make.in: Likewise.
73973         * configure: Likewise.
73974         * configure.in: Likewise.
73975         * csu/Makefile: Likewise.
73976         * csu/version.c: Likewise.
73977         * debug/Makefile: Likewise.
73978         * dlfcn/Makefile: Likewise.
73979         * elf/Makefile: Likewise.
73980         * extra-lib.mk: Likewise.
73981         * iconv/Makefile: Likewise.
73982         * include/libc-symbols.h: Likewise.
73983         * include/shlib-compat.h: Likewise.
73984         * resolv/Makefile: Likewise.
73985         * resolv/res_libc.c: Likewise.
73986         * rt/Makefile: Likewise.
73987         * sysdeps/i386/asm-syntax.h: Likewise.
73988         * sysdeps/i386/sysdep.h: Likewise.
73989         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73990         * sysdeps/mach/sysdep.h: Likewise.
73991         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73992         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73993         * sysdeps/s390/asm-syntax.h: Likewise.
73994         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73995         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73996         * sysdeps/sh/sysdep.h: Likewise.
73997         * sysdeps/unix/sparc/sysdep.h: Likewise.
73998         * sysdeps/wordsize-32/divdi3.c: Likewise.
73999         * sysdeps/x86_64/sysdep.h: Likewise.
74001         * argp/Versions: Remove _argp_unlock_xxx.
74003         [BZ #13559]
74004         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74005         * abilist/libBrokenLocale.abilist: Likewise.
74006         * abilist/libanl.abilist: Likewise.
74007         * abilist/libc.abilist: Likewise.
74008         * abilist/libcrypt.abilist: Likewise.
74009         * abilist/libdl.abilist: Likewise.
74010         * abilist/libm.abilist: Likewise.
74011         * abilist/libnsl.abilist: Likewise.
74012         * abilist/libpthread.abilist: Likewise.
74013         * abilist/libresolv.abilist: Likewise.
74014         * abilist/librt.abilist: Likewise.
74015         * abilist/libthread_db.abilist: Likewise.
74016         * abilist/libutil.abilist: Likewise.
74017         * abilist/libnss_db.abilist: New file.
74019         * scripts/abilist.awk: Add support for indirect functions.
74021         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74023         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74025         * shlib-versions: Remove entries for ports architectures.
74027         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74028         files in ports.
74029         * elf/stackguard-macros.h: Remove support for IA-64.
74030         * elf/tst-auditmod1.c: Likewise.
74031         * sysdeps/generic/ldsodefs.h: Likewise.
74033         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74034         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74035         configure files.
74037         [BZ #13552]
74038         * configure.in: Remove --enable-omitfp support.
74039         * FAQ.in: Adjust.
74040         * config.make.in: Likewise.
74041         * Makeconfig: Likewise.
74042         * manual/install.texi: Likewise.
74044         In case anyone cares, the IA-64 architecture could move to ports.
74045         * sysdeps/ia64/*: Removed.
74046         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74047         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74049         [BZ #13555]
74050         * configure.in: Remove entries for unsupported architectures.
74052         [BZ #13533]
74053         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74054         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74055         routines.
74056         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74057         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74058         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74059         fall back to using wcrtomb.
74060         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74061         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74062         renaming.
74063         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74064         * wcsmbs/tst-c16c32-1.c: New file.
74066         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74067         local variable.
74069         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74071         * elf/tst-unique3.cc: Add explicit declaration of gets.
74072         * elf/tst-unique3lib.cc: Likewise.
74073         * elf/tst-unique3lib2.cc: Likewise.
74074         * elf/tst-unique4.cc: Likewise.
74076         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74078 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74080         [BZ #13566]
74081         * assert/assert.h (static_assert): Don't define for C++.
74082         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74083         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74085 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74087         * iconv/loop.c (single loop): Fix assertion in storing of
74088         remaining bytes.
74090         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74092 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74094         * posix/getconf.c: Update copyright year.
74095         * nss/getent.c: Likewise.
74096         * nss/makedb.c: Likewise.
74097         * iconv/iconvconfig.c: Likewise.
74098         * iconv/iconv_prog.c: Likewise.
74099         * elf/ldconfig.c: Likewise.
74100         * elf/pldd.c: Likewise.
74101         * elf/sotruss.ksh: Likewise.
74102         * catgets/gencat.c: Likewise.
74103         * csu/version.c: Likewise.
74104         * elf/ldd.bash.in: Likewise.
74105         * elf/sprof.c (print_version): Likewise.
74106         * locale/programs/locale.c: Likewise.
74107         * locale/programs/localedef.c: Likewise.
74108         * login/programs/pt_chown.c: Likewise.
74109         * nscd/nscd.c (print_version): Likewise.
74110         * debug/xtrace.sh: Likewise.
74111         * malloc/memusage.sh: Likewise.
74112         * malloc/mtrace.pl: Likewise.
74113         * debug/catchsegv.sh: Likewise.
74115 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74117         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74118         pure attribute.
74120 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74122         [BZ #13533]
74123         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74124         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74125         transformations.
74126         * iconv/gconv_int.h: Likewise.
74127         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74128         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74129         from libc for GLIBC_2.16.
74130         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74131         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74132         * wcsmbs/uchar.h: Really define mbstate_t.
74133         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74134         * wcsmbs/c16rtomb.c: New file.
74135         * wcsmbs/mbrtoc16.c: New file.
74136         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74137         for C/POSIX locale.
74138         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74139         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74141         * wcsmbs/wchar.h: Add missing __restrict.
74143 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74145         [BZ #13532]
74146         * time/Makefile (routines): Add timespec_get.
74147         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74148         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74149         timespec for ISO C11.
74150         * time/timespec_get.c: New file.
74151         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74152         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74154         [BZ #13531]
74155         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74156         * stdlib/stdlib.h: Declare aligned_alloc.
74157         * Versions.def: Add GLIBC_2.16 for libc.
74158         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74160         [BZ 13527]
74161         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74162         ISO C11.
74164         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74165         code.
74167         [BZ #13528]
74168         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74170         [BZ #13529]
74171         * assert/assert.h (static_assert): Define.
74173         * version.h: Update for 2.16 development version.
74175         [BZ #13526]
74176         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74177         _ISOC11_SOURCE.
74179         * version.h (RELEASE): Bump for 2.15 release.
74180         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74182         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74183         Patch by Marek Polacek <mpolacek@redhat.com>.
74185         * bits/byteswap.h: Protect long long constants with __extension__.
74186         * sysdeps/i386/bits/byteswap.h: Likewise.
74187         * sysdeps/ia64/bits/byteswap.h: Likewise.
74188         * sysdeps/s390/bits/byteswap.h: Likewise.
74189         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74191 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74193         [BZ #13540]
74194         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74195         destination buffer.
74196         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74198 2011-12-23  Marek Polacek  <polacek@redhat.com>
74200         * elf/dl-addr.c (determine_info): Add inline keyword.
74201         * elf/tst-auditmod4b.c (check_avx): Likewise.
74202         * elf/tst-auditmod6b.c (check_avx): Likewise.
74203         * elf/tst-auditmod6c.c (check_avx): Likewise.
74204         * elf/tst-auditmod7b.c (check_avx): Likewise.
74206 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74208         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74209         !__SSE_MATH__.
74211 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74213         [BZ #13540]
74214         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74215         processing for last bytes.
74217 2011-08-06  Bruno Haible  <bruno@clisp.org>
74219         [BZ #13061]
74220         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74221         U+0385, not to U+1FEE.
74223         [BZ #13062]
74224         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74225         entry for U+00A5 U+0301.
74227 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74229         [BZ #13166]
74230         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74231         buffer for the output is too small.
74233         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74234         optimization.
74236         [BZ #13185]
74237         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74238         SSE flags if possible.
74240 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74242         [BZ #13540]
74243         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74244         processing for last bytes.
74246 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74248         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74249         (syscall-list-default-options, syscall-list-default-condition)
74250         (syscall-list-includes): Define.
74251         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74252         list of ABIs and options and #if conditions for each ABI.  Do not
74253         handle common syscalls between ABIs specially.
74254         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74255         Remove.
74256         (syscall-list-variants, syscall-list-32bit-options)
74257         (syscall-list-32bit-condition, syscall-list-64bit-options)
74258         (syscall-list-64bit-condition): Define.
74259         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74260         (syscall-list-variants, syscall-list-32bit-options)
74261         (syscall-list-32bit-condition, syscall-list-64bit-options)
74262         (syscall-list-64bit-condition): Define.
74263         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74264         Remove.
74265         (syscall-list-variants, syscall-list-32bit-options)
74266         (syscall-list-32bit-condition, syscall-list-64bit-options)
74267         (syscall-list-64bit-condition): Define.
74268         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74269         Remove.
74270         (syscall-list-variants, syscall-list-32bit-options)
74271         (syscall-list-32bit-condition, syscall-list-64bit-options)
74272         (syscall-list-64bit-condition): Define.
74274 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74276         * locale/iso-639.def: Add brx entry.
74278         [BZ #13328]
74279         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74280         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74282         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74283         __feraiseexcept_renamed.
74285 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74287         [BZ #13538]
74288         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74289         EPOLLET with unsigned values.
74290         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74291         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74293         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74294         to large cancellation.
74295         * math/s_cacoshf.c: Likewise.
74296         * math/s_cacoshl.c: Likewise.
74298 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74300         [BZ #13305]
74301         [BZ #12786]
74302         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74303         * math/s_cacoshf.c: Likewise.
74304         * math/s_cacoshl.c: Likewise.
74306 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74308         [BZ #13439]
74309         * iconv/gconv.h: Define __GCONV_SWAP.
74310         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74311         * iconvdata/utf-16.c: Likewise.
74312         * iconvdata/utf-32.c: Likewise.
74314 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74316         [BZ #13524]
74317         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74318         numerator after shifting it by one limb.
74320 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74322         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74323         under [__USE_EXTERN_INLINES].
74325 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74327         [BZ #13446]
74328         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74330 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74332         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74333         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74334         optimized code.
74335         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74336         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74337         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74338         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74339         for strncasecmp/strncasecmp_l compilation.
74340         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74341         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74343 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74345         [BZ #13484]
74346         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74347         of __asm__.
74349 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74351         [BZ #13506]
74352         * time/tzfile.c (__tzfile_read): Check values from file header.
74354 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74356         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74357         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74358         * powerpc/powerpc32/dl-start.S: Likewise.
74359         * powerpc/powerpc32/elf/start.S: Likewise.
74360         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74361         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74362         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74363         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74364         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74365         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74366         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74367         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74368         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74369         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74370         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74371         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74372         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74373         * powerpc/powerpc32/memset.S: Likewise.
74374         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74375         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74376         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74377         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74378         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74379         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74380         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74381         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74382         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74383         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74384         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74385         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74386         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74388 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74390         * math/libm-test.inc: Added more nearbyint tests.
74391         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74392         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74394         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74396 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74398         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74399         FD_CLOEXEC.
74401 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74403         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74404         Add wcscpy-ssse3 wcscpy-c.
74405         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74406         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74407         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74408         * sysdeps/x86_64/wcschr.S: New file.
74409         * sysdeps/x86_64/wcsrchr.S: New file.
74410         * string/test-strcmp.c: Remove checking of wcscmp function for
74411         wrong alignments.
74412         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74413         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74414         wcsrchr-sse2 wcsrchr-c.
74415         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74416         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74417         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74418         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74419         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74420         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74421         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74422         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74423         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74424         * wcsmbc/wcschr.c (WCSCHR): New macro.
74426 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74428         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74429         * wcsmbs/test-wcsrchr.c: New file.
74430         * string/test-strrchr.c: Add wcsrchr support.
74431         (WIDE): New macro.
74432         * wcsmbs/test-wcscpy.c: New file.
74433         * string/test-strcpy.c: Add wcscpy support.
74434         (WIDE): New macro.
74436 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74438         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74439         the inner loop.
74441 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74443         [BZ #13472]
74444         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74446 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74448         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74449         Minor optimizations.
74451         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74452         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74453         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74455 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74457         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74458         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74459         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74460         for gcc to avoid warnings.
74461         * inet/Makefile (tests): Add tst-checks.
74462         * inet/tst-checks.c: New file.
74464         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74465         warning.
74467         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74468         __wmemcmp_sse2.
74470         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74471         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74473         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74475 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74477         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74478         problem.
74480         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74482 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74484         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74485         conditional on GCC version.
74486         (__arch_compare_and_exchange_val_8_acq)
74487         (__arch_compare_and_exchange_val_16_acq)
74488         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74489         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74490         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74492 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74494         * sysdeps/sh/backtrace.c: New file.
74496 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74498         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74499         parenthesis.
74501 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74503         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74504         falling back to utime.
74506 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74508         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74509         expectations for float.
74511 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74513         * locale/weight.h (findidx): Add parameter len.
74514         * locale/weightwc.h (findidx): Likewise.
74515         * posix/fnmatch_loop.c (FCT): Adjust caller.
74516         * posix/regcomp.c (build_equiv_class): Likewise.
74517         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74518         * posix/regexec.c (check_node_accept_bytes): Likewise.
74519         * string/strcoll_l.c (STRCOLL): Likewise.
74520         * string/strxfrm_l.c (STRXFRM): Likewise.
74522 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74524         * Makefile.in: Remove CVSOPT handling.
74525         * configure.in: Remove use of AC_REVISION.
74526         * iconvdata/Makefile (distribute): No need to filter out CVS.
74527         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74528         handling.
74530 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74532         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74533         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74534         [USE_AS_STRNCASECMP_L]: Likewise.
74535         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74536         NO_TLS_DIRECT_SEG_REFS.
74537         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74538         Fix argument offsets for non-PIC.
74539         [USE_AS_STRNCASECMP_L]: Likewise.
74540         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74541         NO_TLS_DIRECT_SEG_REFS.
74543 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74545         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74546         O_CLOEXEC.
74547         * locale/loadlocale.c (_nl_load_locale): Likewise.
74549 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74551         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74552         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74553         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74554         (SYSCALL_GETTIME): Set errno on error.
74556         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74557         count references to noai6ai_cached.
74559 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74561         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74563         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74564         FD_CLOEXEC for /proc/self/maps.
74566         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74567         FD_CLOEXEC for /proc/meminfo.
74569         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74570         gai.conf.
74572         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74573         FD_CLOEXEC for given file.
74575         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74577         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74578         FD_CLOEXEC for /etc/hosts.
74579         (_gethtent): Likewise.
74581         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74583         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74584         cancellation and set FD_CLOEXEC for /etc/netgroup.
74586         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74587         reading /etc/publickey.
74589         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74590         allow cancellation when reading /etc/group.
74592         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74593         cancellation.
74594         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74596         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74597         when using data file.
74599         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74601         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74602         (write_nis_obj): Use "c" and "e" in fopen.
74604         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74606         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74608         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74610         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74612         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74613         locale.alias.
74615         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74617         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74619         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74621         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74622         file parsing and set FD_CLOEXEC.
74624 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74626         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74628 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74630         * malloc/arena.c (arena_get2): Don't call reused_arena when
74631         _int_new_arena failed.
74633 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74635         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74636         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74637         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74638         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74639         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74640         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74641         to compile strcasecmp and strncasecmp.
74642         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74643         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74645         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74647 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74649         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74650         locale-defines.sym to gen-as-const-headers.
74651         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74652         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74653         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74654         to compile strcasecmp and strncasecmp.
74655         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74656         strcasecmp_l and strncasecmp_l.
74657         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74658         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74659         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74660         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74661         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74662         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74663         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74664         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74665         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74666         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74667         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74669 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74671         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74672         result of SYSDEP_GETTIME_CPU to retval.
74673         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74674         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74676         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74677         variable.
74679         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74680         mantissa words.
74681         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74683         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74684         from unused variable.
74686         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74687         DWARF definitions.
74688         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74689         for assembling.
74691         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74692         over namespaces.
74694         * sunrpc/rpc_prot.c (rejected): Fix case value.
74696         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74697         unsigned long long int to avoid warnings in shift.
74699         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74700         of use of trans.
74701         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74702         variable tmp.
74704         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74705         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74706         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74708         * nis/nis_table.c (nis_list): Use variable of correct type for
74709         result of __follow_path call.
74711 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74713         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74714         of math functions ceil, trunc, floor, round, and sqrt, when
74715         avaliable on the platform.
74716         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74717         name clash.
74718         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74719         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74720         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74722 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74724         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74725         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74727 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74729         * include/unistd.h: Fix __readlink return type.
74730         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74732 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74734         * stdlib/ucontext.h: Undo last change for makecontext.
74736 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74738         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74740         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74741         * setjmp/setjmp.h: Mark functions as non-leaf.
74742         * setjmp/bits/setjmp2.h: Likewise.
74743         * stdlib/ucontext.h: Likewise.
74745 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74747         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74748         (reused_arena): Don't check arena limit.
74749         (arena_get2): Atomically check arena limit.
74751 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74753         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74754         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74757         instructions.
74759 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74761         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74762         handler when locking.
74764         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74765         Fix size of allocated buffer.
74767 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74769         [BZ #10103]
74770         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74771         declarations for long double functions.
74772         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74774         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74776 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74778         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74779         installed.
74781         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74782         is disabled.
74784 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74786         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74788 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74790         * include/alloca.h (stackinfo_alloca_round): Define.
74791         (extend_alloca): Use it.
74792         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74793         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74794         here.
74796         * scripts/check-local-headers.sh: Ignore libaudit.h.
74798         * nscd/Makefile (extra-objs): Make recursively expanded.
74800 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74802         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74803         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74805         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74806         * posix/tst-rfc3484-2.c: Likewise.
74807         * posix/tst-rfc3484-3.c: Likewise.
74809         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74810         process_vm_writev.
74811         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74812         process_vm_writev.
74813         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74814         process_vm_writev from libc using GLIBC_2.15 version.
74816         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74818 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74820         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74821         stack usage.
74823 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74825         [BZ #13367]
74826         * nss/getent.c (initgroups_keys): Show error message in case no group
74827         names are given.
74829         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74830         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74831         __bump_nl_timestamp.
74832         * nscd/connections (nscd_init): When host database is served open
74833         netlink socket and request notification about configuration changes.
74834         (main_loop_poll): Track netlink file descriptor and bump timestamp
74835         in case data becomes available.
74836         (main_loop_epoll): Likewise.
74837         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74838         (database_pers_head): Add extra_data fileds.
74839         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74840         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74841         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74842         Adjust caller.
74843         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74844         in6ai data, call __free_in6ai.
74845         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74846         Add -DHAVE_NETLINK.
74847         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74848         interface information.  Reuse previous data if netlink timestamp
74849         is not changed.
74850         (__bump_nl_timestamp): New function.
74851         (__free_in6ai): New function.
74853 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74855         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74856         close_not_cancel_no_status here.
74857         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74859 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74861         [BZ #13276]
74862         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74863         return value.
74865         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74866         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74867         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74869 2011-07-03  Andreas Jaeger  <aj@suse.de>
74871         [BZ #10709]
74872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74873         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74874         * math/libm-test.inc (sin_test): Add test case.
74876 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74878         [BZ #13337]
74879         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74880         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74882         * elf/chroot_canon.c (chroot_canon): Cleanups.
74884         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74886         [BZ #13335]
74887         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74888         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74890         * string/test-strchr.c: Make usable for strchrnul testing.
74891         * string/test-strchrnul.c: New file.
74892         * string/Makefile (strop-tests): Add strchrnul.
74894         * po/it.po: Update from translation team.
74895         * po/es.po: Likewise.
74897 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74899         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74900         the three constants needed as parameters.  Drop the others.
74901         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74902         __m128i_strloadu_tolower.
74903         Create and initialize variable zero and use it in all the places
74904         where _mm_setzero_si128 was used.
74906         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74907         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74908         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74909         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74910         anymore.
74911         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74912         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74913         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74914         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74915         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74916         __mpranred, __mptan.
74917         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74918         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74919         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74920         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74921         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74922         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74923         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74924         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74925         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74927 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74929         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74930         redefine if SHARED.
74931         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74933         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74934         wide char related routines to wcsmbs subdir.
74936 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74938         [BZ #13344]
74939         * misc/sys/cdefs.h (__THROWNL): Define.
74940         * posix/unistd.h: Use __THREADNL instead of __THREAD
74941         for memory synchronization functions.
74943 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74945         [BZ #13349]
74946         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74947         doesn't exist.
74948         * manual/stdio.texi (Obstack Streams): Node removed.
74950 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74952         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74953         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74954         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74956         * math/math_private.h (math_force_eval): Allow non-addressable
74957         arguments.
74958         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74960 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74962         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74963         file is not needed.
74965         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74966         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74967         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74968         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74969         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74970         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74971         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74972         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74973         Add AVX variants.
74974         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74975         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74976         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74977         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74978         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74979         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74980         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74981         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74982         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74983         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74984         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74985         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74986         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74987         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74988         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74989         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74990         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74991         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74992         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74994         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74995         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74997         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74998         place.  Use VEX encoding when compiling for AVX.
75000 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75002         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75003         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75005         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75007 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75009         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75010         useless if() expression.
75011         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75012         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75013         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75014         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75015         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75016         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75017         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75018         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75019         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75020         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75021         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75022         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75023         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75024         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75025         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75026         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75027         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75028         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75029         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75031         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75033 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75035         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75036         condition.
75037         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75039 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75041         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75042         .text section.  Avoid duplicate constants.
75043         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75045         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75046         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75047         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75050         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75051         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75052         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75053         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75054         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75055         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75056         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75057         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75058         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75059         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75060         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75061         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75062         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75063         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75064         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75065         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75066         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75067         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75068         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75069         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75070         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75071         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75072         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75073         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75074         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75075         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75076         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75077         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75078         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75079         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75080         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75081         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75082         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75083         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75084         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75085         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75086         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75087         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75089 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75091         * sysdeps/x86_64/dla.h: Move to ...
75092         * sysdeps/x86_64/fpu/dla.h: ...here.
75093         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75094         situations.  Use __builtin_fma only for gcc 4.6 and up.
75096         * config.make.in: Add have-mfma4 entry.
75097         * configure.in: Substitute libc_cv_cc_fma4.
75098         * math/Makefile (dbl-only-routines): Add sincostab.
75099         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75100         Use __sincostab not sincos.
75101         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75102         name is a macro.
75103         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75104         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75105         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75106         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75107         using __copysign.
75108         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75109         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75110         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75111         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75112         and __inv.
75113         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75114         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75115         __copysign.
75116         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75117         define aliases when function name is a macro.
75118         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75119         sysdeps/ieee754/dbl-64/sincos.tbl.
75120         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75121         fma4-enabled routines.
75122         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75123         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75124         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75125         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75126         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75127         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75128         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75129         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75130         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75131         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75132         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75133         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75134         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75135         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75136         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75137         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75138         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75139         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75140         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75141         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75142         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75143         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75144         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75145         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75146         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75147         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75148         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75149         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75150         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75151         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75153         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75154         rename.
75155         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75156         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75158         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75159         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75160         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75161         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75162         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75164 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75166         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75168 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75170         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75172         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75173         prediction.
75174         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75176         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75177         Remove unused variable magic_bits.
75178         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75180         * string/strnlen.c: Define and use STRNLEN macro.
75181         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75182         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75183         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75184         * wcsmbs/wcslen.c: Define and use WCSLEN.
75185         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75186         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75187         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75188         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75189         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75190         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75191         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75193 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75196         strnlen-sse2-no-bsf.
75197         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75198         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75199         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75200         Add strnlen support.
75201         (USE_AS_STRNLEN): New macro.
75202         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75203         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75204         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75205         * sysdeps/x86_64/wcslen.S: New file.
75207 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75209         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75210         XMM-moves are used for copying on small sizes.
75212 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75214         * wcsmbs/Makefile (strop-tests): Add wcschr.
75215         * wcsmbs/test-wcschr.c: New file.
75216         * string/test-strchr.c: Update.
75217         Add wcschr support.
75218         (WIDE): New macro.
75220 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75222         * wcsmbs/Makefile (strop-tests): Add wcslen.
75223         * wcsmbs/test-wcslen.c: New file.
75224         * string/test-strlen.c: Update.
75225         Add wcslen support.
75226         (WIDE): New macro.
75228 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75230         * po/it.po: Update from translation team.
75232 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75234         * sysdeps/x86_64/wcscmp.S: Update.
75235         Fix wrong comparison semantics.
75236         wcscmp shall use signed comparison not unsigned.
75237         Don't use substraction to avoid overflow bug.
75238         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75239         * wcsmbc/wcscmp.c: Likewise.
75240         * string/test-strcmp.c: Likewise.
75241         Add new tests to check cases with negative values.
75243 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75245         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75246         * sysdeps/x86_64/dla.h: ...here.  New file.
75247         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75248         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75249         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75250         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75251         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75252         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75253         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75254         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75255         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75257 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75259         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75260         __ynl_finite aliases.
75262 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75266         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75267         define DLA_FMA.
75268         [DLA_FMA] (EMULV): Use DLA_FMA.
75269         [DLA_FMA] (MUL12): Use EMULV.
75270         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75271         that are not needed.
75272         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75273         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75274         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75275         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75276         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75277         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75278         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75280 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75282         * math/s_nan.c: Undef __nan.
75283         * math/s_nanf.c: Undef __nanf.
75284         * math/s_nanl.c: Undef __nanl.
75285         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75286         "math_private.h".
75288 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75290         * math/s_catan.c: Add branch predictions.
75291         * math/s_catanf.c: Likewise.
75292         * math/s_catanh.c: Likewise.
75293         * math/s_catanhf.c: Likewise.
75294         * math/s_catanhl.c: Likewise.
75295         * math/s_catanl.c: Likewise.
75296         * math/s_cexp.c: Likewise.
75297         * math/s_cexpf.c: Likewise.
75298         * math/s_cexpl.c: Likewise.
75299         * math/s_clog.c: Likewise.
75300         * math/s_clog10.c: Likewise.
75301         * math/s_clog10f.c: Likewise.
75302         * math/s_clog10l.c: Likewise.
75303         * math/s_clogf.c: Likewise.
75304         * math/s_clogl.c: Likewise.
75305         * math/s_csqrt.c: Likewise.
75306         * math/s_csqrtf.c: Likewise.
75307         * math/s_csqrtl.c: Likewise.
75308         * math/s_ctanf.c: Likewise.
75309         * math/s_ctanh.c: Likewise.
75310         * math/s_ctanhf.c: Likewise.
75311         * math/s_ctanhl.c: Likewise.
75312         * math/s_ctanl.c: Likewise.
75314         * math/math_private.h: Define __nan, __nanf, __nanl.
75315         * math/s_cacosh.c: Include <math_private.h>.
75316         * math/s_cacoshl.c: Likewise.
75317         * math/s_casinh.c: Likewise.
75318         * math/s_casinhf.c: Likewise.
75319         * math/s_casinhl.c: Likewise.
75320         * math/s_ccos.c: Rely entire on ccosh.
75321         * math/s_ccosf.c: Rely entire on ccoshf.
75322         * math/s_ccosl.c: Rely entirely on ccoshl.
75323         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75324         Remove tests for FE_INVALID.
75325         * math/s_ccoshf.c: Likewise.
75326         * math/s_ccoshl.c: Likewise.
75327         * math/s_csin.c: Likewise.
75328         * math/s_csinf.c: Likewise.
75329         * math/s_csinh.c Likewise.
75330         * math/s_csinhf.c: Likewise.
75331         * math/s_csinhl.c: Likewise.
75332         * math/s_csinl.c: Likewise.
75333         * math/s_ctan.c: Likewise.
75334         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75335         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75336         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75338 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75341         compilation problems.
75343         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75344         __builtin_expect.
75346 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75348         * sysdeps/i386/configure.in: Test for -mfma4 option.
75349         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75350         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75351         COMMON_CPUID_INDEX_80000001.
75352         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75353         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75354         use it if FMA3 is not supported.
75355         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75357         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75358         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75360 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75362         [BZ #12892]
75363         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75364         it would create a cycle with a link time dependency.
75366 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75368         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75369         instruction.
75370         * string/Makefile (strop-tests): Add rawmemchr.
75371         * string/test-rawmemchr.c: New file.
75373         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75374         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75375         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75376         when compiling str{,n}casecmp and when AVX is available.  Hook up
75377         new optimized code in initializers.
75379 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75381         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75382         __feraiseexcept instead of feraiseexcept.
75384 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75386         * math/math_private.h: Define defaults for libc_fetestexcept and
75387         libc_feupdateenv.
75388         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75389         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75390         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75391         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75392         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75393         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75394         libc_fetestexcept and libc_feupdateenv.
75396         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75397         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75398         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75399         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75400         libc_feholdexcept_setround.
75402         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75403         Add s_nearbyint-c and s_nearbyintf-c.
75404         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75405         nearbyintf inlines.
75406         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75407         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75408         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75409         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75411         * math/math_private.h: Define defaults for libc_fegetround,
75412         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75413         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75414         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75415         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75416         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75417         standard functions.
75418         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75419         Remove comments and hacks for old compiler versions.
75420         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75421         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75422         libc_feholdexceptl.
75424 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75426         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75427         (__feraiseexcept_renamed): Add __NTH.
75428         (feraiseexcept): Add __NTH.  Rename local variables to fix
75429         namespace violations.
75431 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75433         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75435         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75437         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75438         recently added interfaces.
75439         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75441         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75442         about macro parameter expansion.
75444         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75445         __NO_MATH_INLINES is defined.  Cleanups.
75447         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75448         and __floorf is target has SSE4.1.
75449         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75450         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75451         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75452         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75454         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75455         name.
75456         (floorf): Likewise.
75458         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75460 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75462         * misc/sys/cdefs.h: Fix last change.
75464         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75465         database lookup.
75467 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75469         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75471         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75472         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75473         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75474         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75475         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75476         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75477         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75478         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75479         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75480         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75481         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75482         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75483         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75484         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75485         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75486         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75487         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75488         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75489         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75490         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75491         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75492         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75494         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75495         ceil, ceilf, floor, floorf.
75497         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75498         Perform IRELATIVE relocations last.
75500         * elf/do-rel.h: Add another parameter nrelative, replacing the
75501         local variable with the same name.  Change name of the function
75502         to end in Rel or Rela (uppercase).
75503         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75504         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75505         elf_dynamic_do_##reloc function.
75507 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75509         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75510         is sufficient, at least on modern CPUs.
75512         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75514         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75515         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75517         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75518         __expl_finite.
75519         * math/bits/math-finite.h: Add entries for exp.
75520         * math/e_expl.c: Add __*_finite alias.
75521         * sysdeps/i386/fpu/e_exp.S: Likewise.
75522         * sysdeps/i386/fpu/e_expf.S: Likewise.
75523         * sysdeps/i386/fpu/e_expl.c: Likewise.
75524         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75525         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75526         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75527         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75528         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75529         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75530         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75532         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75533         is sufficient, at least on modern CPUs.
75535         * ctype/ctype-info.c (__ctype_init): Define.
75536         * include/ctype.h (__ctype_init): Declare.
75537         (__ctype_b_loc): The variable is always initialized.
75538         (__ctype_toupper_loc): Likewise.
75539         (__ctype_tolower_loc): Likewise.
75540         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75541         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75543 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75545         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75547         * configure.in: Also look in $cxxmachine/include for C++ system
75548         headers.
75550 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75552         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75553         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75554         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75555         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75556         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75557         (USE_AS_WMEMCMP): New macro.
75558         Fixing indents.
75559         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75560         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75561         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75562         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75563         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75564         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75565         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75566         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75567         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75568         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75569         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75570         (USE_AS_WMEMCMP): New macro.
75571         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75572         * sysdeps/string/test-memcmp.c: Update.
75573         Fix simple_wmemcmp.
75574         Add new tests.
75575         * wcsmbs/wmemcmp.c: Update.
75576         (WMEMCMP): New macro.
75577         Fix overflow bug.
75579 2011-10-12  Andreas Jaeger  <aj@suse.de>
75581         [BZ #13268]
75582         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75584 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75586         * libio/iofwide.c (do_length): Avoid warning.
75588         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75590 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75592         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75594         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75595         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75596         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75597         * sysdeps/i386/i686/fpu/e_log.S: New file.
75598         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75599         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75601         * ctype/ctype.h: Add support for inlined isXXX functions when
75602         compiling C++ code.
75604 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75606         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75608         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75610 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75612         [BZ #13291]
75613         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75615 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75617         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75618         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75619         feraiseexcept.
75621         * sysdeps/x86_64/memrchr.S: Check for zero size.
75623         * string/stratcliff.c: Add memrchr tests.
75625 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75627         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75628         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75629         rawmemchr-sse2 rawmemchr-sse2-bsf.
75630         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75631         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75632         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75633         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75634         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75635         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75636         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75637         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75638         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75639         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75640         * string/memrchr.c (MEMRCHR): New macro.
75642 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75644         Add integration with gcc's -ffinite-math-only and optimize wrapper
75645         functions in libm.
75646         * Versions.def: Define GLIBC_2.15 version for libm.
75647         * math/Makefile (headers): Add bits/math-finite.h.
75648         * math/bits/math-finite.h: New file.
75649         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75650         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75651         * math/e_acoshl.c: Add __*_finite alias.
75652         * math/e_acosl.c: Likewise.
75653         * math/e_asinl.c: Likewise.
75654         * math/e_atan2l.c: Likewise.
75655         * math/e_atanhl.c: Likewise.
75656         * math/e_coshl.c: Likewise.
75657         * math/e_exp10.c: Likewise.
75658         * math/e_exp10f.c: Likewise.
75659         * math/e_exp10l.c: Likewise.
75660         * math/e_exp2l.c: Likewise.
75661         * math/e_fmodl.c: Likewise.
75662         * math/e_gammal_r.c: Likewise.
75663         * math/e_hypotl.c: Likewise.
75664         * math/e_j0l.c: Likewise.
75665         * math/e_j1l.c: Likewise.
75666         * math/e_jnl.c: Likewise.
75667         * math/e_lgammal_r.c: Likewise.
75668         * math/e_log10l.c: Likewise.
75669         * math/e_log2l.c: Likewise.
75670         * math/e_logl.c: Likewise.
75671         * math/e_powl.c: Likewise.
75672         * math/e_sinhl.c: Likewise.
75673         * math/e_sqrtl.c: Likewise.
75674         * math/e_scalb.c: Completely rewritten and optimized.
75675         * math/e_scalbf.c: Likewise.
75676         * math/e_scalbl.c: Likewise.
75677         * math/w_acos.c: Likewise.
75678         * math/w_acosf.c: Likewise.
75679         * math/w_acosl.c: Likewise.
75680         * math/w_acosh.c: Likewise.
75681         * math/w_acoshf.c: Likewise.
75682         * math/w_acoshl.c: Likewise.
75683         * math/w_asin.c: Likewise.
75684         * math/w_asinf.c: Likewise.
75685         * math/w_asinl.c: Likewise.
75686         * math/w_atan2.c: Likewise.
75687         * math/w_atan2f.c: Likewise.
75688         * math/w_atan2l.c: Likewise.
75689         * math/w_atanh.c: Likewise.
75690         * math/w_atanhf.c: Likewise.
75691         * math/w_atanhl.c: Likewise.
75692         * math/w_exp10.c: Likewise.
75693         * math/w_exp10f.c: Likewise.
75694         * math/w_exp10l.c: Likewise.
75695         * math/w_fmod.c: Likewise.
75696         * math/w_fmodf.c: Likewise.
75697         * math/w_fmodl.c: Likewise.
75698         * math/w_j0.c: Likewise.
75699         * math/w_j0f.c: Likewise.
75700         * math/w_j0l.c: Likewise.
75701         * math/w_j1.c: Likewise.
75702         * math/w_j1f.c: Likewise.
75703         * math/w_j1l.c: Likewise.
75704         * math/w_jn.c: Likewise.
75705         * math/w_jnf.c: Likewise.
75706         * math/w_log.c: Likewise.
75707         * math/w_logf.c: Likewise.
75708         * math/w_logl.c: Likewise.
75709         * math/w_log10.c: Likewise.
75710         * math/w_log10f.c: Likewise.
75711         * math/w_log10l.c: Likewise.
75712         * math/w_log2.c: Likewise.
75713         * math/w_log2f.c: Likewise.
75714         * math/w_log2l.c: Likewise.
75715         * math/w_pow.c: Likewise.
75716         * math/w_powf.c: Likewise.
75717         * math/w_powl.c: Likewise.
75718         * math/w_remainder.c: Likewise.
75719         * math/w_remainderf.c: Likewise.
75720         * math/w_remainderl.c: Likewise.
75721         * math/w_scalb.c: Likewise.
75722         * math/w_scalbf.c: Likewise.
75723         * math/w_scalbl.c: Likewise.
75724         * math/w_sqrt.c: Likewise.
75725         * math/w_sqrtf.c: Likewise.
75726         * math/w_sqrtl.c: Likewise.
75727         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75728         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75729         used.
75730         * math/math_private.h: Declare __kernel_standard_f.
75731         * math/w_cosh.c: Remove cruft and optimize a bit.
75732         * math/w_coshf.c: Likewise.
75733         * math/w_coshl.c: Likewise.
75734         * math/w_exp2.c: Likewise.
75735         * math/w_exp2f.c: Likewise.
75736         * math/w_exp2l.c: Likewise.
75737         * math/w_hypot.c: Likewise.
75738         * math/w_hypotf.c: Likewise.
75739         * math/w_hypotl.c: Likewise.
75740         * math/w_lgamma.c: Likewise.
75741         * math/w_lgamma_r.c: Likewise.
75742         * math/w_lgammaf.c: Likewise.
75743         * math/w_lgammaf_r.c: Likewise.
75744         * math/w_lgammal.c: Likewise.
75745         * math/w_lgammal_r.c: Likewise.
75746         * math/w_sinh.c: Likewise.
75747         * math/w_sinhf.c: Likewise.
75748         * math/w_sinhl.c: Likewise.
75749         * math/w_tgamma.c: Likewise.
75750         * math/w_tgammaf.c: Likewise.
75751         * math/w_tgammal.c: Likewise.
75752         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75753         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75754         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75755         Minor optimizations.  Pretty printing.  Remove cruft.
75756         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75757         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75758         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75759         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75760         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75761         * sysdeps/i386/fpu/e_asin.S: Likewise.
75762         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75763         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75764         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75765         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75766         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75767         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75768         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75769         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75770         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75771         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75772         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75773         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75774         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75775         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75776         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75777         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75778         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75779         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75780         * sysdeps/i386/fpu/e_log.S: Likewise.
75781         * sysdeps/i386/fpu/e_log10.S: Likewise.
75782         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75783         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75784         * sysdeps/i386/fpu/e_log2.S: Likewise.
75785         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75786         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75787         * sysdeps/i386/fpu/e_logf.S: Likewise.
75788         * sysdeps/i386/fpu/e_logl.S: Likewise.
75789         * sysdeps/i386/fpu/e_pow.S: Likewise.
75790         * sysdeps/i386/fpu/e_powf.S: Likewise.
75791         * sysdeps/i386/fpu/e_powl.S: Likewise.
75792         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75793         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75794         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75795         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75796         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75797         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75798         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75799         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75800         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75801         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75802         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75804         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75805         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75806         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75807         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75808         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75809         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75810         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75811         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75812         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75813         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75814         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75815         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75817         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75818         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75819         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75820         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75821         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75822         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75823         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75824         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75825         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75826         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75827         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75828         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75829         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75830         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75831         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75832         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75833         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75834         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75835         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75836         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75837         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75838         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75839         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75840         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75841         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75842         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75843         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75844         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75845         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75846         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75847         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75848         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75849         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75850         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75851         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75852         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75853         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75854         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75855         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75856         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75857         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75858         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75859         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75860         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75861         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75862         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75863         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75864         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75865         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75866         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75867         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75868         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75869         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75870         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75871         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75872         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75873         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75874         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75875         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75876         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75877         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75878         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75879         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75880         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75881         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75882         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75883         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75884         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75885         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75886         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75887         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75888         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75889         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75890         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75891         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75892         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75893         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75894         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75895         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75896         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75897         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75898         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75899         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75900         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75901         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75902         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75903         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75904         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75905         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75906         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75907         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75908         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75909         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75910         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75911         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75912         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75913         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75914         (__isnanf): Likewise.
75915         (__isinf_ns): Likewise.
75916         (__isinf_nsf): Likewise.
75917         (__finite): Likewise.
75918         (__finitef): Likewise.
75919         (__ieee754_sqrt): Define as macro.
75920         (__ieee754_sqrtf): Define as macro.
75921         (__ieee754_sqrtl): Define as macro.
75922         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75923         inlined copy.
75924         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75925         __FINITE_MATH_ONLY__ consistent.
75926         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75928 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75930         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75931         of rawmemchr.
75933         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75935 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75937         * po/ja.po: Update from translation team.
75939 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75941         * locale/programs/locarchive.c (prepare_address_space): New function.
75942         (create_archive, enlarge_archive, open_archive): Use it.
75944         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75945         inside [SHARED], where it is used.
75947         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75949         * nss/getent.c (netgroup_keys): Remove unused variable.
75950         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75952 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75954         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75955         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75956         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75957         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75958         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75959         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75960         * math/Makefile (libm-calls): Add s_isinf_ns.
75961         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75962         * math/multc3.c: Likewise.
75963         * math/s_casin.c: Likewise.
75964         * math/s_casinf.c: Likewise.
75965         * math/s_casinl.c: Likewise.
75966         * math/s_ccos.c: Likewise.
75967         * math/s_ccosf.c: Likewise.
75968         * math/s_ccosl.c: Likewise.
75969         * math/s_ctan.c: Likewise.
75970         * math/s_ctanf.c: Likewise.
75971         * math/s_ctanh.c: Likewise.
75972         * math/s_ctanhf.c: Likewise.
75973         * math/s_ctanhl.c: Likewise.
75974         * math/s_ctanl.c: Likewise.
75975         * math/w_fmod.c: Likewise.
75976         * math/w_fmodf.c: Likewise.
75977         * math/w_fmodl.c: Likewise.
75978         * math/w_remainder.c: Likewise.
75979         * math/w_remainderf.c: Likewise.
75980         * math/w_remainderl.c: Likewise.
75981         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75982         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75983         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75984         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75985         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75986         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75987         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75988         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75990         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75991         of the number.
75992         * stdio-common/printf_fphex.c: Likewise.
75993         * stdio-common/printf_size.c: Likewise.
75995         * math/e_exp10.c: Include math_private.h using <...> not "...".
75996         * math/e_exp10f.c: Likewise.
75997         * math/e_exp10l.c: Likewise.
75998         * math/e_exp2l.c: Likewise.
75999         * math/e_j0l.c: Likewise.
76000         * math/e_j1l.c: Likewise.
76001         * math/e_jnl.c: Likewise.
76002         * math/e_lgammal_r.c: Likewise.
76003         * math/e_rem_pio2l.c: Likewise.
76004         * math/e_scalb.c: Likewise.
76005         * math/e_scalbf.c: Likewise.
76006         * math/e_scalbl.c: Likewise.
76007         * math/k_cosl.c: Likewise.
76008         * math/k_sinl.c: Likewise.
76009         * math/k_tanl.c: Likewise.
76010         * math/s_cacoshf.c: Likewise.
76011         * math/s_catan.c: Likewise.
76012         * math/s_catanf.c: Likewise.
76013         * math/s_catanh.c: Likewise.
76014         * math/s_catanhf.c: Likewise.
76015         * math/s_catanhl.c: Likewise.
76016         * math/s_catanl.c: Likewise.
76017         * math/s_ccosh.c: Likewise.
76018         * math/s_ccoshf.c: Likewise.
76019         * math/s_ccoshl.c: Likewise.
76020         * math/s_cexp.c: Likewise.
76021         * math/s_cexpf.c: Likewise.
76022         * math/s_cexpl.c: Likewise.
76023         * math/s_clog.c: Likewise.
76024         * math/s_clog10.c: Likewise.
76025         * math/s_clog10f.c: Likewise.
76026         * math/s_clog10l.c: Likewise.
76027         * math/s_clogf.c: Likewise.
76028         * math/s_clogl.c: Likewise.
76029         * math/s_csin.c: Likewise.
76030         * math/s_csinf.c: Likewise.
76031         * math/s_csinh.c: Likewise.
76032         * math/s_csinhf.c: Likewise.
76033         * math/s_csinhl.c: Likewise.
76034         * math/s_csinl.c: Likewise.
76035         * math/s_csqrt.c: Likewise.
76036         * math/s_csqrtf.c: Likewise.
76037         * math/s_csqrtl.c: Likewise.
76038         * math/s_ctan.c: Likewise.
76039         * math/s_ctanf.c: Likewise.
76040         * math/s_ctanh.c: Likewise.
76041         * math/s_ctanhf.c: Likewise.
76042         * math/s_ctanhl.c: Likewise.
76043         * math/s_ctanl.c: Likewise.
76044         * math/s_ldexp.c: Likewise.
76045         * math/s_ldexpf.c: Likewise.
76046         * math/s_ldexpl.c: Likewise.
76047         * math/s_significand.c: Likewise.
76048         * math/s_significandf.c: Likewise.
76049         * math/s_significandl.c: Likewise.
76050         * math/w_acos.c: Likewise.
76051         * math/w_acosf.c: Likewise.
76052         * math/w_acosh.c: Likewise.
76053         * math/w_acoshf.c: Likewise.
76054         * math/w_acoshl.c: Likewise.
76055         * math/w_acosl.c: Likewise.
76056         * math/w_asin.c: Likewise.
76057         * math/w_asinf.c: Likewise.
76058         * math/w_asinl.c: Likewise.
76059         * math/w_atan2.c: Likewise.
76060         * math/w_atan2f.c: Likewise.
76061         * math/w_atan2l.c: Likewise.
76062         * math/w_atanh.c: Likewise.
76063         * math/w_atanhf.c: Likewise.
76064         * math/w_atanhl.c: Likewise.
76065         * math/w_cosh.c: Likewise.
76066         * math/w_coshf.c: Likewise.
76067         * math/w_coshl.c: Likewise.
76068         * math/w_dremf.c: Likewise.
76069         * math/w_exp10.c: Likewise.
76070         * math/w_exp10f.c: Likewise.
76071         * math/w_exp10l.c: Likewise.
76072         * math/w_exp2.c: Likewise.
76073         * math/w_exp2f.c: Likewise.
76074         * math/w_fmod.c: Likewise.
76075         * math/w_fmodf.c: Likewise.
76076         * math/w_fmodl.c: Likewise.
76077         * math/w_hypot.c: Likewise.
76078         * math/w_hypotf.c: Likewise.
76079         * math/w_hypotl.c: Likewise.
76080         * math/w_j0.c: Likewise.
76081         * math/w_j0f.c: Likewise.
76082         * math/w_j0l.c: Likewise.
76083         * math/w_j1.c: Likewise.
76084         * math/w_j1f.c: Likewise.
76085         * math/w_j1l.c: Likewise.
76086         * math/w_jn.c: Likewise.
76087         * math/w_jnf.c: Likewise.
76088         * math/w_jnl.c: Likewise.
76089         * math/w_lgamma.c: Likewise.
76090         * math/w_lgamma_r.c: Likewise.
76091         * math/w_lgammaf.c: Likewise.
76092         * math/w_lgammaf_r.c: Likewise.
76093         * math/w_lgammal.c: Likewise.
76094         * math/w_lgammal_r.c: Likewise.
76095         * math/w_log.c: Likewise.
76096         * math/w_log10.c: Likewise.
76097         * math/w_log10f.c: Likewise.
76098         * math/w_log10l.c: Likewise.
76099         * math/w_log2.c: Likewise.
76100         * math/w_log2f.c: Likewise.
76101         * math/w_log2l.c: Likewise.
76102         * math/w_logf.c: Likewise.
76103         * math/w_logl.c: Likewise.
76104         * math/w_pow.c: Likewise.
76105         * math/w_powf.c: Likewise.
76106         * math/w_powl.c: Likewise.
76107         * math/w_remainder.c: Likewise.
76108         * math/w_remainderf.c: Likewise.
76109         * math/w_remainderl.c: Likewise.
76110         * math/w_scalb.c: Likewise.
76111         * math/w_scalbf.c: Likewise.
76112         * math/w_scalbl.c: Likewise.
76113         * math/w_sinh.c: Likewise.
76114         * math/w_sinhf.c: Likewise.
76115         * math/w_sinhl.c: Likewise.
76116         * math/w_sqrt.c: Likewise.
76117         * math/w_sqrtf.c: Likewise.
76118         * math/w_sqrtl.c: Likewise.
76119         * math/w_tgamma.c: Likewise.
76120         * math/w_tgammaf.c: Likewise.
76121         * math/w_tgammal.c: Likewise.
76123         * po/ja.po: Update from translation team.
76125 2011-09-29  Andreas Jaeger  <aj@suse.de>
76127         [BZ #13179]
76128         * sunrpc/netname.c (netname2host): Fix logic.
76130         [BZ #6779]
76131         [BZ #6783]
76132         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76133         correctly.
76134         * math/w_remainder.c (__remainder): Likewise.
76135         * math/w_remainderf.c (__remainderf): Likewise.
76136         * math/libm-test.inc (remainder_test): Add test cases.
76138 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76140         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76141         sdiv_qrnnd.
76143 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76145         * string/test-memcmp.c: Avoid unncessary #defines.
76146         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76148 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76150         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76151         Use new sse2 version for core i3 - i7 as it's faster
76152         than sse42 version.
76153         (bit_Prefer_PMINUB_for_stringop): New.
76154         * sysdeps/x86_64/rawmemchr.S: Update.
76155         Replace with faster SSE2 version.
76156         * sysdeps/x86_64/memrchr.S: New file.
76157         * sysdeps/x86_64/memchr.S: Update.
76158         Replace with faster SSE2 version.
76160 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76162         * elf/dl-load.c (lose): Add cast to avoid warning.
76164 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76166         * po/ca.po: Update from translation team.
76168         * inet/getnetgrent_r.c: Hook up nscd.
76169         * nscd/Makefile (routines): Add nscd_netgroup.
76170         (nscd-modules): Add netgroupcache.
76171         (CFLAGS-netgroupcache.c): Define.
76172         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76173         (cache_search): Add const to second parameter.
76174         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76175         INNETGR.
76176         (dbs): Add netgrdb entry.
76177         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76178         (verify_persistent_db): Handle netgrdb.
76179         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76180         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76181         GETFDNETGR.
76182         (netgroup_response_header): Define.
76183         (innetgroup_response_header): Define.
76184         (datahead): Add netgroup_response_header and innetgroup_response_header
76185         elements.
76186         * nscd/nscd.conf: Add entries for netgroup cache.
76187         * nscd/nscd.h (dbtype): Add netgrdb.
76188         (_PATH_NSCD_NETGROUP_DB): Define.
76189         (netgroup_iov_disabled): Declare.
76190         (xmalloc, xcalloc, xrealloc): Move declarations here.
76191         (cache_search): Adjust prototype.
76192         Add netgroup-related prototypes.
76193         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76194         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76195         (__nscd_innetgr): Declare.
76196         * nscd/selinux.c (perms): Use access_vector_t as element type and
76197         add netgroup-related initializers.
76198         * nscd/netgroupcache.c: New file.
76199         * nscd/nscd_netgroup.c: New file.
76200         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76201         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76202         For four parameters use innetgr.
76203         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76204         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76205         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76206         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76208         * nscd/connections.c (register_traced_file): Don't register file
76209         for disabled databases.
76211 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76213         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76215         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76216         from tree and freeing node.
76218 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76220         * nss/nsswitch.c (__nss_database_lookup): Handle
76221         nss_parse_service_list out of memory case.
76223 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76225         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76226         out of memory case.
76228 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76230         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76231         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76232         pass it down.
76233         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76234         elf_machine_rela, elf_machine_lazy_rel.
76235         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76236         (ELF_DYNAMIC_DO_REL): Likewise.
76237         (ELF_DYNAMIC_DO_RELA): Likewise.
76238         (ELF_DYNAMIC_RELOCATE): Likewise.
76239         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76240         to ELF_DYNAMIC_DO_REL.
76241         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76242         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76243         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76244         elf_machine_rela.
76245         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76246         skip_ifunc, don't call ifunc function if non-zero.
76247         (elf_machine_rela): Likewise.
76248         (elf_machine_lazy_rel): Likewise.
76249         (elf_machine_lazy_rela): Likewise.
76250         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76251         (elf_machine_lazy_rel): Likewise.
76252         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76253         Likewise.
76254         (elf_machine_lazy_rel): Likewise.
76255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76256         Likewise.
76257         (elf_machine_lazy_rel): Likewise.
76258         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76259         (elf_machine_lazy_rel): Likewise.
76260         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76261         (elf_machine_lazy_rel): Likewise.
76262         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76263         (elf_machine_lazy_rel): Likewise.
76264         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76265         (elf_machine_lazy_rel): Likewise.
76266         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76267         (elf_machine_lazy_rel): Likewise.
76268         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76269         (elf_machine_lazy_rel): Likewise.
76271 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76273         * nss/nss_files/files-init.c (_nss_files_init): Use static
76274         initialization for all the *_traced_file variables.
76276 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76278         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76280 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76282         [BZ #13226]
76283         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76285 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76287         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76288         Reread the line before reparsing it.
76290 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76292         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76294 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76295             Maxim Kuvyrkov  <maxim@codesourcery.com>
76296             Joseph Myers  <joseph@codesourcery.com>
76298         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76299         if needed for __stack_chk_guard.
76301 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76303         * sysdeps/posix/spawni.c (script_execute): Always define it.
76304         It will be optimized away if unused.
76305         (maybe_script_execute): New function.
76306         (__spawni): Call it.
76308         * Makerules: Don't include tls.make.
76309         (config-tls): Always set to thread.
76310         * tls.make.c: File removed.
76312 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76314         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76315         * config.make.in (CPPFLAGS-config): New substituted variable.
76317 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76319         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76321         [BZ #13192]
76322         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76323         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76325 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76327         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76328         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76329         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76330         (CALL_FAIL): Likewise.
76331         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76332         (CALL_FAIL): Macro removed.
76333         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76335 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76337         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76338         for __FINITE_MATH_ONLY__ == 1.
76340 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76342         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76343         __ieee754_sqrt instead of sqrt.
76344         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76345         __ieee754_sqrtf instead of sqrtf.
76346         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76347         __floorf instead of floorf.
76348         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76349         __floorf, __truncf instead of floorf, truncf.
76351 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76353         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76355         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76356         __extern_always_inline.
76357         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76358         32-bit.
76360 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76362         * elf/rtld.c (dl_main): Also relocate in dependency order when
76363         doing symbol dependency testing.
76365 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76367         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76368         Always define `refsym'.
76370 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76372         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76373         (__FD_ELT): Renamed from __FDELT.
76374         * misc/bits/select2.h (__FD_ELT): Likewise.
76375         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76376         __FD_MASK instead of __FDELT, __FDMASK.
76377         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76378         Likewise.
76379         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76380         Likewise.
76382         * elf/Makefile (gen-ldd): Fix pattern.
76384         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76385         (init_tls): Likewise.
76387 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76389         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76391 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76393         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76394         `struct cmsghdr *' instead of `void *'.
76395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76396         Likewise.
76398 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76400         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76401         if non-absolute.
76402         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76403         ldd_rewrite_script.
76405 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76407         * configure.in: Remove --with-tls option.
76408         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76409         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76410         out in case it is missing.
76411         * sysdeps/ia64/elf/configure.in: Likewise.
76412         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76413         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76414         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76415         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76416         * sysdeps/sh/elf/configure.in: Likewise.
76417         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76418         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76419         * sysdeps/x86_64/elf/configure.in: Likewise.
76420         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76421         * sysdeps/mach/hurd/tls.h: Likewise.
76423         [BZ #13067]
76424         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76426         [BZ #13090]
76427         * configure.in: Fix use of AC_INIT.
76429         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76431 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76433         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76434         __set_errno.
76435         * malloc/hooks.c: Likewise.
76437         [BZ #11929]
76438         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76439         variables statically.
76440         (narenas): Initialize.
76441         (list_lock): Initialize.
76442         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76443         initializtion of main_arena and list_lock.  Small cleanups.
76444         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76445         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76446         Add initializers to main_arena and mp_.
76447         (malloc_state): Remove pagesize member.  Change all users to use
76448         GLRO(dl_pagesize).
76450         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76451         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76452         is always initialized.
76454         * malloc/malloc.c: Removed unused configurations and dead code.
76455         * malloc/arena.c: Likewise.
76456         * malloc/hooks.c: Likewise.
76457         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76459         * include/tls.h: Removed.  USE___THREAD must always be defined.
76460         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76461         * elf/dl-libc.c: Likewise.
76462         * elf/dl-tsd.c: Likewise.
76463         * include/errno.h: Likewise.
76464         * include/netdb.h: Likewise.
76465         * include/resolv.h: Likewise.
76466         * inet/herrno-loc.c: Likewise.
76467         * inet/herrno.c: Likewise.
76468         * malloc/arena.c: Likewise.
76469         * malloc/hooks.c: Likewise.
76470         * malloc/malloc.c: Likewise.
76471         * resolv/res-state.c: Likewise.
76472         * resolv/res_libc.c: Likewise.
76473         * sysdeps/i386/dl-machine.h: Likewise.
76474         * sysdeps/ia64/dl-machine.h: Likewise.
76475         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76476         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76477         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76478         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76479         * sysdeps/sh/dl-machine.h: Likewise.
76480         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76481         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76482         * sysdeps/unix/i386/sysdep.S: Likewise.
76483         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76484         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76485         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76487         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76489         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76491         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76493         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76494         * sysdeps/x86_64/dl-machine.h: Likewise.
76495         * tls.make.c: Likewise.
76497         * configure.in: Remove --with-__thread option.  Make tests for
76498         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76499         tls_model attribute fail if no support is available.  Remove
76500         USE_IN_LIBIO.
76501         * Makeconfig: Adjust for dropped configure option.  All features are
76502         now mandatory.
76503         * Makerules: Likewise.
76504         * Versions.def: Likewise.
76505         * argp/argp-fmtstream.c: Likewise.
76506         * argp/argp-fmtstream.h: Likewise.
76507         * argp/argp-help.c: Likewise.
76508         * assert/assert.c: Likewise.
76509         * config.h.in: Likewise.
76510         * config.make.in: Likewise.
76511         * configure: Likewise.
76512         * configure.in: Likewise.
76513         * csu/Versions: Likewise.
76514         * csu/init.c: Likewise.
76515         * elf/tst-audit2.c: Likewise.
76516         * elf/tst-tls10.c: Likewise.
76517         * elf/tst-tls10.h: Likewise.
76518         * elf/tst-tls11.c: Likewise.
76519         * elf/tst-tls12.c: Likewise.
76520         * elf/tst-tls14.c: Likewise.
76521         * elf/tst-tlsmod11.c: Likewise.
76522         * elf/tst-tlsmod12.c: Likewise.
76523         * elf/tst-tlsmod13.c: Likewise.
76524         * elf/tst-tlsmod13a.c: Likewise.
76525         * elf/tst-tlsmod14a.c: Likewise.
76526         * elf/tst-tlsmod15b.c: Likewise.
76527         * elf/tst-tlsmod16a.c: Likewise.
76528         * elf/tst-tlsmod16b.c: Likewise.
76529         * elf/tst-tlsmod7.c: Likewise.
76530         * elf/tst-tlsmod8.c: Likewise.
76531         * elf/tst-tlsmod9.c: Likewise.
76532         * gmon/gmon.c: Likewise.
76533         * grp/fgetgrent_r.c: Likewise.
76534         * grp/putgrent.c: Likewise.
76535         * hurd/fopenport.c: Likewise.
76536         * include/libc-symbols.h: Likewise.
76537         * include/tls.h: Likewise.
76538         * intl/gettextP.h: Likewise.
76539         * intl/loadinfo.h: Likewise.
76540         * locale/global-locale.c: Likewise.
76541         * locale/localeinfo.h: Likewise.
76542         * mach/devstream.c: Likewise.
76543         * malloc/arena.c: Likewise.
76544         * malloc/set-freeres.c: Likewise.
76545         * misc/err.c: Likewise.
76546         * misc/getttyent.c: Likewise.
76547         * misc/mntent_r.c: Likewise.
76548         * posix/getopt.c: Likewise.
76549         * posix/wordexp.c: Likewise.
76550         * pwd/fgetpwent_r.c: Likewise.
76551         * resolv/Versions: Likewise.
76552         * resolv/res_hconf.c: Likewise.
76553         * shadow/fgetspent_r.c: Likewise.
76554         * shadow/putspent.c: Likewise.
76555         * stdio-common/printf_fphex.c: Likewise.
76556         * stdio-common/tmpfile.c: Likewise.
76557         * stdlib/abort.c: Likewise.
76558         * stdlib/fmtmsg.c: Likewise.
76559         * sunrpc/auth_unix.c: Likewise.
76560         * sunrpc/clnt_perr.c: Likewise.
76561         * sunrpc/clnt_tcp.c: Likewise.
76562         * sunrpc/clnt_udp.c: Likewise.
76563         * sunrpc/clnt_unix.c: Likewise.
76564         * sunrpc/openchild.c: Likewise.
76565         * sunrpc/svc_simple.c: Likewise.
76566         * sunrpc/svc_tcp.c: Likewise.
76567         * sunrpc/svc_udp.c: Likewise.
76568         * sunrpc/svc_unix.c: Likewise.
76569         * sunrpc/xdr.c: Likewise.
76570         * sunrpc/xdr_array.c: Likewise.
76571         * sunrpc/xdr_rec.c: Likewise.
76572         * sunrpc/xdr_ref.c: Likewise.
76573         * sunrpc/xdr_stdio.c: Likewise.
76575 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76577         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76579 2011-07-03  Andreas Jaeger  <aj@suse.de>
76581         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76582         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76583         regenerate with gen-libm-tests.pl.
76585 2010-05-12  Petr Baudis  <pasky@suse.cz>
76587         [BZ #11589]
76588         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76589         around j0() zero points by switching to j1().
76590         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76591         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76592         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76593         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76595 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76597         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76598         instead of 0.
76599         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76600         instead of 0.
76601         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76602         Patch in part by Pavel Roskin <proski@gnu.org>.
76604         [BZ #13138]
76605         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76606         realloc.
76607         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76608         Free memory block if necessary.
76610         [BZ #12847]
76611         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76612         be NULL.  Don't lock in this case.
76614 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76616         * elf/elf.h (ELFOSABI_GNU): New macro.
76617         (ELFOSABI_LINUX): Define to that.
76619 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76621         * string/strncat.c (strncat): Undef the symbol in case it has been
76622         defined in bits/string.h.
76624 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76626         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76628         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76629         link map.
76631 2011-08-17  Andreas Jaeger  <aj@suse.de>
76633         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76635 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76636             Ian Lance Taylor  <iant@google.com>
76638         * math/libm-test.inc (lround_test): New testcase.
76639         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76641 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76643         * Makefile: Remove support for automatic cvs check-ins.
76644         * Makerules: Likewise.
76645         * config.make.in: Likewise.
76646         * configure.in: Likewise.
76647         * intl/Makefile: Likewise.
76648         * locale/Makefile: Likewise.
76649         * po/Makefile: Likewise.
76650         * posix/Makefile: Likewise.
76651         * sysdeps/gnu/Makefile: Likewise.
76652         * sysdeps/mach/hurd/Makefile: Likewise.
76653         * sysdeps/sparc/sparc32/Makefile: Likewise.
76655         [BZ #13118]
76656         * posix/Makefile (bug-regex32-ENV): Define.
76657         Patch by John Stanley <jpsinthemix@verizon.net>.
76659         * misc/Makefile (headers): Add bits/select2.h.
76660         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76661         * misc/bits/select2.h: New file.
76662         * include/bits/select2.h: New file.
76663         * debug/Makefile (routines): Add fdelt_chk.
76664         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76665         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76666         FD_ISSET.
76667         * debug/fdelt_chk.c: New file.
76669         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76670         * wcsmbs/test-wmemcmp.c: Likewise.
76671         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76672         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76674 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76676         * string/Makefile (strop-tests): Add memcmp.
76677         * string/test-wmemcmp.c: New file.
76678         * string/test-memcmp.c: Add wmemcmp support.
76680 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76682         [BZ #13153]
76683         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76684         2011-07-19 change.
76686         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76687         garbage value in a __mach_port_mod_refs call in the cases of the
76688         task-self and thread-self ports.
76690 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76692         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76694 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76696         * elf/dl-load.c (lose): Check for non-null L.
76698 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76700         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76702         * elf/dl-libc.c (dlerror_run): Pass back error code from
76703         dl_catch_error.
76705         [BZ #13123]
76706         * elf/dl-load.c (lose): Free l_origin if it is valid.
76708         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76709         names.
76710         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76711         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76712         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76713         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76714         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76715         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76717 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76719         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76720         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76721         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76722         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76723         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76724         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76725         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76726         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76727         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76728         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76730 2011-08-15  Alan Modra  <amodra@gmail.com>
76732         [BZ #13092]
76733         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76734         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76735         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76736         ppc_mcount to static-only-routines.
76737         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76738         __mcount_internal.
76739         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76740         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76742 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76744         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76745         for finite and infinity parameters.
76747 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76749         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76750         and add nop instructions for throughput optimization.
76751         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76753 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76755         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76756         aligned copy for power7 with vector-scalar instructions.
76757         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76759 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76761         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76762         AVX check.
76764 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76766         [BZ #13144]
76767         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76768         last change.
76770 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76772         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76773         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76774         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76775         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76776         clock_gettime.
76778 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76780         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76781         Forgot to demangle the pointer.
76783         * sysdeps/i386/sysdep.h: Define atom_text_section.
76784         * sysdeps/x86_64/sysdep.h: Likewise.
76785         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76786         section with atom_text_section.
76787         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76788         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76789         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76790         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76791         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76793         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76794         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76795         already be defined.  Change to take two parameters and don't assign
76796         result to variable.  Adjust all users.
76797         Define INTERNAL_GETTIME if not already defined.
76798         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76799         call.
76800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76801         HAVE_CLOCK_GETTIME_VSYSCALL.
76802         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76804         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76805         gettimeofday vsyscall, just use time.
76807 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76809         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76810         <errno.h>.
76812 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76814         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76815         syscall on x86-64.
76816         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76817         syscall.
76818         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76819         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76820         syscall if possible.
76822 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76824         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76825         e_ident.  Don't pass to find_mapsXX.
76826         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76828 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76831         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76832         * sysdeps/x86_64/multiarch/strchr.S: Update.
76833         Check bit_slow_BSF bit.
76834         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76835         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76836         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76838 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76840         [BZ #13134]
76841         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76842         before glibc 2.15.
76843         (tryshell): Define.
76844         (__spawni): Change last parameter to be flag.  Test
76845         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76846         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76847         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76848         * posix/spawni.c: Likewise.
76849         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76850         * posix/spawnp.c: Likewise.  Change normal version to use
76851         SPAWN_XFLAGS_USE_PATH.
76852         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76853         SPAWN_XFLAGS_TRY_SHELL.
76855         [BZ #13150]
76856         * posix/glob.h: Remove gcc 1.x support.
76858         [BZ #13068]
76859         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76861 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76863         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76864         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76865         strrchr-sse2-bsf
76866         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76867         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76868         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76869         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76870         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76871         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76873 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76875         * sysdeps/x86_64/wcscmp.S: New file.
76877         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76878         wcscmp-c wcscmp-sse2
76879         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76880         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76881         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76882         * wcsmbs/wcscmp.c: Allow renaming.
76884 2011-09-05  David S. Miller  <davem@davemloft.net>
76886         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76887         stack slot, rather than the struct return pointer slot.
76888         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76889         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76891         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76893 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76895         * po/ja.po: Update from translation team.
76897         [BZ #13144]
76898         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76899         kernel in 64-bit binaries.
76901 2011-09-01  David S. Miller  <davem@davemloft.net>
76903         * elf/elf.h (HWCAP_SPARC_*): Move to..
76904         * sysdeps/sparc/sysdep.h: this new file and add new values.
76905         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76906         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76907         _DL_HWCAP_COUNT to 24.
76908         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76909         entries.
76910         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76911         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76912         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76913         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76914         instead of magic constants.
76915         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76917 2011-08-31  David S. Miller  <davem@davemloft.net>
76919         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76920         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76921         Reimplement to do errno handling inline.
76922         (SYSCALL_ERROR_HANDLER): New macro.
76923         (__SYSCALL_STRING): Do not do errno handling in asm.
76924         (__CLONE_SYSCALL_STRING): Delete.
76925         (__INTERNAL_SYSCALL_STRING): Delete.
76926         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76927         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76928         (PSEUDO): Reimplement to do errno handling inline.
76929         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76930         (SYSCALL_ERROR_HANDLER): New macro.
76931         (__SYSCALL_STRING): Do not do errno handling in asm.
76932         (__CLONE_SYSCALL_STRING): Delete.
76933         (__INTERNAL_SYSCALL_STRING): Delete.
76934         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76935         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76936         i386.
76937         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76938         (inline_syscall*): Add 'err' argument.
76939         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76940         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76941         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76942         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76944         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76945         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76947 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76949         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76951 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76953         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76954         directive.
76956 2011-08-24  David S. Miller  <davem@davemloft.net>
76958         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76960 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76962         * elf/Makefile: Add rules to build and run unload8 test.
76963         * elf/unload8.c: New file.
76964         * elf/unload8mod1.c: New file.
76965         * elf/unload8mod1x.c: New file.
76966         * elf/unload8mod2.c: New file.
76967         * elf/unload8mod3.c: New file.
76969         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76970         it wasn't used.
76972 2011-08-23  David S. Miller  <davem@davemloft.net>
76974         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76975         subtract stack bias.
76976         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76977         %sp not %fp in calculations.
76978         (_JMPBUF_UNWINDS_ADJ): Likewise.
76980         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76981         (aio_suspend): Call it to force an exception region around the
76982         AIO_MISC_WAIT() invocation.
76984 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76986         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76987         backslash.
76989 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76991         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76992         protection macro.
76993         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76994         and <dl-machine.h>.
76995         (Elf64_FuncDesc): Remove.
76997 2011-08-22  David S. Miller  <davem@davemloft.net>
76999         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77000         sigaltstack check, add missing cfi directives.
77001         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77002         missing cfi directives, and sigaltstack handling.
77004 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77006         [BZ #11724]
77007         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77008         object is seen twice.
77009         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77011         * elf/Makefile (distribute): Add tst-initorder2.c.
77012         (tests): Add tst-initorder2.
77013         (modules-names): Add tst-initorder2a tst-initorder2b
77014         tst-initorder2c tst-initorder2d.  Add rules to build them.
77015         ($(objpfx)tst-initorder2.out): New rule.
77016         * elf/tst-initorder2.c: New file.
77017         * elf/tst-initorder2.exp: New file.
77019 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77021         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77023         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77024         dependencies back to end of function.
77026         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77027         $(elfobjdir)/ld.so.
77029 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77031         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77032         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77033         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77034         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77035         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77036         of __vdso_gettimeofday.
77037         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77038         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77039         attribute_hidden.
77040         (_libc_vdso_platform_setup): Remove initialization of
77041         __vdso_gettimeofday and __vdso_time.
77043 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77045         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77046         and fgetc_unlocked.
77047         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77048         getc_unlocked.
77050         * elf/dl-open.c (add_to_global): Report additions to the global scope
77051         for LD_DEBUG=scopes.
77052         (dl_open_worker): Also print scope of newly loaded dependencies.
77053         (_dl_show_scope): Indicate if there is no scope.
77055         [BZ #13114]
77056         * stdio-common/Makefile (tests): Add bug24.
77057         * stdio-common/bug24.c: New file.
77059 2011-08-19  Andreas Jaeger  <aj@suse.de>
77061         [BZ #13114]
77062         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77063         non-existant file when using close-on-exec mode.
77065 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77067         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77068         the very first instruction.
77070         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77071         the CFI state in the end.
77072         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77073         inclusion of dl-trampoline.h.
77074         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77076 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77078         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77079         expectations for long double.
77081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77082         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77084 2011-08-14  David S. Miller  <davem@davemloft.net>
77086         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77087         artificual limit depends upon the system page size.
77089 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77091         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77092         * resolv/Makefile: Define CFLAGS-libresolv.
77094 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77096         * nss/makedb.c (compute_tables): Make variables used in nested
77097         function static.
77099 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77101         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77102         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77103         if buffer was too small.
77105         * elf/pldd.c (main): Attach to all threads in the process.
77106         Rewrite /proc handling to use *at functions.
77108 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77110         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77111         specifies first scope to show.
77112         (dl_open_worker): Update callers.  Move printing scope of new
77113         object to before the relocation.
77114         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77115         * sysdeps/generic/ldsodefs.h: Update declaration.
77117         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77118         string for the scope number.
77120 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77122         * nscd/servicescache.c (cache_addserv): Make sure written is always
77123         initialized.
77125 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77127         * sysdeps/i386/i486/bits/atomic.h
77128         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77129         statement expression, so as to suppress "set but not used" warning.
77130         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77132         * string/strncat.c (STRNCAT): Use prototype definition.
77134         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77135         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77136         -Iprograms here.
77137         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77138         (localedef-modules): Add localedef.
77139         (locale-modules): Add locale.
77141         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77142         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77143         to avoid a warning.
77145 2011-08-14  David S. Miller  <davem@davemloft.net>
77147         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77148         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77150 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77152         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77153         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77154         * elf/rtld.c (dl_main): Set l_name of vDSO.
77155         Call _dl_show_scope when DL_DEBUG_SCOPES.
77156         (process_dl_debug): Recognize scopes flag and also set it for all.
77157         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77158         Declare _dl_show_scope.
77160         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77161         (do_dlopen): Pass caller_dlopen to dl_open.
77162         (__libc_dlopen_mode): Initialize caller_dlopen.
77164         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77165         of libc.  Make tolower call locale-independent.  Optimize a bit by
77166         using isdigit instead of isalnum.
77167         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77169 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77171         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77172         was a dependency or dynamically loaded.
77174 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77176         * intl/l10nflist.c: Allow architecture-specific pop function.
77177         * sysdeps/x86_64/l10nflist.c: New file.
77179         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77180         classification.
77182 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77184         * include/dirent.h: Add libc_hidden_proto for scandirat and
77185         scandirat64.  Don't declare __scandirat64.
77186         * dirent/scandirat.c: Add libc_hidden_def.
77187         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77188         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77190 2011-08-10  David S. Miller  <davem@davemloft.net>
77192         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77193         enum.
77194         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77195         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77196         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77198 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77200         * Versions.def [libc]: Add GLIBC_2.15.
77201         * dirent/Makefile (routines): Add scandirat and scandirat64.
77202         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77203         GLIBC_2.15.
77204         * dirent/dirent.h: Declare scandirat and scandirat64.
77205         * dirent/scandirat.c: New file.
77206         * dirent/scandirat64.c: New file.
77207         * sysdeps/wordsize-64/scandirat.c: New file.
77208         * sysdeps/wordsize-64/scandirat64.c: New file.
77209         * dirent/opendir.c: Define opendirat.
77210         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77211         using scandirat.
77212         * dirent/scandir64.c: Adjust for scandir.c change.
77213         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77214         __scandirat64, and __scandir_cancel_handler.
77215         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77216         additional parameter and use openat instead of open (outside of ld.so).
77217         Add new __opendir as wrapper around __opendirat.
77218         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77219         here without requiring old scandirat implementation.
77221 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77223         * dirent/scandir.c (cancel_handler): Renamed to
77224         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77225         defined.  Adjust users.
77226         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77227         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77229 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77231         * string/test-string.h (IMPL): Use __STRING to expand name and then
77232         stringify it.
77234         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77235         of cleanups.
77237 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77239         * string/Makefile: Update.
77240         (strop-tests): Append strncat.
77241         * string/test-wcscmp.c: New file.
77242         New comprehensive test for wcscmp.
77243         * string/test-strcmp.c: Update.
77244         (WIDE): New define.
77246 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77248         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77249         line.
77251 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77254         encoding to ACE if AI_IDN.
77256 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77258         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77259         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77261 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77263         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77264         Fix overflow bug in strncat.
77265         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77267         * string/test-strncat.c: Update.
77268         Add new tests for checking overflow bugs.
77270 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77272         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77273         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77274         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77275         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77276         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77277         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77278         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77279         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77280         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77282         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77283         (USE_AS_STRCAT): Define.
77284         Add strcat and strncat support.
77285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77287 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77289         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77290         __n bigger than INT_MAX+1.
77291         (__strncmp_g): Likewise.
77293 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77295         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77296         * libio/stido.h: Likewise.
77298         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77299         (AF_NFC): Define.
77300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77301         (AF_NFC): Define.
77303         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77304         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77305         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77306         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77309         [BZ #13021]
77310         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77311         installed.
77313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77314         typo.
77315         (_dl_x86_64_save_sse): Likewise.
77317 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77320         OSXSAVE.
77321         (_dl_x86_64_save_sse): Likewise.
77323         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77325         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77327 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77329         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77330         change.
77331         (_dl_x86_64_save_sse): Use correct AVX check.
77333 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77335         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77336         bug in strncpy/strncat.
77337         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77339 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77341         * string/tester.c (test_strcat): Add tests for different alignments
77342         of source and destination.
77343         (test_strncat): Likewise.
77345 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77347         [BZ #12852]
77348         * posix/glob.c (glob): Check passed in values before using them in
77349         expressions to avoid some overflows.
77350         (glob_in_dir): Likewise.
77352         [BZ #13007]
77353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77354         check for AVX enablement so that we don't crash with old kernels and
77355         new hardware.
77356         * elf/tst-audit4.c: Add same checks here.
77357         * elf/tst-audit6.c: Likewise.
77359         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77361 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77363         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77365 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77367         * po/cs.po: Update from translation team.
77368         * po/bg.po: Likewise.
77370 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77372         * misc/sys/cdefs.h: Add support for const attribute.
77373         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77374         to gnu_dev_{major,minor,makedev} functions.
77376 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77378         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77380 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77382         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77383         strlen results.
77385 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77387         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77388         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77389         register in order to avoid conflicts with the soft frame pointer
77390         being held in r11 when necessary.
77391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77392         (INTERNAL_VSYSCALL_NCS): Likewise.
77394 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77396         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77397         * elf/dl-fini.c (_dl_fini): Adjust caller.
77398         * elf/dl-close.c (_dl_close_worker): Likewise.
77399         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77401 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77403         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77404         "aux_cache->nlibs < 0".
77406         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77407         in the reload-count case.
77409 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77412         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77413         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77414         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77415         * sysdeps/x86_64/multiarch/strcat.S: New file.
77416         * sysdeps/x86_64/multiarch/strncat.S: New file.
77417         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77418         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77419         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77420         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77421         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77422         (USE_AS_STRCAT): Define.
77423         Add strcat and strncat support.
77424         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77425         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77426         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77427         * string/strncat.c: Update.
77428         (USE_AS_STRNCAT): Define.
77429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77430         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77431         and i7.
77432         * sysdeps/x86_64/multiarch/init-arch.h
77433         (bit_Prefer_PMINUB_for_stringop): New.
77434         (index_Prefer_PMINUB_for_stringop): Likewise.
77435         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77436         bit_Prefer_PMINUB_for_stringop.
77438 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77440         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77441         buffer64.
77442         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77443         of casting of buffer.
77444         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77445         buffer32 and buffer64.
77446         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77447         writes instead of casting of buffer.
77448         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77449         buffer32.
77450         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77451         casting of buffer.
77453 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77455         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77457 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77459         * nscd/nscd.c (termination_handler): Don't do anything for a database
77460         if it has not yet been initialized.
77462 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77464         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77466 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77468         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77470 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77472         * po/nl.po: Update from translation team.
77473         * po/sv.po: Likewise.
77475 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77477         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77478         now disallowed by GCC.
77480         * configure.in (use-default-link): Default to yes if a test -shared
77481         link meets our qualifications.
77482         * configure: Regenerated.
77484         * config.make.in (output-format): New variable.
77485         * configure.in: Check for ld --print-output-format support.
77486         * configure: Regenerated.
77487         * Makerules ($(common-objpfx)format.lds)
77488         [$(output-format) != unknown]: Just use $(output-format),
77489         instead of the linker-script munging.
77491 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77493         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77494         of $(common-objpfx)shlib.lds.
77495         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77497         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77498         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77500         * configure.in (-z relro check): Adjust test code to add a large
77501         writable data section after it.
77502         * configure: Regenerated.
77504 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77506         * configure.in (-z relro check): Fix test code to make the variable
77507         truly const.
77508         * configure: Regenerated.
77510 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77512         * nscd/nscd.h (struct traced_file): Define.
77513         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77514         elements.  Add traced_files.
77515         (inotify_fd): Declare.
77516         (register_traced_file): Declare.
77517         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77518         (inotify_fd): Export.
77519         (resolv_conf_descr): Remove.
77520         (nscd_init): Move inotify descriptor creation to main.
77521         Don't register files for notification here.
77522         (register_traced_file): New function.
77523         (invalidate_cache): Don't use reset_res to determine whether to call
77524         res_init, go through the list of registered files.
77525         (main_loop_poll): The inotify descriptors are now stored in the
77526         structures for the traced files.
77527         (main_loop_epoll): Likewise.
77528         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77529         to __nss_disable_nscd.
77530         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77531         for a database anymore.  Check the records for all the registered
77532         files instead.
77533         * nss/Makefile (libnss_files-routines): Add files-init.
77534         (libnss_db-routines): Add db-init.
77535         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77536         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77537         * nss/nss_db/db-init.c: New file.
77538         * nss/nss_files/files-init.c: New file.
77539         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77540         __nss_lookup_function.
77541         (__nss_lookup_function): Call nss_load_library.
77542         (nss_load_all_libraries): New function.
77543         (__nss_disable_nscd): Take parameter with callback function for files
77544         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77545         used for the cached services.
77546         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77547         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77548         options for features to all the files in nscd.
77550         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77552 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77554         * csu/elf-init.c (__libc_csu_init): Comment typo.
77556 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77558         * po/pl.po: Update from translation team.
77559         * po/ja.po: Likewise.
77560         * po/ru.po: Likewise.
77561         * po/ko.po: Likewise.
77562         * po/fr.po: Likewise.
77564 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77566         * configure.in (.ctors/.dtors header and trailer check):
77567         Use an empirical test on a built program.
77568         * configure: Regenerated.
77570         * configure.in (-z relro check): Use an empirical test on a built DSO.
77571         Detect, but do not require, on ia64.
77572         * configure: Regenerated.
77574         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77575         Update tests that use readelf to use $READELF instead.
77576         * configure: Regenerated.
77578 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77580         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77581         if the result is not used.
77583 2011-07-05  Andreas Jaeger  <aj@suse.de>
77585         [BZ#9696]
77586         * stdlib/tst-strtod.c: Add testcase.
77588 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77590         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77591         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77592         The latter has a higher limit.  Take additional parameter to pass to
77593         the new function.
77594         (__pathconf): Pass file to __statfs_link_max.
77595         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77596         __statfs_link_max.
77597         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77598         __statfs_link_max.
77600         [BZ #12868]
77601         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77602         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77603         Handle Lustre.
77604         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77605         (__statfs_filesize_max): Likewise.
77606         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77608 2011-07-05  Andreas Jaeger  <aj@suse.de>
77610         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77612 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77614         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77615         `status' variable.
77616         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77617         Likewise.
77619 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77621         * Makefile (strop-tests): Add strncat.
77622         * string/test-strncat.c: New file.
77624 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77626         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77628 2011-06-21  Andreas Jaeger  <aj@suse.de>
77630         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77631         Copy rule from iconvdata/Makefile.
77633 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77635         [BZ #12922]
77636         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77637         but no long options are defined, just return 'W'.
77639 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77641         [BZ #9696]
77642         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77644 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77646         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77647         netgroups to read.
77648         (innetgr): Likewise.
77650 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77652         * config.make.in (install_root): Default to $(DESTDIR).
77654 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77656         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77658 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77660         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77662         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77663         containing directory rather than embedding absolute directory names.
77665         * scripts/check-local-headers.sh: Rewritten using awk.
77666         Match by word, not by line.  Print error messages for matches.
77667         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77669         * Makerules [shlib-lds-flags empty]:
77670         ($(common-objpfx)libc_pic.opts): New target.
77671         ($(common-objpfx)libc_pic.os.clean): New target.
77672         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77674         * config.make.in (OBJCOPY): New variable.
77675         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77676         * configure: Regenerated.
77678         * config.make.in (use-default-link): New variable.
77679         * configure.in (use_default_link): Grok --with-default-link to set it.
77680         * configure: Regenerated.
77681         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77682         (shlib-lds, shlib-lds-flags): Define to empty.
77684         * Makerules (shlib-lds): New variable.
77685         (shlib-lds-flags): New variable.
77686         (build-shlib, build-moduile, build-module-asneeded): Use it.
77687         ($(common-objpfx)libc.so): Use $(shlib-lds).
77688         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77689         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77691         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77692         DT_FLAGS/DT_FLAGS_1 with zero flags.
77694         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77695         linker script munging.
77697 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77699         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77700         as 128-bit value.
77701         * crypt/sha512.c (sha512_process_block): Perform total addition using
77702         128-bit if possible.
77703         (__sha512_finish_ctx): Likewise.
77704         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77705         as 64-bit value.
77706         * crypt/sha256.c (SWAP64): Define.
77707         (sha256_process_block): Perform total addition using 64-bit if
77708         possible.
77709         (__sha256_finish_ctx): Likewise.
77711 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77713         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77714         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77715         * nscd/hstcache.c (cache_addhst): Likewise.
77716         * nscd/grpcache.c (cache_addgr): Likewise.
77717         * nscd/aicache.c (addhstaiX): Likewise.
77718         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77720 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77722         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77723         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77724         * nscd/hstcache.c (cache_addhst): Likewise.
77725         * nscd/grpcache.c (cache_addgr): Likewise.
77726         * nscd/aicache.c (addhstaiX): Likewise.
77728 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77730         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77731         domain only when needed.
77733 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77736         is always restored.
77738 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77740         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77741         are re-adding the entry.
77742         * nscd/servicescache.c (cache_addserv): Likewise.
77744 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77746         * sysdeps/generic/dl-irel.h: fix protection against multiple
77747         inclusions.
77748         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77750 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77752         [BZ #12935]
77753         * malloc/memusage.sh: Fix quoting in message.
77754         * debug/xtrace.sh: Likewise.
77756         * configure.in: Remove support for --experimental-malloc option, make
77757         it the default.
77758         * config.make.in: Likewise.
77759         * malloc/Makefile: Likewise.
77761 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77763         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77764         two-byte characters.
77766 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77768         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77769         AC_CACHE_CHECK invocation.
77770         * configure: Regenerated.
77772         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77774 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77776         [BZ #12350]
77777         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77778         bit from old_res_options.
77780         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77782         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77783         value type for setfct.
77785 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77788         __gettimeofday instead of gettimeofday.
77790 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77792         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77794 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77796         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77798         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77799         info.
77801 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77804         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77805         strcpy-sse2-unaligned strncpy-sse2-unaligned
77806         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77807         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77808         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77809         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77810         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77811         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77812         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77813         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77814         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77815         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77816         (STRCPY): Support SSE2 and SSSE3 versions.
77818 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77820         [BZ #12874]
77821         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77822         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77823         kernels which artificially limit size of requests.
77825 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77827         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77828         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77829         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77830         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77831         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77832         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77833         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77834         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77835         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77836         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77837         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77838         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77839         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77840         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77841         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77843         Enable unaligned load optimization for Intel Core i3, i5 and i7
77844         processors.
77845         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77846         Define.
77847         (index_Fast_Unaligned_Load): Define.
77848         (HAS_FAST_UNALIGNED_LOAD): Define.
77850 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77852         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77854 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77856         [BZ #12907]
77857         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77858         until it is clear that the information is realy needed.
77859         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77861 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77865 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77867         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77868         /sys/devices/system/cpu/online if it is usable.
77870         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77871         reading the information from the /proc filesystem to once a second.
77873 2011-06-21  Andreas Jaeger  <aj@suse.de>
77875         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77876         NULL after inclusion of kernel headers.
77878 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77880         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77881         calls to internal_setent.
77883         [BZ #12885]
77884         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77885         addresses using gethostbyname4_r ignore IPv4 addresses.
77887         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77888         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77890         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77892 2011-06-20  David S. Miller  <davem@davemloft.net>
77894         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77895         inclusions.
77896         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77898         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77899         (elf_irel): Use it.
77900         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77901         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77902         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77903         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77904         * sysdeps/x86_64/dl-irel.h: Likewise.
77906         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77907         * elf/dl-sym.c: Likewise.
77909 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77911         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77912         need to dereference resplen2.
77914 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77916         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77918 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77920         * Makeconfig: Define vardbdir and inst_vardbdir.
77921         * nss/Makefile: Add rules to install db-Makefile.
77923         * nss/nss_db/db-XXX.c: Cleanup.
77925         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77926         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77927         GLIBC_PRIVATE.
77928         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77929         * nss/makedb.c: Implement -g option to specify that value strings
77930         are generated and should not be added to table iterated over for
77931         get*ent calls.
77932         * nss/nss_db/db-initgroups.c: New file.
77934         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77935         interface.
77937         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77938         (internal_getgrouplist): Adjust to name change.
77939         Update use_initgroups_entry if this is not the first call.
77940         * nss/databases.def: Add initgroups entry.
77942         * nss/makedb.c (compute_tables): Check result of multiple hash table
77943         sizes to minimize maximum chain length.
77945 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77947         * Versions.def: Add entry for libnss_db.
77948         * shlib-versions: Likewise.
77949         * nss/Makefile: Add rules to build libnss_db.
77950         * nss/Versions: Add libnss_db information.  Organize libnss_files
77951         entries better.
77952         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77953         makedb progra.  Some minor improvements to generate smaller files.
77954         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77955         here from...
77956         * nss/makedb.c: ...here.
77957         Improve database format to be smaller and require less memory at
77958         runtime.
77959         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77960         db anymore.
77961         * nss/nss_db/db-netgrp.c: Likewise.
77962         * nss/nss_db/db-open.c: Likewise.
77963         * nss/nss_files/flies-XXX.x: Adjust comments.
77964         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77965         * nss/nss_files/files-grp.c: Likewise.
77966         * nss/nss_files/files-hosts.c: Likewise.
77967         * nss/nss_files/files-network.c: Likewise.
77968         * nss/nss_files/files-proto.c: Likewise.
77969         * nss/nss_files/files-pwd.c: Likewise.
77970         * nss/nss_files/files-rpc.c: Likewise.
77971         * nss/nss_files/files-service.c: Likewise.
77972         * nss/nss_files/files-sgrp.c: Likewise.
77973         * nss/nss_files/files-spwd.c: Likewise.
77974         * nss/nss_db/db-alias.c: Removed.
77975         * nss/nss_db/dummy-db.h: Removed.
77977 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77979         * nss/makedb.c: Rewritten to not use database library.
77980         * nss/Makefile: Update to build new makedb program.
77982 2011-06-14  Andreas Jaeger  <aj@suse.de>
77984         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77985         memset declaration.
77987 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77990         tmpbuf.
77992 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77994         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77995         * elf/Makefile ($(objpfx)ld.so): Likewise.
77997         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77998         Don't list ld.so twice in dependencies.
78000         * posix/bug-regex31.c: Include <stdlib.h>.
78002         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78004         * nis/nss_compat/compat-spwd.c
78005         (getspent_next_nss_netgr): Remove unused variable.
78006         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78008         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78009         nonmembers" output to use the right array.
78011         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78013         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78015         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78016         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78017         * catgets/gencat.c (read_input_file): Likewise.
78018         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78020         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78021         variable definition inside #if's controlling its use.
78023         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78025         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78027         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78029         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78030         unreachable code.
78032         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78034         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78035         * configure: Regenerated.
78037         * Makerules: Revert last change.
78038         * elf/Makefile: Likewise.
78040 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78042         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78043         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78044         (reloc-link): Likewise.
78046 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78048         * elf/Makefile: Add rules to build pldd.
78049         * elf/pldd.c: New file.
78050         * elf/pldd-xx.c: New file.
78052 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78054         * version.h: Update for 2.15 development version.
78056 2011-06-07  David S. Miller  <davem@davemloft.net>
78058         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78059         ifuncs.
78060         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78061         elf_machine_lazy_rel): Likewise.
78062         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78063         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78064         elf_machine_lazy_rel): Likewise.
78065         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78066         dl_hwcap via passed in argument.
78067         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78068         Likewise.
78070 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78072         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78074 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78076         [BZ #12849]
78077         * manual/fdl-1.1.texi: New file, verbatim from:
78078         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78079         * manual/lgpl-2.1.texi: New file, verbatim from:
78080         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78081         * manual/Makefile (licenses): New variable, list those new file names.
78082         (texis): Use it.
78083         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78085         * manual/fdl.texi: File removed.
78086         * manual/lesser.texi: File removed.
78087         * manual/libc.texinfo (Copying, Documentation License):
78088         Use new @include file names, put @appendix directive before @include.
78090 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78092         [BZ #12841]
78093         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78094         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78095         (mq_open): Add __NTH.
78097 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78100         Assume Intel Core i3/i5/i7 processor if AVX is available.
78102 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78104         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78105         typo.
78107 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78109         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78110         memory.  Use alloca_account.  Fix memory leak when retrying.
78112 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78114         * version.h (RELEASE): Bump for 2.14 release.
78115         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78117         * config.make.in (RANLIB): Remove entry.
78119 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78121         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78122         (libc.pot): Work around missing support for .ksh extension in xgettext.
78124         [BZ #12684]
78125         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78126         if both request failed.
78127         (send_dg): In case of server errors clear resplen or *resplen2.
78129         [BZ #12454]
78130         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78131         when there are multiple maps.
78132         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78133         (_dl_fini): Remove test here.
78135         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78137 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78139         [BZ #12350]
78140         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78141         bit from old_res_options.
78142         (gaih_inet): Likewise.
78144         [BZ #11099]
78145         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78146         as signed.
78148         * resolv/res_init.c (res_setoptions): Make the code more compact.
78150         [BZ #11558]
78151         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78152         set RES_USEVC.
78154         [BZ #11634]
78155         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78157         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78159         [BZ #11781]
78160         * malloc/malloc.h: Declare malloc hook variables as volatile.
78162         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78163         in last patch.
78165         [BZ #11799]
78166         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78167         raise in the comment.
78168         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78169         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78170         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78172 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78174         [BZ #12811]
78175         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78176         grow the buffers more if it already has to be sufficient.
78177         (build_wcs_upper_buffer): Likewise.
78178         * posix/regexec.c (check_matching): Likewise.
78179         (clean_state_log_if_needed): Likewise.
78180         (extend_buffers): Don't enlarge buffers beyond size of the input
78181         buffer.
78182         Patches mostly by Emil Wojak <emil@wojak.eu>.
78183         * posix/bug-regex32.c: New file.
78184         * posix/Makefile (tests): Add bug-regex32.
78186         * locale/findlocale.c (_nl_find_locale): Return right away if
78187         _nl_explode_name failed.
78188         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78190         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78192         * debug/xtrace.sh: Unify messages.
78193         * malloc/memusage.sh: Likewise.
78195         [BZ #12813]
78196         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78197         time symbol from vDSO.  Substitute with vsyscall if not available.
78198         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78199         __vdso_time.
78201         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78202         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78203         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78204         Add sendmmsg and internal_sendmmsg.
78205         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78206         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78207         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78209         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78210         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78211         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78213 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78215         [BZ #12813]
78216         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78217         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78218         available.
78219         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78220         __vdso_getcpu.
78222         [BZ #12814]
78223         * iconvdata/Makefile (tests): Add bug-iconv9.
78224         * iconvdata/bug-iconv9.c: New file.
78226 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78228         [BZ #12814]
78229         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78231 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78233         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78234         (struct user_regs_struct): Change intcs field back to cs.
78236 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78238         * po/ja.po: Update from translation team.
78240 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78242         [BZ #12795]
78243         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78244         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78246 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78248         * stdlib/longlong.h: Update from GCC.
78250 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78252         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78253         parameter name.
78254         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78255         Add parameter name.
78256         (__sysconf): Pass it down.
78258 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78260         [BZ #12671]
78261         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78262         some situations.
78263         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78264         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78265         add in in __libc_use_alloca calls.  Adjust callers.
78266         (glob): Use malloc in some situations.
78268         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78269         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78270         pltexit.
78272 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78274         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78275         and CLOCK_BOOTTIME_ALARM.
78277         [BZ #12782]
78278         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78279         is returned.
78281         * string/_strerror.c (__strerror_r): Print negative errors as signed
78282         numbers.
78284         [BZ #12777]
78285         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78286         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78287         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78289         * configure.in: Fix typo in redirection and correct removal of test
78290         files in two cases.
78292         [BZ #12788]
78293         * locale/setlocale.c (new_composite_name): Fix test to check for
78294         identical name of all categories.
78296         [BZ #12792]
78297         * libio/filedoalloc.c (local_isatty): New function.
78298         (_IO_file_doallocate): Use local_isatty.
78299         * stdio-common/perror.c (perror): In case a new stream is used
78300         forward the stream error.
78301         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78302         error flag.
78304 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78306         [BZ #11884]
78307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78308         alloca.
78309         * include/alloca.h (extend_alloca_account): Define.
78311         [BZ #11857]
78312         * posix/regex.h: Fix comments with documentation of user-accessible
78313         fields after compilation and describe correct free'ing of pattern
78314         after re_compile_pattern.
78315         Patch by Reuben Thomas <rrt@sc3d.org>.
78317 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78319         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78320         and -mno-altivec to prevent the compiler from using Altivec and/or
78321         VSX instructions when the corresponding registers are not available.
78323 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78325         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78327 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78329         * libio/freopen.c (freopen): Use __dup2, not dup2.
78330         * libio/freopen64.c (freopen64): Likewise.
78332 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78334         [BZ #12775]
78335         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78336         * math/Makefile (tests): Add test-powl.
78337         (CFLAGS-test-powl.c): Define.
78338         * math/test-powl.c: New file.
78340 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78342         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78344 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78346         [BZ #11837]
78347         * iconvdata/gb18030.c: Update to GB18020-2005.
78349 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78351         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78352         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78353         Patch by Aharon Robbins <arnold@skeeve.com>.
78355         [BZ #11892]
78356         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78357         on the stack.
78359         [BZ #11895]
78360         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78361         through underflows.
78363         [BZ #12766]
78364         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78365         point to strings before performing equality test for error_one_per_line
78366         mode.
78368         [BZ #11697]
78369         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78371         [BZ #11820]
78372         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78373         (struct user_fpregs_struct): Avoid __uint*_t types.
78375         [BZ #6420]
78376         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78377         symbol info.  Use it instead of calling _dl_addr locally.
78378         (lock_and_info): New function.
78379         (tr_freehook): Call lock_and_info and pass symbol info as additional
78380         parameter to tr_where.
78381         (tr_mallochook): Likewise.
78382         (tr_reallochook): Likewise.
78383         (tr_memalignhook): Likewise.
78385         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78386         used and couldn't be at all thread-safe.
78388 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78390         * libio/freopen.c (freopen): Don't close old file descriptor
78391         before the new one is opened.  Instead dup the new file descriptor
78392         to the old one after the new stream is created.
78393         * libio/freopen64.c (freopen64): Likewise.
78394         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78395         * libio/fileops.c (_IO_new_file_close_it): Handle new
78396         _IO_FLAGS2_NOCLOSE flag.
78397         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78398         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78399         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78400         _IO_FLAGS2_NOCLOSE flag.
78401         * include/unistd.h: Add hidden_proto for dup3.
78402         Define __have_dup3.
78403         * io/dup3.c: Define hidden symbol.
78404         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78406         [BZ #7101]
78407         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78408         when an incomplete long option is used.
78409         * posix/tst-getopt_long1.c: New file.
78410         * posix/Makefile (tests): Add tst-getopt_long1.
78412         [BZ #10138]
78413         * scripts/config.guess: Update from autoconf-2.68.
78414         * scripts/config.sub: Likewise.
78416         [BZ #10157]
78417         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78418         tests into ...
78419         (has_cpuclock): ...this.  New function.
78420         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78421         macro here based on has_cpuclock code.
78423         [BZ #10149]
78424         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78425         First byte (not low byte) is now always NUL.
78426         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78428         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78429         Use non-cancelable interfaces.
78431         [BZ #9809]
78432         * locale/iso-639.def: Add entry for Sorani.
78434         [BZ #11901]
78435         * include/stdlib.h: Move include protection to the right place.
78436         Define abort_msg_s.  Declare __abort_msg with it.
78437         * stdlib/abort.c (__abort_msg): Adjust type.
78438         * assert/assert.c (__assert_fail_base): New function.  Majority
78439         of code from __assert_fail.  Allocate memory for __abort_msg with
78440         mmap.
78441         (__assert_fail): Now call __assert_fail_base.
78442         * assert/assert-perr.c: Remove bulk of implementation.  Use
78443         __assert_fail_base.
78444         * include/assert.hL Declare __assert_fail_base.
78445         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78446         mmap.
78447         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78449 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78451         [BZ #11952]
78452         [BZ #12453]
78453         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78454         until all modules are registered in the DTV.
78455         * elf/Makefile: Add rules to build and run tst-tls19.
78456         * elf/tst-tls19.c: New file.
78457         * elf/tst-tls19mod1.c: New file.
78458         * elf/tst-tls19mod2.c: New file.
78459         * elf/tst-tls19mod3.c: New file.
78460         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78462         [BZ #12083]
78463         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78464         correctly.
78466         [BZ #12601]
78467         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78468         two-byte sequence errors.
78469         * iconvdata/Makefile (tests): Add bug-iconv8.
78470         * iconvdata/bug-iconv8.c: New file.
78472         [BZ #12626]
78473         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78474         buf2 definition.
78476         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78478         [BZ #12432]
78479         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78480         (dummy_getcfa): New function.
78481         (init): Get _Unwind_GetCFA address, use dummy if not found.
78482         (backtrace_helper): In recursion check, also check whether CFA changes.
78483         (__backtrace): Completely initialize arg.
78485         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78486         storing incomplete byte sequence in state object.  Avoid testing for
78487         guaranteed too small input if we know there is enough data available.
78489 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78491         * Makeconfig (+link-pie): Indent.
78492         * Rules (binaries-pie): Define if $(have-fpie) and
78493         $(build-shared).
78494         (binaries-shared): Also filter out $(binaries-pie).
78495         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78496         * nscd/Makefile (others-pie): Add nscd.
78497         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78498         ($(objpfx)nscd): Remove command override.
78499         * login/Makefile (others-pie): Add pt_chown.
78500         ($(objpfx)pt_chown): Remove command override.
78501         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78502         remove command overrides.
78504 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78506         * libio/tst_putwc.c: Fix error messages.
78508         [BZ #12724]
78509         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78510         currently writing and seek to current position when not.
78511         * libio/Makefile (tests): Add bug-fclose1.
78512         * libio/bug-fclose1.c: New file.
78514 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78516         [BZ #12511]
78517         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78518         don't set DF_1_NODELETE here.
78519         (do_lookup_x): When entering new entry test for copy relocation
78520         and if necessary set DF_1_NODELETE flag.
78521         * elf/tst-unique4.cc: New file.
78522         * elf/tst-unique4.h: New file.
78523         * elf/tst-unique4lib.cc: New file.
78524         * elf/Makefile: Add rules to build and run tst-unique4.
78525         Patch by Piotr Bury <pbury@goahead.com>.
78527 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78529         [BZ #12052]
78530         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78532         [BZ #12625]
78533         * misc/mntent_r.c (addmntent): Flush the stream after the output
78535         [BZ #12393]
78536         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78537         (is_trusted_path_normalize): Skip initial colon.  Append slash
78538         to empty buffer.  Duplicate is_trusted_path code but allow
78539         constructed patch to be prefix.
78540         (is_dst): Allow $ORIGIN followed by /.
78541         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78542         Correct testing of result of is_trusted_path_normalize
78543         (decompose_rpath): Fix warning.
78545 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78547         [BZ #11257]
78548         * grp/initgroups.c (internal_getgrouplist): When we found the service
78549         list through the initgroups entry in nsswitch.conf do not always
78550         continue on a successful lookup.  Don't always use the
78551         __nss_group_database value if it is set.
78552         * nss/nsswitch.conf (initgroups): Change action for successful db
78553         lookup to continue for compatibility.
78555 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78557         [BZ #11532]
78558         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78559         and CP774 modules.
78560         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78561         and CP774 modules.
78562         * iconvdata/tst-tables.sh: Likewise.
78563         * iconvdata/cp770.c: New file.
78564         * iconvdata/cp771.c: New file.
78565         * iconvdata/cp772.c: New file.
78566         * iconvdata/cp773.c: New file.
78567         * iconvdata/cp774.c: New file.
78568         * iconvdata/testdata/CP770: New file.
78569         * iconvdata/testdata/CP770..UTF8: New file.
78570         * iconvdata/testdata/CP771: New file.
78571         * iconvdata/testdata/CP771..UTF8: New file.
78572         * iconvdata/testdata/CP772: New file.
78573         * iconvdata/testdata/CP772..UTF8: New file.
78574         * iconvdata/testdata/CP773: New file.
78575         * iconvdata/testdata/CP773..UTF8: New file.
78576         * iconvdata/testdata/CP774: New file.
78577         * iconvdata/testdata/CP774..UTF8: New file.
78579         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78580         END CHARMAP line.
78581         * iconvdata/gen-8bit-gap.sh: Likewise.
78582         * iconvdata/gen-8bit.sh: Likewise.
78584         * locale/iso-639.def: Add ary entry.
78586         [BZ #11258]
78587         * locale/C-translit.h.in: Add U20A1 transliteration.
78589         [BZ #12178]
78590         * locale/iso-639.def: Add wae entry.
78591         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78593         [BZ #12545]
78594         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78595         for n.
78597         [BZ #12711]
78598         * locale/C-translit.h.in: Add entry for U20B9.
78599         Patch by pravin.d.s@gmail.com.
78601 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78603         [BZ #12713]
78604         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78605         ENAMETOOLONG use generic getcwd.
78606         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78607         in rtld.  Use *stat64.
78608         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78609         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78610         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78611         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78612         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78613         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78614         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78615         __fstatat64 macros.
78616         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78617         * dirent/rewinddir.c: Add libc_hidden_def.
78618         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78619         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78621         * include/dirent.h (__alloc_dir): Add flags parameter.
78622         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78623         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78624         __alloc_dir.
78625         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78626         from fdopendir if O_CLOEXEC is already set.
78628 2011-03-15  Alan Modra  <amodra@gmail.com>
78630         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78631         l_tls_firstbyte_offset non-zero.  Save padding offset in
78632         l_tls_firstbyte_offset for later use.
78633         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78634         freeing static tls block.
78636 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78638         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78639         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78640         being defined by the kernel headers.
78642 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78644         [BZ #12734]
78645         * resolv/resolv.h: Define RES_NOTLDQUERY.
78646         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78647         no-tld-query and set RES_NOTLDQUERY.
78648         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78649         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78650         modern BIND to search name as TLD unless forbidden.
78652 2011-05-07  Petr Baudis  <pasky@suse.cz>
78653             Ulrich Drepper  <drepper@gmail.com>
78655         [BZ #12393]
78656         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78657         (is_trusted_path): ...to here.
78658         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78659         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78660         using is_trusted_path_normalize() in setuid scripts.
78662 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78664         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78665         __BEGIN/__END_DECLS.
78667 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78669         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78670         NSS_STATUS_NOTFOUND if no record was found.
78672 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78674         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78675         (headers-not-in-tirpc): Remove rpc/netdb.h
78676         * resolv/netdb.h: Revert last change.
78678 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78680         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78681         circular dependency between libgcc.a and libc.a.
78683 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78685         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78686         * nis/Makefile: Don't install rpcsvc/*.
78687         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78688         instead of <rpc/types.h>.
78689         (MAXHOSTNAMELEN): Define.
78691 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78693         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78695 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78697         [BZ #12714]
78698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78699         gethostbyname4_r when IPv6 results are possible.
78701 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78703         [BZ #12723]
78704         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78705         _PC_PIPE_BUF handling.
78707 2011-04-30  Bruno Haible  <bruno@clisp.org>
78709         [BZ #12717]
78710         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78711         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78712         to 'int'.
78713         * inet/getnameinfo.c (getnameinfo): Likewise.
78715 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78717         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78718         to groups setting in database lookup.
78719         * nss/nsswitch.conf: Add initgroups entry.
78721 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78723         [BZ #12685]
78724         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78725         mode string.
78726         Patch by Eric Blake <eblake@redhat.com>.
78728 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78730         * sunrpc/Makefile (need-export-routines): Add svc_run.
78731         (routines): Remove svc_run.
78732         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78733         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78734         * sunrpc/svc_run.c (svc_run): Likewise.
78735         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78737 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78739         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78740         problem in reallocation in last patch.
78742 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78744         * sunrpc/Makefile: Move inclusion of Rules.
78746 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78748         * nss/nss_files/files-initgroups.c: New file.
78749         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78750         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78751         _nss_files_initgroups_dyn.
78753 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78755         * elf/elf.h (R_ARM_IRELATIVE): Define.
78757 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78759         * po/ru.po: Update from translation team.
78761 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78763         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78764         dependencies.
78766 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78768         [BZ #12653]
78769         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78770         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78771         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78772         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78773         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78775 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78777         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78778         differing bytes.
78779         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78780         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78781         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78783 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78785         [BZ #12420]
78786         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78787         storing it.
78788         * stdlib/bug-getcontext.c: New file.
78789         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78791 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78793         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78794         instructions into .machine "z9-109".
78795         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78796         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78798 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78800         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78801         between environment variables and auxiliary vector.
78803 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78805         * Makefile: Add rules to build linkobj/libc.so.
78806         * include/libc-symbols.h: Define libc_hidden_nolink.
78807         * include/rpc/auth.h: Mark functions which are to be hidden.
78808         * include/rpc/auth_des.h: Likewise.
78809         * include/rpc/auth_unix.h: Likewise.
78810         * include/rpc/clnt.h: Likewise.
78811         * include/rpc/des_crypt.h: Likewise.
78812         * include/rpc/key_prot.h: Likewise.
78813         * include/rpc/pmap_clnt.h: Likewise.
78814         * include/rpc/pmap_prot.h: Likewise.
78815         * include/rpc/pmap_rmt.h: Likewise.
78816         * include/rpc/rpc_msg.h: Likewise.
78817         * include/rpc/svc.h: Likewise.
78818         * include/rpc/svc_auth.h: Likewise.
78819         * include/rpc/xdr.h: Likewise.
78820         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78821         * nss/Makefile: Likewise.
78822         * sunrpc/Makefile: Don't install headers.  Build library with normal
78823         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78824         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78825         for the compat linking library.  Remove use of INTDEF/INTUSE.
78826         * sunrpc/auth_none.c: Likewise.
78827         * sunrpc/auth_unix.c: Likewise.
78828         * sunrpc/authdes_prot.c: Likewise.
78829         * sunrpc/authuxprot.c: Likewise.
78830         * sunrpc/clnt_gen.c: Likewise.
78831         * sunrpc/clnt_perr.c: Likewise.
78832         * sunrpc/clnt_raw.c: Likewise.
78833         * sunrpc/clnt_simp.c: Likewise.
78834         * sunrpc/clnt_tcp.c: Likewise.
78835         * sunrpc/clnt_udp.c: Likewise.
78836         * sunrpc/clnt_unix.c: Likewise.
78837         * sunrpc/des_crypt.c: Likewise.
78838         * sunrpc/des_soft.c: Likewise.
78839         * sunrpc/get_myaddr.c: Likewise.
78840         * sunrpc/key_call.c: Likewise.
78841         * sunrpc/key_prot.c: Likewise.
78842         * sunrpc/netname.c: Likewise.
78843         * sunrpc/pm_getmaps.c: Likewise.
78844         * sunrpc/pm_getport.c: Likewise.
78845         * sunrpc/pmap_clnt.c: Likewise.
78846         * sunrpc/pmap_prot.c: Likewise.
78847         * sunrpc/pmap_prot2.c: Likewise.
78848         * sunrpc/pmap_rmt.c: Likewise.
78849         * sunrpc/publickey.c: Likewise.
78850         * sunrpc/rpc_cmsg.c: Likewise.
78851         * sunrpc/rpc_common.c: Likewise.
78852         * sunrpc/rpc_dtable.c: Likewise.
78853         * sunrpc/rpc_prot.c: Likewise.
78854         * sunrpc/rpc_thread.c: Likewise.
78855         * sunrpc/rtime.c: Likewise.
78856         * sunrpc/svc.c: Likewise.
78857         * sunrpc/svc_auth.c: Likewise.
78858         * sunrpc/svc_authux.c: Likewise.
78859         * sunrpc/svc_raw.c: Likewise.
78860         * sunrpc/svc_run.c: Likewise.
78861         * sunrpc/svc_simple.c: Likewise.
78862         * sunrpc/svc_tcp.c: Likewise.
78863         * sunrpc/svc_udp.c: Likewise.
78864         * sunrpc/svc_unix.c: Likewise.
78865         * sunrpc/svcauth_des.c: Likewise.
78866         * sunrpc/xcrypt.c: Likewise.
78867         * sunrpc/xdr.c: Likewise.
78868         * sunrpc/xdr_array.c: Likewise.
78869         * sunrpc/xdr_float.c: Likewise.
78870         * sunrpc/xdr_intXX_t.c: Likewise.
78871         * sunrpc/xdr_mem.c: Likewise.
78872         * sunrpc/xdr_rec.c: Likewise.
78873         * sunrpc/xdr_ref.c: Likewise.
78874         * sunrpc/xdr_sizeof.c: Likewise.
78875         * sunrpc/xdr_stdio.c: Likewise.
78877 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78879         [BZ #12650]
78880         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78881         * sysdeps/ia64/dl-tls.h: Likewise.
78882         * sysdeps/powerpc/dl-tls.h: Likewise.
78883         * sysdeps/s390/dl-tls.h: Likewise.
78884         * sysdeps/sh/dl-tls.h: Likewise.
78885         * sysdeps/sparc/dl-tls.h: Likewise.
78886         * sysdeps/x86_64/dl-tls.h: Likewise.
78887         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78889 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78891         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78892         rpath element also skip the following colon.
78893         (expand_dynamic_string_token): Add is_path parameter and pass
78894         down to DL_DST_REQUIRED and _dl_dst_substitute.
78895         (decompose_rpath): Call expand_dynamic_string_token with
78896         non-zero is_path.  Ignore empty rpaths.
78897         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78898         with zero is_path.
78900 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78903         Make cancelable.
78905 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78907         [BZ #12655]
78908         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78909         Patch by Filipe David Manana <fdmanana@apache.org>.
78911 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78913         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78914         Maintain aligned stack.
78915         (CHECK_RSP): Remove unused macro.
78917 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78919         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78920         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78922 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78924         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78926         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78928 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78930         [BZ #12518]
78931         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78932         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78933         * sysdeps/x86_64/memmove.c: New file.
78934         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78935         (memcpy): Renamed to ...
78936         (__new_memcpy): This.
78937         (memcpy): Provide GLIBC_2_14 memcpy.
78938         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78939         (memcpy): Provide GLIBC_2_2_5 memcpy.
78941 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78943         [BZ #12631]
78944         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78946 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78948         * misc/syncfs.c: New file.
78949         * misc/Makefile (routines): Add syncfs.
78950         * posix/unistd.h: Declare syncfs.
78951         * sysdeps/unix/syscalls.list: Add syncfs.
78953 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78955         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78956         open_by_handle_at.
78957         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78958         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78959         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78960         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78962         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78963         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78965 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78967         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78968         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78969         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78970         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78971         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78972         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78975         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78976         sync_file_range.c with -fexceptions.
78977         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78978         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78979         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78980         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78981         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78982         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78983         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78984         sync_file_range as cancellation point
78985         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78986         now a wrapper around __call_sync_file_range with cancellation handling.
78987         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78988         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78989         function name to __call_sync_file_range.
78990         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78991         Add call_sync_file_range.
78993 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78996         bits/timex.h.
78998 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79000         * iconv/iconv.h: Fix typo in comment.
79001         * io/fcntl.h: Likewise.
79002         * libio/stdio.h: Likewise.
79003         * posix/spawn.h: Likewise.
79004         * posix/unistd.h: Likewise.
79005         * stdlib/stdlib.h: Likewise.
79006         * time/time.h: Likewise.
79007         * wcsmbs/wchar.h: Likewise.
79009         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79010         open_by_handle): Add.
79011         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79012         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79013         Augment a few comments.
79014         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79015         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79016         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79018         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79019         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79020         open_by_handle.
79022         * io/fcntl.h (AT_EMPTY_PATH): Define.
79024 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79026         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79027         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79028         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79029         to...
79030         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79031         * Versions.def: Add GLIBC_2.14.
79032         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79033         Export.
79035 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79037         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79038         round counter.
79039         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79041 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79043         [BZ #12597]
79044         * string/test-strncmp.c (do_page_test): New function.
79045         (check2): Likewise.
79046         (test_main): Call check2.
79047         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79049 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79051         [BZ #12587]
79052         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79053         Handle cache information in CPU leaf 4.
79054         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79056 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79058         [BZ #12583]
79059         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79060         character representation.
79061         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79063 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79065         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79066         END(__isnan) to END(__isnanf) to match function entry point/label
79067         EALIGN(__isnanf,...).
79069 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79071         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79073 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79075         [BZ #12510]
79076         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79077         copy from the symbol referenced in the relocation to initialize the
79078         used variable.
79079         Patch by Piotr Bury <pbury@goahead.com>.
79080         * elf/Makefile: Add rules to build and tst-unique3.
79081         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79082         * elf/tst-unique3.cc: New file.
79083         * elf/tst-unique3.h: New file.
79084         * elf/tst-unique3lib.cc: New file.
79085         * elf/tst-unique3lib2.cc: New file.
79087         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79089 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79091         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79092         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79093         to _start.
79095 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79097         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79098         to-be-loaded object along a path to loader is ld.so.
79100 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79101             Ulrich Drepper  <drepper@gmail.com>
79103         * sysdeps/x86_64/memset.S: After aligning destination, code
79104         branches to different locations depending on the value of
79105         misalignment, when multiarch is enabled. Fix this.
79107 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79109         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79110         Set _x86_64_preferred_memory_instruction for AMD processsors.
79111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79112         Set bit_Prefer_SSE_for_memop for AMD processors.
79114 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79116         * libio/fmemopen.c (fmemopen): Optimize a bit.
79118 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79120         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79122 2011-03-03  Roland McGrath  <roland@redhat.com>
79124         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79126 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79128         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79129         __bzero_ultra1 instead of __memset_ultra1.
79131 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79132             Ulrich Drepper  <drepper@gmail.com>
79134         [BZ #12509]
79135         * include/link.h (struct link_map): Add l_orig_initfini.
79136         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79137         returning unsuccessfully.
79138         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79139         close of a file loaded at startup, restore the original l_initfini
79140         list.
79141         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79142         list, store the pointer.
79143         * elf/Makefile ($(objpfx)noload-mem): New rule.
79144         (noload-ENV): Define.
79145         (tests): Add $(objpfx)noload-mem.
79146         * elf/noload.c: Include <memcheck.h>.
79147         (main): Call mtrace.  Close all opened handles.
79149 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79151         [BZ #12454]
79152         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79153         dependencies are missing.
79155 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79157         Fix __if_freereq crash: Unlike the generic version which uses free,
79158         Hurd needs munmap.
79159         * sysdeps/mach/hurd/ifreq.h: New file.
79161 2011-01-27  Petr Baudis  <pasky@suse.cz>
79162             Ulrich Drepper  <drepper@gmail.com>
79164         [BZ 12445]#
79165         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79166         to extend_alloca().
79167         * stdio-common/bug23.c: New file.
79168         * stdio-common/Makefile (tests): Add bug23.
79170 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79171             Ulrich Drepper  <drepper@gmail.com>
79173         [BZ #12489]
79174         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79175         before performing relro protection.  At old place add assertion
79176         to make sure nothing changed.
79178 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79179             Glauber de Oliveira Costa  <glommer@gmail.com>
79181         * elf/elf.h: Add new ARM TLS relocs.
79183 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79186         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79187         cast from r3.
79188         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79189         'tests' variable.
79190         * sysdeps/wordsize-64/tst-writev.c: New file.
79192 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79194         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79195         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79196         insns in _dl_start to prevent a TOC reference before relocs are
79197         resolved.
79199 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79201         [BZ #12469]
79202         * Makeconfig: Remove RANLIB definition.
79203         * Makerules: Don't use RANLIB.
79204         * aclocal.m4: Remove ranlib test.
79205         * configure.in: No need to check for ranlib.
79206         * elf/rtld-Rules: Don't use RANLIB.
79208 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79210         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79211         protection macro.
79212         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79213         inclusion protection macro.
79215         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79216         SIGRTMIN and SIGRTMAX and print information in that case only when
79217         SIGRTMIN is defined.
79219 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79221         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79222         arginfo fn returning -1.
79224         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79225         and thousands string is zero terminated.
79227 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79230         sysdeps/unix/sysv/linux/bits/socket.h.
79232 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79234         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79235         (__CPU_COUNT): Remove old macros.
79236         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79237         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79238         (__CPU_ALLOC, __CPU_FREE): Add macros.
79239         (__sched_cpualloc, __sched_cpufree): Add declarations.
79241 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79243         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79244         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79245         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79246         (readdhstai): Return value of addhstaiX call.
79247         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79248         (addgrbyX): Return value returned by cache_addgr.
79249         (readdgrbyname): Return value returned by addgrbyX.
79250         (readdgrbygid): Likewise.
79251         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79252         (addpwbyX): Return value returned by cache_addpw.
79253         (readdpwbyname): Return value returned by addhstbyX.
79254         (readdpwbyuid): Likewise.
79255         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79256         (addservbyX): Return value returned by cache_addserv.
79257         (readdservbyname): Return value returned by addservbyX:
79258         (readdservbyport): Likewise.
79259         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79260         (addhstbyX): Return value returned by cache_addhst.
79261         (readdhstbyname): Return value returned by addhstbyX.
79262         (readdhstbyaddr): Likewise.
79263         (readdhstbynamev6): Likewise.
79264         (readdhstbyaddrv6): Likewise.
79265         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79266         (readdinitgroups): Return value returned by addinitgroupsX.
79267         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79268         (prune_cache): Keep track of timeout value of re-added entries.
79269         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79270         * nscd/nscd.h: Adjust prototypes of readd* functions.
79272 2011-02-04  Roland McGrath  <roland@redhat.com>
79274         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79275         (nis_stats): Likewise.
79276         * nis/nis_modify.c (nis_modify): Likewise.
79277         * nis/nis_remove.c (nis_remove): Likewise.
79278         * nis/nis_add.c (nis_add): Likewise.
79280         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79282         * posix/fnmatch_loop.c: Add some consts.
79284         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79286 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79288         [BZ #12460]
79289         * config.make.in (config-cflags-novzeroupper): Define.
79290         * configure.in: Substitute libc_cv_cc_novzeroupper.
79291         * elf/Makefile (AVX-CFLAGS): Define.
79292         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79293         (CFLAGS-tst-auditmod4a.c): Likewise.
79294         (CFLAGS-tst-auditmod4b.c): Likewise.
79295         (CFLAGS-tst-auditmod6b.c): Likewise.
79296         (CFLAGS-tst-auditmod6c.c): Likewise.
79297         (CFLAGS-tst-auditmod7b.c): Likewise.
79298         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79300 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79302         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79303         function to the callback.
79304         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79306 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79308         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79309         of errno.
79311 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79313         [BZ #11724]
79314         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79315         of constructors.
79316         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79317         of destructors.
79318         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79320         [BZ #11724]
79321         * elf/Makefile: Add rules to build and run new test.
79322         * elf/tst-initorder.c: New file.
79323         * elf/tst-initorder.exp: New file.
79324         * elf/tst-initordera1.c: New file.
79325         * elf/tst-initordera2.c: New file.
79326         * elf/tst-initordera3.c: New file.
79327         * elf/tst-initordera4.c: New file.
79328         * elf/tst-initorderb1.c: New file.
79329         * elf/tst-initorderb2.c: New file.
79330         * elf/tst-order-a1.c: New file.
79331         * elf/tst-order-a2.c: New file.
79332         * elf/tst-order-a3.c: New file.
79333         * elf/tst-order-a4.c: New file.
79334         * elf/tst-order-b1.c: New file.
79335         * elf/tst-order-b2.c: New file.
79336         * elf/tst-order-main.c: New file.
79337         New test case by George Gensure <werkt0@gmail.com>.
79339 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79341         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79342         decoding ACE if AI_CANONIDN.
79344 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79346         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79348 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79350         * version.h (RELEASE): Bump for 2.13 release.
79351         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79353         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79355         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79356         MADV_NOHUGEPAGE.
79357         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79358         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79359         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79360         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79361         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79362         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79364         * posix/getconf.c: Update copyright year.
79365         * catgets/gencat.c: Likewise.
79366         * csu/version.c: Likewise.
79367         * debug/catchsegv.sh: Likewise.
79368         * debug/xtrace.sh: Likewise.
79369         * elf/ldconfig.c: Likewise.
79370         * elf/ldd.bash.in: Likewise.
79371         * elf/sprof.c (print_version): Likewise.
79372         * iconv/iconv_prog.c: Likewise.
79373         * iconv/iconvconfig.c: Likewise.
79374         * locale/programs/locale.c: Likewise.
79375         * locale/programs/localedef.c: Likewise.
79376         * malloc/memusage.sh: Likewise.
79377         * malloc/mtrace.pl: Likewise.
79378         * nscd/nscd.c (print_version): Likewise.
79379         * nss/getent.c: Likewise.
79381         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79382         PF_CAIF, and PF_ALG.
79383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79385 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79387         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79388         (modules-names): Use them.
79389         (ifunc-test-modules, ifunc-pie-tests): Define.
79390         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79391         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79392         (test-extras): Likewise.
79393         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79394         $(compile-command.c).
79395         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79396         (all-built-dso): Define.
79397         (check-textrel.out, check-execstack.out): Depend on it.
79399         * configure.in: Don't override --enable-multi-arch.
79401 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79403         [BZ #6812]
79404         * nscd/hstcache.c (tryagain): Define.
79405         (cache_addhst): Return tryagain not notfound for temporary errors.
79406         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79407         failed.
79409 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79411         [BZ #10563]
79412         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79413         to make the syscall.
79414         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79416         [BZ #12378]
79417         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79418         and fall back to matching as normal character if the string ends before
79419         the matching ']' is found.  This is what POSIX requires.
79420         * posix/testfnm.c: Adjust test result.
79421         * posix/globtest.sh: Adjust test result.  Add new test.
79422         * posix/tst-fnmatch.input: Likewise.
79423         * posix/tst-fnmatch2.c: Add new test.
79425 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79427         * elf/Makefile (check-execstack): Revert last change.  Depend on
79428         check-execstack.h.
79429         (check-execstack.h): New target.
79430         (generated): Add check-execstack.h.
79431         * elf/check-execstack.c: Include "check-execstack.h".
79432         (main): Revert last change.
79433         (handle_file): Return zero if GNU_STACK is absent and
79434         DEFAULT_STACK_PERMS doesn't include PF_X.
79436 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79438         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79439         in child fails because the descriptor is already closed.
79440         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79441         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79442         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79444         [BZ #12397]
79445         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79446         syscall.
79448         [BZ #10484]
79449         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79450         temporary buffer used to handle multi lookups locally.
79451         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79453 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79455         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79456         loader is ld.so.
79458 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79460         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79461         alignment for SSE2.
79463 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79465         [BZ #12394]
79466         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79467         characters.  When rounding increased number of integer digits recompute
79468         number of groups.
79469         * stdio-common/tst-grouping.c: New file.
79470         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79472 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79474         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79475         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79477         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79478         void.
79479         * bits/select.h: Likewise.
79481 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79483         * po/ja.po: Update from translation team.
79485 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79487         [BZ #11155]
79488         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79489         implementation just like for lxstat, fxstatat, et al.
79491 2010-12-27  Jim Meyering  <meyering@redhat.com>
79493         [BZ #12348]
79494         * posix/regexec.c (build_trtable): Return failure indication upon
79495         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79497 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79499         [BZ #12201]
79500         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79501         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79502         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79503         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79505         [BZ #12207]
79506         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79508         [BZ #12204]
79509         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79510         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79512 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79514         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79515         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79516         script has SORT_BY_INIT_PRIORITY.
79517         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79518         NO_CTORS_DTORS_SECTIONS is defined.
79519         * elf/soinit.c: Likewise.
79520         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79521         NO_CTORS_DTORS_SECTIONS is defined.
79522         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79523         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79524         * sysdeps/sh/init-first.c: Likewise.
79525         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79527 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79529         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79530         always use the slow path.
79532 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79534         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79535         similar rule which adds the sysdep directories to the header search in
79536         order to pick up the correct platform stackinfo.h.
79537         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79538         perform test if it is, otherwise return successfully without testing.
79539         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79540         DEFAULT_STACK_PERMS define in stackinfo.h.
79541         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79542         defined in stackinfo.h.
79543         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79544         DEFAULT_STACK_PERMS defined in stackinfo.h.
79545         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79546         * sysdeps/ia64/stackinfo.h: Likewise.
79547         * sysdeps/s390/stackinfo.h: Likewise.
79548         * sysdeps/sh/stackinfo.h: Likewise.
79549         * sysdeps/sparc/stackinfo.h: Likewise.
79550         * sysdeps/x86_64/stackinfo.h: Likewise.
79551         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79552         PF_X for powerpc64.  Retain PF_X for powerpc32.
79554 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79556         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79557         accurately.
79558         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79559         GETDENTS_64BIT_ALIGNED.
79561 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79563         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79565 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79567         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79568         _GNU_SOURCE.
79570         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79571         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79572         Remove __restrict.
79573         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79574         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79576 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79578         [BZ #11655]
79579         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79580         are initialized.
79582 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79584         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79586 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79588         * po/it.po: Update from translation team.
79590 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79592         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79593         unused codes.
79595 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79597         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79599 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79601         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79602         specially.
79603         (gaih_getanswer_slice): Likewise.
79605 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79609 2010-05-31  Petr Baudis  <pasky@suse.cz>
79611         [BZ #11149]
79612         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79613         silently even in the chroot mode.
79615 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79617         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79618         last patch a bit.  Pretty printing
79620 2010-05-31  Petr Baudis <pasky@suse.cz>
79622         [BZ #10085]
79623         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79624         initialization of skip_initgroups_dyn.
79626 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79628         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79629         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79631 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79633         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79635 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79637         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79638         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79639         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79640         ($(objpfx)tst-fnmatch-mem): New rule.
79641         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79642         * posix/tst-fnmatch.c (main): Call mtrace.
79644 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79647         Support Intel processor model 6 and model 0x2c.
79649 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79651         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79652           signed comparison.
79654 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79656         [BZ #12205]
79657         * string/test-strncasecmp.c (check_result): New function.
79658         (do_one_test): Use it.
79659         (check1): New function.
79660         (test_main): Use it.
79661         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79662         Support strcasecmp and strncasecmp.
79664 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79666         [BZ #12194]
79667         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79668         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79670 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79672         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79673         IFUNC support.
79674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79675         memset-x86-64.
79676         * sysdeps/x86_64/multiarch/bzero.S: New file.
79677         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79678         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79679         * sysdeps/x86_64/multiarch/memset.S: New file.
79680         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79682         Set bit_Prefer_SSE_for_memop for Intel processors.
79683         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79684         Define.
79685         (index_Prefer_SSE_for_memop): Define.
79686         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79688 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79690         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79691         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79693 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79695         [BZ #12191]
79696         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79697         (__x86_64_raw_data_cache_size_half): Likewise.
79698         (__x86_64_raw_shared_cache_size): Likewise.
79699         (__x86_64_raw_shared_cache_size_half): Likewise.
79701         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79702         (__x86_64_raw_data_cache_size_half): Likewise.
79703         (__x86_64_raw_shared_cache_size): Likewise.
79704         (__x86_64_raw_shared_cache_size_half): Likewise.
79705         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79706         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79707         and __x86_64_raw_shared_cache_size_half.  Round
79708         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79709         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79710         to multiple of 256 bytes.
79712 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79714         [BZ #12167]
79715         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79716         of inacessible symlinks.  Verify result of symlink before returning it.
79717         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79718         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79720 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79722         * math/math.h (isinf): Fix typo in comment.
79724 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79726         * po/da.po: Update from translation team.
79728 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79730         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79731         is added to the list.
79733 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79734             Ulrich Drepper  <drepper@gmail.com>
79736         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79737         the global list here.  Move code to...
79738         (_dl_add_to_namespace_list): ...here.  New function.
79739         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79740         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79741         * elf/dl-load.c (lose): Don't remove the element from the list.
79742         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79743         (_dl_map_object): Likewise.
79745 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79747         [BZ #12159]
79748         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79749         into all bytes of SSE register.
79750         Patch by Richard Li <richardpku@gmail.com>.
79752 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79754         [BZ #12140]
79755         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79756         perturbing.
79758 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79760         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79761         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79762         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79763         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79765         submachine.
79766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79768 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79770         * include/dlfcn.h (__RTLD_SECURE): Define.
79771         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79772         mode & __RTLD_SECURE instead.
79773         (open_path): Rename preloaded parameter to secure.
79774         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79775         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79776         * elf/dl-deps.c (openaux): Likewise.
79777         * elf/rtld.c (struct map_args): Remove is_preloaded.
79778         (map_doit): Don't use it.
79779         (dl_main): Likewise.
79780         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79781         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79783 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79785         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79786         (sysd-rules-targets): Remove duplicates.
79787         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79788         rtld-%.$o dependency.
79790 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79792         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79793         _dl_map_object do it.
79795 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79797         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79798         fast fma builtins, define the macros in the C99 standard.
79799         (FP_FAST_FMAF): Likewise.
79800         (FP_FAST_FMAL): Likewise.
79801         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79803         * bits/mathdef.h: Update copyright year.
79804         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79806 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79808         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79809         builtins, define the macros in the C99 standard.
79810         (FP_FAST_FMAF): Likewise.
79811         (FP_FAST_FMAL): Likewise.
79812         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79813         multiply/add.
79814         (FP_FAST_FMAF): Likewise.
79816 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79818         [BZ #3268]
79819         * math/libm-test.inc (fma_test): Some new testcases.
79820         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79821         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79822         y and infinite z.  Do multiplication by C already in long double.
79823         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79824         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79825         y and infinite z.  Do bitwise or of inexact bit into u.d.
79826         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79827         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79828         * sysdeps/i386/fpu/s_fma.S: Removed.
79829         * sysdeps/i386/fpu/s_fmal.S: Removed.
79831 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79833         [BZ #3268]
79834         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79836         computation is not scheduled after fetestexcept.  Fix value
79837         of minimum denormal long double.
79839 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79841         [BZ #3268]
79842         * math/libm-test.inc (fma_test): Add some more tests.
79843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79844         correctly.
79846 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79848         * scripts/data/localplt-s390-linux-gnu.data: New file.
79849         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79851 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79853         [BZ #3268]
79854         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79855         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79856         instead of dbl-64.
79857         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79858         inlines.
79859         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79861         if one of x and y is very large and the other is subnormal.
79862         * sysdeps/s390/fpu/s_fmaf.c: New file.
79863         * sysdeps/s390/fpu/s_fma.c: New file.
79864         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79865         * sysdeps/powerpc/fpu/s_fma.S: New file.
79866         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79867         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79868         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79870 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79872         [BZ #3268]
79873         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79874         fma tests.
79875         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79876         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79877         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79878         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79879         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79880         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79881         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79883 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79885         [BZ #12078]
79886         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79887         * posix/bug-regex31.input: Add test case.
79889 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79891         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79892         * posix/bug-regex31.input: New file.
79894         [BZ #12078]
79895         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79896         (parse_sub_exp): Fix last change, use postorder.
79898         * posix/bug-regex31.c: New file.
79899         * posix/Makefile: Add rules to build and run bug-regex31.
79901         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79903         [BZ #12078]
79904         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79906         [BZ #12108]
79907         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79908         to have entries in sys_siglist.
79910         [BZ #12093]
79911         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79912         be NULL.
79914 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79916         [BZ #3268]
79917         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79918         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79919         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79920         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79921         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79922         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79923         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79924         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79925         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79926         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79927         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79928         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79929         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79930         * math/ftestexcept.c (fetestexcept): Likewise.
79931         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79932         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79933         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79934         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79935         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79936         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79937         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79939 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79941         [BZ #12107]
79942         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79943         newline.
79945 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79947         * string/bug-strstr1.c: New file.
79948         * string/Makefile: Add rules to build and run bug-strstr1.
79950 2010-10-05  Eric Blake  <eblake@redhat.com>
79952         [BZ #12092]
79953         * string/str-two-way.h (two_way_long_needle): Always clear memory
79954         when skipping input due to the shift table.
79956 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79958         [BZ #12005]
79959         * malloc/mcheck.c: Handle large requests.
79961         [BZ #12077]
79962         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79963         for strncmp and strncasecmp.
79964         * string/stratcliff.c: Add tests for strcmp and strncmp.
79965         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79967 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79969         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79970         __set_fpscr.
79972 2010-09-30  Andreas Jaeger  <aj@suse.de>
79974         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79975         (CGROUP_SUPER_MAGIC): Define.
79976         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79977         Handle btrfs and cgroup file systems.
79978         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79979         Likewise.
79981 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79983         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79984         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79986 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79988         [BZ #12067]
79989         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79990         trying to locate the ELF header.
79992 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79994         [BZ #11611]
79995         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79996         Mask out sign-bit copies when constructing f_fsid.
79998 2010-09-24  Petr Baudis <pasky@suse.cz>
80000         * debug/stack_chk_fail_local.c: Add missing licence exception.
80001         * debug/warning-nop.c: Likewise.
80003 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80005         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80006         implementing getdents64 using getdents syscall, set d_type if
80007         __ASSUME_GETDENTS32_D_TYPE.
80009 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80011         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80012         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80014 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80016         [BZ #12037]
80017         * posix/unistd.h: Undo change of feature selection for ftruncate from
80018         2010-01-11.
80020 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80022         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80023         detection.
80025 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80027         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80028         fanotify_mark.
80029         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80031 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80033         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80034         variables after CHECK_SP call.
80035         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80037 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80038             Ulrich Drepper  <drepper@redhat.com>
80040         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80041         re-relocationg ld.so.
80042         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80043         _dl_init_paths call.
80044         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80045         here anymore.
80047 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80049         * resolv/res_init.c (__res_vinit): Count the default server we added.
80051 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80052             Ulrich Drepper  <drepper@redhat.com>
80054         [BZ #11968]
80055         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80056         (____longjmp_chk): Use %ebx for saving value across system call.
80057         Add unwind info.
80059 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80061         * manual/Makefile: Don't mix pattern rules with normal rules.
80063 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80065         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80066         operation.
80067         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80068         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80069         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80070         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80071         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80072         Likewise.
80074 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80076         [BZ #11979]
80077         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80078         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80080 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80082         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80083         * sysdeps/x86_64/addmul_1.S: Likewise.
80084         * sysdeps/x86_64/lshift.S: Likewise.
80085         * sysdeps/x86_64/mul_1.S: Likewise.
80086         * sysdeps/x86_64/rshift.S: Likewise.
80087         * sysdeps/x86_64/sub_n.S: Likewise.
80088         * sysdeps/x86_64/submul_1.S: Likewise.
80090 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80092         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80093         Define __sched_param instead of SCHED_* and sched_param when
80094         <bits/sched.h> is included with __need_schedparam defined.
80095         * bits/sched.h [__need_schedparam]
80096         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80097         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80098         (__defined_schedparam): Define to 1.
80099         (__sched_param): New structure, identical to sched_param.
80100         (__need_schedparam): Undefine.
80102 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80104         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80105         (epoll_create1): Declare.
80107         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80109 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80111         [BZ #7066]
80112         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80113         shifting retval into place.
80115 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80117         * nis/rpcsvc/nis.h: Update copyright notice.
80118         * nis/rpcsvc/nis.x: Likewise.
80119         * nis/rpcsvc/nis_callback.h: Likewise.
80120         * nis/rpcsvc/nis_callback.x: Likewise.
80121         * nis/rpcsvc/nis_object.x: Likewise.
80122         * nis/rpcsvc/nis_tags.h: Likewise.
80123         * nis/rpcsvc/yp.h: Likewise.
80124         * nis/rpcsvc/yp.x: Likewise.
80125         * nis/rpcsvc/ypupd.h: Likewise.
80126         * nis/yp_xdr.c: Likewise.
80127         * nis/ypupdate_xdr.c: Likewise.
80129         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80130         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80131         (pmap_getport): Use __libc_rpc_getport.
80132         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80133         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80134         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80136 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80139         fanotify_mark.
80141 2010-08-27  Roland McGrath  <roland@redhat.com>
80143         * sysdeps/i386/i686/multiarch/Makefile
80144         (CFLAGS-varshift.c): New variable.
80146 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80148         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80149         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80151         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80153         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80155 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80157         * sysdeps/x86_64/strlen.S: Unroll the loop.
80158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80159         strlen-sse2 strlen-sse2-bsf.
80160         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80161         __strlen_no_bsf if bit_Slow_BSF is set.
80162         (__strlen_sse42): Removed.
80163         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80164         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80166 2010-08-25  Roland McGrath  <roland@redhat.com>
80168         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80169         * sysdeps/x86_64/multiarch/varshift.c: New file.
80170         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80171         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80172         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80173         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80175 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80177         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80178         strlen-sse2 strlen-sse2-bsf.
80179         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80180         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80181         (__strlen_sse2): Removed.
80182         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80183         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80185         bit_Slow_BSF for Atom.
80186         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80187         (index_Slow_BSF): Define.
80188         (HAS_SLOW_BSF): Define.
80190 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80192         [BZ #10851]
80193         * resolv/res_init.c (__res_vinit): When no server address at all
80194         is given default to loopback.
80196 2010-08-24  Roland McGrath  <roland@redhat.com>
80198         * configure.in: Remove config-name.h generation.
80199         * configure: Regenerated.
80200         * config-name.in: File removed.
80201         * scripts/config-uname.sh: New file.
80202         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80203         ($(objdir)config-name.h): New target.
80205         * sunrpc/rpc_parse.h: Avoid nested comment.
80207 2010-08-24  Richard Henderson  <rth@redhat.com>
80208             Ulrich Drepper  <drepper@redhat.com>
80209             H.J. Lu  <hongjiu.lu@intel.com>
80211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80213         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80214         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80215         _mm_alignr_epi8 with _mm_loadu_si128.
80216         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80217         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80218         (__m128i_shift_right): Removed.
80219         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80220         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80221         * sysdeps/x86_64/multiarch/varshift.h: New file.
80222         * sysdeps/x86_64/multiarch/varshift.S: New file.
80224 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80226         * configure.in: Move assembler checks to before sysdep dir checking.
80228 2010-08-20  Petr Baudis  <pasky@suse.cz>
80230         * LICENSES: Sync the sunrpc license.
80232 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80234         * sunrpc/auth_des.c: Update copyright notice once again.
80235         * sunrpc/auth_none.c: Likewise.
80236         * sunrpc/auth_unix.c: Likewise.
80237         * sunrpc/authdes_prot.c: Likewise.
80238         * sunrpc/authuxprot.c: Likewise.
80239         * sunrpc/bindrsvprt.c: Likewise.
80240         * sunrpc/clnt_gen.c: Likewise.
80241         * sunrpc/clnt_perr.c: Likewise.
80242         * sunrpc/clnt_raw.c: Likewise.
80243         * sunrpc/clnt_simp.c: Likewise.
80244         * sunrpc/clnt_tcp.c: Likewise.
80245         * sunrpc/clnt_udp.c: Likewise.
80246         * sunrpc/clnt_unix.c: Likewise.
80247         * sunrpc/des_crypt.c: Likewise.
80248         * sunrpc/des_soft.c: Likewise.
80249         * sunrpc/get_myaddr.c: Likewise.
80250         * sunrpc/getrpcport.c: Likewise.
80251         * sunrpc/key_call.c: Likewise.
80252         * sunrpc/key_prot.c: Likewise.
80253         * sunrpc/openchild.c: Likewise.
80254         * sunrpc/pm_getmaps.c: Likewise.
80255         * sunrpc/pm_getport.c: Likewise.
80256         * sunrpc/pmap_clnt.c: Likewise.
80257         * sunrpc/pmap_prot.c: Likewise.
80258         * sunrpc/pmap_prot2.c: Likewise.
80259         * sunrpc/pmap_rmt.c: Likewise.
80260         * sunrpc/rpc/auth.h: Likewise.
80261         * sunrpc/rpc/auth_unix.h: Likewise.
80262         * sunrpc/rpc/clnt.h: Likewise.
80263         * sunrpc/rpc/des_crypt.h: Likewise.
80264         * sunrpc/rpc/key_prot.h: Likewise.
80265         * sunrpc/rpc/netdb.h: Likewise.
80266         * sunrpc/rpc/pmap_clnt.h: Likewise.
80267         * sunrpc/rpc/pmap_prot.h: Likewise.
80268         * sunrpc/rpc/pmap_rmt.h: Likewise.
80269         * sunrpc/rpc/rpc.h: Likewise.
80270         * sunrpc/rpc/rpc_des.h: Likewise.
80271         * sunrpc/rpc/rpc_msg.h: Likewise.
80272         * sunrpc/rpc/svc.h: Likewise.
80273         * sunrpc/rpc/svc_auth.h: Likewise.
80274         * sunrpc/rpc/types.h: Likewise.
80275         * sunrpc/rpc/xdr.h: Likewise.
80276         * sunrpc/rpc_clntout.c: Likewise.
80277         * sunrpc/rpc_cmsg.c: Likewise.
80278         * sunrpc/rpc_common.c: Likewise.
80279         * sunrpc/rpc_cout.c: Likewise.
80280         * sunrpc/rpc_dtable.c: Likewise.
80281         * sunrpc/rpc_hout.c: Likewise.
80282         * sunrpc/rpc_main.c: Likewise.
80283         * sunrpc/rpc_parse.c: Likewise.
80284         * sunrpc/rpc_parse.h: Likewise.
80285         * sunrpc/rpc_prot.c: Likewise.
80286         * sunrpc/rpc_sample.c: Likewise.
80287         * sunrpc/rpc_scan.c: Likewise.
80288         * sunrpc/rpc_scan.h: Likewise.
80289         * sunrpc/rpc_svcout.c: Likewise.
80290         * sunrpc/rpc_tblout.c: Likewise.
80291         * sunrpc/rpc_util.c: Likewise.
80292         * sunrpc/rpc_util.h: Likewise.
80293         * sunrpc/rpcinfo.c: Likewise.
80294         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80295         * sunrpc/rpcsvc/key_prot.x: Likewise.
80296         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80297         * sunrpc/rpcsvc/mount.x: Likewise.
80298         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80299         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80300         * sunrpc/rpcsvc/rex.x: Likewise.
80301         * sunrpc/rpcsvc/rstat.x: Likewise.
80302         * sunrpc/rpcsvc/rusers.x: Likewise.
80303         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80304         * sunrpc/rpcsvc/spray.x: Likewise.
80305         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80306         * sunrpc/rtime.c: Likewise.
80307         * sunrpc/svc.c: Likewise.
80308         * sunrpc/svc_auth.c: Likewise.
80309         * sunrpc/svc_authux.c: Likewise.
80310         * sunrpc/svc_raw.c: Likewise.
80311         * sunrpc/svc_run.c: Likewise.
80312         * sunrpc/svc_simple.c: Likewise.
80313         * sunrpc/svc_tcp.c: Likewise.
80314         * sunrpc/svc_udp.c: Likewise.
80315         * sunrpc/svc_unix.c: Likewise.
80316         * sunrpc/svcauth_des.c: Likewise.
80317         * sunrpc/xcrypt.c: Likewise.
80318         * sunrpc/xdr.c: Likewise.
80319         * sunrpc/xdr_array.c: Likewise.
80320         * sunrpc/xdr_float.c: Likewise.
80321         * sunrpc/xdr_mem.c: Likewise.
80322         * sunrpc/xdr_rec.c: Likewise.
80323         * sunrpc/xdr_ref.c: Likewise.
80324         * sunrpc/xdr_sizeof.c: Likewise.
80325         * sunrpc/xdr_stdio.c: Likewise.
80327         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80328         handling.
80330 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80332         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80334 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80336         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80337         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80338         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80339         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80340         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80341         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80342         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80343         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80344         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80345         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80346         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80347         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80348         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80349         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80351 2010-07-26  Anton Blanchard  <anton@samba.org>
80353         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80354         * malloc/arena.c (heap_trim): Likewise.
80356 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80358         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80359         here.  Not...
80360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80361         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80363 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80365         * sysdeps/i386/elf/Makefile: New file.
80367 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80369         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80370         from fanotify_init.
80371         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80374 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80376         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80377         of strncasecmp_l.
80378         * sysdeps/multiarch/strcmp.S: Likewise.
80380 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80382         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80383         strncase_l-nonascii.
80384         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80385         Add strncase_l-ssse3.
80386         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80387         * sysdeps/x86_64/strcmp.S: Likewise.
80388         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80389         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80390         * sysdeps/x86_64/strncase.S: New file.
80391         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80392         * sysdeps/x86_64/strncase_l.S: New file.
80393         * string/Makefile (strop-tests): Add strncasecmp.
80394         * string/test-strncasecmp.c: New file.
80396         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80397         warning.
80399         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80400         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80402 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80404         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80406 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80408         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80409         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80410         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80412 2010-05-01  Alan Modra  <amodra@gmail.com>
80414         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80415         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80416         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80417         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80418         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80419         tidying.  Don't tail-call __sigjmp_save for static lib.
80420         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80421         save location.
80422         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80423         (CALL_MCOUNT): Add eh info, and nop after bl.
80424         (TAIL_CALL_SYSCALL_ERROR): New macro.
80425         (PSEUDO_RET): Use it.
80426         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80427         Correct save location of integer regs and cr.
80428         (_dl_profile_resolve): Correct cr save location.  Delete nops
80429         after bl when SHARED.  Reduce cfi size a little by better
80430         placement of cfi directives.
80431         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80432         make a stack frame.  Instead use parm save area as a temp.
80433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80434         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80436         Don't make a stack frame for parent, use parm save area.
80437         Increase child stack frame to 112 bytes.  Don't save unused reg,
80438         and adjust reg usage.  Set up cfi on error recovery and
80439         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80441         (__makecontext): Add dummy nop after jump to exit.
80442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80443         Use correct parm save area and cr save, reduce stack frame.
80444         Correct cfi for possible PSEUDO_RET frame setup.
80445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80446         Branch to local label emitted by PSEUDO_RET rather than
80447         __syscall_error.
80449 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80451         [BZ #11904]
80452         * locale/programs/locale.c (print_assignment): New function.
80453         (show_locale_vars): Use it.
80455 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80457         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80458         field.
80459         (struct statfs64): Likewise.
80460         (_STATFS_F_FLAGS): Define.
80461         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80462         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80463         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80464         (ST_VALID): Define locally.
80465         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80466         __statvfs_getflags, use the provided value.
80467         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80468         __ASSUME_STATFS_F_FLAGS.
80470         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80472         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80473         Add sys/fanotify.h.
80474         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80475         fanotify_mask for GLIBC_2.13.
80476         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80477         fanotify_init and fanotify_mark.
80478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80479         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80481         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80482         Add prlimit.
80483         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80484         prlimit64 for GLIBC_2.13.
80485         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80486         prlimit64.
80487         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80488         syscall.
80489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80490         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80491         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80492         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80493         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80494         add prlimit alias.
80495         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80497         [BZ #11903]
80498         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80499         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80501         * nss/Makefile: Add rules to build and run tst-nss-test1.
80502         * shlib-versions: Add entry for libnss_test1.
80503         * nss/nss_test1.c: New file.
80504         * nss/tst-nss-test1.c: New file.
80506         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80507         (__nss_configure_lookup): Set appropriate entry in
80508         __nss_configure_lookup to true.
80509         * nss/nsswitch.h: Define enum with indeces of databases in
80510         databases and __nss_database_custom arrays.  Declare
80511         __nss_database_custom.
80512         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80513         to avoid using nscd when custom rules are installed.
80514         * nss/getXXbyYY_r.c: Likewise.
80515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80517         * nss/nss_files/files-parse.c: Whitespace fixes.
80519 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80521         [BZ #11883]
80522         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80523         * posix/fnmatch_loop.c: Likewise.
80525 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80527         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80528         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80529         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80530         * Versions.def [GLIBC_2.13]: Add.
80532 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80534         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80535         Also fail if tpwd after pwuid call is NULL.
80537 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80539         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80540         when converting to ms.
80542 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80544         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80545         EOPNOTSUPP errors with ENOTTY.
80546         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80547         EOPNOTSUPP errors with ENOTTY.
80549 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80551         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80552         Add strcasecmp_l-ssse3.
80553         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80554         strcasecmp.
80555         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80556         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80557         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80559 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80561         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80563         * string/Makefile (strop-tests): Add strcasecmp.
80564         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80565         strcasecmp_l-nonascii.
80566         (gen-as-const-headers): Add locale-defines.sym.
80567         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80568         * sysdeps/x86_64/strcasecmp.S: New file.
80569         * sysdeps/x86_64/strcasecmp_l.S: New file.
80570         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80571         * sysdeps/x86_64/locale-defines.sym: New file.
80572         * string/test-strcasecmp.c: New file.
80574         * string/test-strcasestr.c: Test both ends of the range of characters.
80575         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80577 2010-07-29  Roland McGrath  <roland@redhat.com>
80579         [BZ #11856]
80580         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80582 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80584         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80585         for ld.so.
80587 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80589         * manual/memory.texi (Malloc Tunable Parameters): Document
80590         M_PERTURB.
80592 2010-07-26  Roland McGrath  <roland@redhat.com>
80594         [BZ #11840]
80595         * configure.in (-fgnu89-inline check): Set and substitute
80596         gnu89_inline, not libc_cv_gnu89_inline.
80597         * configure: Regenerated.
80598         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80600 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80602         * string/test-strnlen.c: New file.
80603         * string/Makefile (strop-tests): Add strnlen.
80604         * string/tester.c (test_strnlen): Add a few more test cases.
80605         * string/tst-strlen.c: Better error reporting.
80607         * sysdeps/x86_64/strnlen.S: New file.
80609 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80611         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80612         lower-latency instructions.
80614 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80616         * string/test-strcasestr.c: New file.
80617         * string/test-strstr.c: New file.
80618         * string/Makefile (strop-tests): Add strstr and strcasestr.
80619         * string/str-two-way.h: Don't undefine MAX.
80620         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80622 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80624         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80625         strcasestr-nonascii.
80626         (CFLAGS-strcasestr-nonascii.c): Define.
80627         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80628         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80629         Remove unused attribute.
80631 2010-07-20  Roland McGrath  <roland@redhat.com>
80633         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80634         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80635         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80636         like LD_HWCAP_MASK can disable hwcaps.
80638 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80640         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80642 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80644         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80645         call in strcasestr.
80646         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80647         __strcasestr_sse42_nonascii.
80648         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80649         strcasestr-nonascii.c.
80650         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80652 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80654         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80655         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80656         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80657         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80659 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80661         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80662         fcntl.
80664 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80666         [BZ #11577]
80667         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80668         dl_signal_cerror.
80670 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80672         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80673         _PC_PIPE_BUF using F_GETPIPE_SZ.
80675 2010-07-05  Roland McGrath  <roland@redhat.com>
80677         * manual/arith.texi (Rounding Functions): Fix rint description
80678         implicit in round description.
80680 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80682         * elf/Makefile: Fix linking for a few tests to make recent linker
80683         happy.
80685 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80687         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80688         $(common-objpfx)libc_nonshared.a.
80690 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80692         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80693         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80694         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80695         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80696         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80697         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80698         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80699         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80714         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80715         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80716         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80717         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80718         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80719         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80720         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80721         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80722         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80723         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80724         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80725         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80741 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80743         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80744         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80745         * string/memmove.c (memmove): Renamed to ...
80746         (MEMMOVE): ...this.  Default to memmove.
80747         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80748         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80749         (END_CHK): Define.
80750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80751         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80752         mempcpy-ssse3-back memmove-ssse3-back.
80753         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80754         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80755         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80756         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80757         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80758         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80759         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80760         * sysdeps/x86_64/multiarch/memmove.c: New file.
80761         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80762         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80763         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80764         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80765         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80766         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80767         Define.
80768         (index_Fast_Copy_Backward): Define.
80769         (HAS_ARCH_FEATURE): Define.
80770         (HAS_FAST_REP_STRING): Define.
80771         (HAS_FAST_COPY_BACKWARD): Define.
80773 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80775         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80776         Restore proper fallback handling.
80778 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80780         [BZ #11701]
80781         * posix/group_member.c (__group_member): Correct checking loop.
80783         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80784         OOM in getpwuid_r correctly.  Return error number when the caller
80785         should return, otherwise -1.
80786         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80787         call returning > 0 value.
80788         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80790 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80792         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80793         libc_nonshared.a from targets in modules-names.
80795 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80797         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80798         requires it.
80800 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80802         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80803         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80804         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80805         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80807 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80809         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80811 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80813         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80814         and F_GETPIPE_SZ.
80815         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80816         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80817         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80818         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80819         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80820         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80822 2010-06-14  Roland McGrath  <roland@redhat.com>
80824         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80826 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80828         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80829         __REDIRECT followed by __THROW.
80830         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80831         * posix/getopt.h (getopt): Likewise.
80833 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80835         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80836         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80837         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80838         in AT_FLAGS.
80839         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80840         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80842 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80844         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80846 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80848         [BZ #11640]
80849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80850         Properly check family and model.
80852 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80854         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80856 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80858         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80860 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80862         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80863         symbol reference.
80865 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80867         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80868         symbol reference.
80870 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80872         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80873         and internal_recvmmsg.
80874         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80875         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80876         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80877         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80879         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80880         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80881         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80883 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80885         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80887 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80889         POWER7 optimizations.
80890         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80891         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80893 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80895         * version.h: Update for 2.13 development version.
80897 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80899         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80900         exceptions.  Return 0.
80902 2010-05-07  Roland McGrath  <roland@redhat.com>
80904         * elf/ldconfig.c (main): Add a const.
80906 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80908         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80909         (args_options): Add no-idn option.
80910         (ahosts_keys_int): Add idn_flags to ai_flags.
80911         (parse_option): Handle 'i' option to clear idn_flags.
80913         * malloc/malloc.c (_int_free): Possible race in the most recently
80914         added check.  Only act on the data if no current modification
80915         happened.
80917 See ChangeLog.17 for earlier changes.